|
UDK 3.1.0 Java API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Panel | +--java.applet.Applet | +--com.sun.star.tools.uno.UnoApp
A command line tool. 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
.
In a remote scenario it is used to intantiate services and makes them accessible
via a network.
Inner classes inherited from class java.applet.Applet |
Applet.AccessibleApplet |
Inner classes inherited from class java.awt.Panel |
Panel.AccessibleAWTPanel |
Inner classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Inner classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent |
Field Summary | |
static boolean |
DEBUG
|
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
UnoApp()
|
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()
|
Methods inherited from class java.applet.Applet |
getAccessibleContext, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus |
Methods inherited from class java.awt.Panel |
addNotify |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFont, setLayout, update, validate, validateTree |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final boolean DEBUG
Constructor Detail |
public UnoApp()
Method Detail |
public static XMultiServiceFactory createSimpleServiceManager() throws Exception
com.sun.star.lang.ServiceManager
public static void export(XMultiServiceFactory xMultiServiceFactory, String dcp, Object object, boolean singleAccept) throws Exception
xMultiServiceFactory
.
xMultiServiceFactory
- the service manager to usedcp
- a uno url, which describes how to exportobject
- the object to exportXBridge
,
XBridgeFactory
,
XInstanceProvider
public static void main(String[] args) throws Exception
public void init()
init
in class Applet
public void start()
start
in class Applet
public void stop()
stop
in class Applet
public void destroy()
destroy
in class Applet
|
UDK 3.1.0 Java API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |