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?

Regards,

---rony

Reply via email to