Kim Kulak wrote:
I've translated the one call to
com.sun.star.comp.helper.Bootstrap.bootstrap() in FirstUnoContact.java
to three calls in Python:

###         com.sun.star.uno.XComponentContext xContext =
###             com.sun.star.comp.helper.Bootstrap.bootstrap();
            localContext = uno.getComponentContext()
            resolver =
localContext.ServiceManager.createInstanceWithContext("com.sun.star.bridge.UnoUrlResolver",localContext)
            xContext =
resolver.resolve("uno:socket,host=localhost,port=2002;urp;StarOffice.ComponentContext")

So, is there an equivalent python function to
com.sun.star.comp.helper.Bootstrap.bootstrap()? I've searched the
documentation and the list archives and haven't been able to find an
answer to this question.

As far as I know, the "simple bootstrap mechanism" is not (yet?) available in Python. If you want to, you may ask again at [email protected], however---it appears that Python-related question are answered more frequently over there...

-Stephan

Kim

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

Reply via email to