Hello,
The IDL documentation states that you can define a 'singleton service';
I have a definition like this:
==
module com { module nxps { module nxadv { module unotest { module
services {
/** service */
service JsTestOne {
interface com::nxps::nxadv::unotest::interfaces::XJsTestOne;
interface com::sun::star::beans::XPropertySet;
[property] string sDocumentId;
};
/** singleton, please */
singleton SingletonJsTestOne {
service JsTestOne;
};
}; }; }; }; };
==
I have previously implemented, installed and tested a 'non-singleton'
implementation from client and from invoked macro. But now I am stumped.
How do I setup the implementation or the IDL, UNO RDB, build sequence,
or whatever is actually needed to get a singleton; the services.rdb file
has a bunch of entries under /SINGLETONS but I don't know what steps
will set my stuff up this way. It does not look as if the implementation
can use a private (java singleton) constructor as that would appear to
violate the way the factory wants to do its stuff.
Sooo... can anyone give me advice on creating and installing a singleton
service - for oo.1.1.3 (or 4, but NOT 2.0.x)
Thanx
John S
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]