com.sun.star.tools.uno
public class UnoApp extends Applet
UnoApp
is the generic UNO application for java.
It removes the need for writing UNO applications in Java. That is, it instantiates a service and runs it if it implements
com.sun.star.lang.XMain
. See Also: The Java Uno Application
Field Summary | |
---|---|
static boolean | DEBUG |
Method Summary | |
---|---|
static XMultiServiceFactory | createSimpleServiceManager()
Bootstraps a servicemanager with some base components registered.
|
void | destroy() |
static void | export(XMultiServiceFactory xMultiServiceFactory, String dcp, Object object, boolean singleAccept)
Exports the given object via the given url while using
the xMultiServiceFactory .
|
void | init() Calls the main method. |
static void | main(String[] args)
The is the main method, which is called from java. |
void | start() |
void | stop() |
Returns: a freshly boostrapped service manager
See Also: com.sun.star.lang.ServiceManager
xMultiServiceFactory
.
Parameters: xMultiServiceFactory the service manager to use dcp a uno url, which describes how to export object the object to export
See Also: com.sun.star.bridge.XBridge com.sun.star.bridge.XBridgeFactory com.sun.star.bridge.XInstanceProvider