Re: [dev] How to create a uno singleton component ?

2009-10-18 Thread Oliver Brinzing
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,

Re: [dev] How to create a uno singleton component ?

2009-10-17 Thread Oliver Brinzing
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

Re: [dev] How to create a uno singleton component ?

2009-10-12 Thread Stephan Bergmann
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

Re: [dev] How to create a uno singleton component ?

2009-10-12 Thread Giuseppe Castagno
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

Re: [dev] How to create a uno singleton component ?

2009-10-12 Thread Giuseppe Castagno
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

Re: [dev] How to create a uno singleton component ?

2009-10-12 Thread Oliver Brinzing
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