Rony G. Flatscher wrote:
Hi Daniel,
When will that object be registered? Is there anything I could do that
it gets registered and available at bootstrap time?
What follows is a small Java program that shows that "theServiceManager"
is registred with the context, but "theCoreReflection" object is not yet.
You problem is that you are using sole Java UNO, which comes with very
few services right now. The majority of services are implemented in
native UNO (i.e. C++). If you bootstrapping native UNO (your previous
mail is about this), you can access _all_ services. Alternatively, if
you don't like to bootstrap natively (e.g. due to problems setting the
PATH etc.), you can connect remotely to an Office instance (using the
simple Bootstrap mechanism, which will start an instance for you if none
is running).
Oh, I see.
Being an OOo rookie, I have not realized until your e-mail that the
service might have been created already and may be accessible via the
"theServiceManager"!
Just looked at it and these are the services that are available from the
bootstrap "theServiceManager" (using the method
"getAvailableServiceNames()") :
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>
The reflection service is not available yet.
Is it possible (just asked in the other thread) to create the
"/singletons/com.sun.star.reflection.theCoreReflection" on my own and
incorporate it into the context, somehow?
no not really. The core reflection service is implemented in C++ and is
only available when you "native bootstrap" UNO. That means bootstrapping
a special configured (for example office env) UNO environemnt where you
have access to C++ components as well.
The pure Java UNO env implements as Daniel mentioned only a minimal set
of UNO services which are necessary to bootstrap and run UNO.
Juergen
Regards,
---rony
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]