Hi,
i think i finally did it :-)
the trick is to implement your own SingletonFactory ...
public class SingletonFactory implements XSingleComponentFactory {
private transient LogServiceImpl instance = null;
public Object createInstanceWithArgumentsAndContext(final Object[] args,
Hi,
today i started to create my first uno singleton ;-)
idlc, regmerge javamaker seem to work, regview shows me for example:
/ LogService
Value: Type = RG_VALUETYPE_BINARY
Size = 110
Data = version: 1
On 10/11/09 15:02, Oliver Brinzing wrote:
can one give me some hints how to create a real java singleton component like
final XLoggerPool xLoggerPool = LoggerPool.get(xComponentContext); ?
till now i found only
Hi Oliver,
Oliver Brinzing wrote:
Hi,
can one give me some hints how to create a real java singleton component like
final XLoggerPool xLoggerPool = LoggerPool.get(xComponentContext); ?
till now i found only
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/Singleton
Hi Oliver,
Oliver Brinzing wrote:
Hi,
can one give me some hints how to create a real java singleton component like
final XLoggerPool xLoggerPool = LoggerPool.get(xComponentContext); ?
till now i found only
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/Singleton
Hi Giuseppe,
in this project:
https://forge.osor.eu/projects/ooo-xadessig-it/
thanks a lot, i will have a look next weekend ;-)
Oliver
--
GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45
signature.asc
Description: OpenPGP digital signature