Arnulf Wiedemann wrote:
Hi Stephan,
I used com.sun.star.lang.XMultiComponentFactory to get the com.sun.star.reflection.TypeDescriptionManager service, which in turn I get via getServiceManager() from the object delivered by UnoResolver.resolve() call.
I don't know, if that is the correct/best way.

Try the singleton (see below) instead. (You can obtain the singleton from the component context via XComponentContext.getValueByName.)

-Stephan

Bye,
Arnulf

[...]
You did not tell how you obtained a UNO object that implements
XTypeDescriptionEnumerationAccess.  Did you use the
com.sun.star.reflection.TypeDescriptionManager service obtainable as a
singleton
("/singletons/com.sun.star.reflection.theTypeDescriptionManager") at the
component context?  See the UNOIDL documentation of
com.sun.star.reflection.TypeDescriptionManager.

-Stephan
[...]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to