Hi there,
while further experimenting with the objects one can get from the class
"Bootstrap" I managed to get an initial context and theServiceManager
which I can ask for the available services.
service=<com.sun.star.connection.Connector>
service=<com.sun.star.bridge.UnoUrlResolver>
service=<com.sun.star.connection.Acceptor>
service=<com.sun.star.loader.Java2>
service=<com.sun.star.loader.Java>
service=<com.sun.star.lang.MultiServiceFactory>
service=<com.sun.star.bridge.BridgeFactory>
service=<com.sun.star.lang.ServiceManager>
It is also possible to query the interface objects
"XMultiServiceFactory" and "XMultiComponentFactory" from
"theServiceManager".
But trying to create an instance of
"com.sun.star.reflection.CoreReflection" (which will get queried for the
interface "XIdlReflection") does not work with either factory. In both
cases (methods "createInstance()" resp. "createInstanceWithContext"()) I
get an exception "com.sun.star.uno.Exception: Query for service factory
for com.sun.star.reflection.CoreReflection failed.".
Does that mean that one could not create an instance at Bootstrap time
(working with OOo 1.1.4 installation)?
Regards,
---rony
P.S.: If helpful, I would supply the Java code for the above.
P.P.S.: It seems that my e-mails are not immediately processed at the
moment, just received a posting of two hours ago. So please forgive me,
if I ask something you have already answered in a previous post.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]