+ java com.sun.star.tools.RegComp applicat.rdb register + file:///e:/demos/InstanceInspector.jar com.sun.star.loader.Java2 ++ In order to examine the results of the registration use the regview.exe + tool. For example: +
+ regview nameOfDatatbase /SERVICES/serviceName + regview nameOfDataBase /IMPLEMENTATIONS/implementationName ++ @see Registering Java Components + */ public class RegComp { static public void main(String args[]) throws Exception { diff --git a/jut/com/sun/star/tools/uno/UnoApp.java b/jut/com/sun/star/tools/uno/UnoApp.java index e83e62c2d9bb..0b50db0d7d11 100644 --- a/jut/com/sun/star/tools/uno/UnoApp.java +++ b/jut/com/sun/star/tools/uno/UnoApp.java @@ -2,9 +2,9 @@ * * $RCSfile: UnoApp.java,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: jbu $ $Date: 2001-10-19 13:27:47 $ + * last change: $Author: jl $ $Date: 2002-01-22 11:05:16 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -157,9 +157,13 @@ class ConnectionListener implements XStreamListener } /** - *
UnoApp
is the generic UNO application for java.
- * It removes the need for writing UNO applications in Java.
- *
+ * 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.
+ * @see The Java Uno Application
+ *
*/
public class UnoApp extends Applet {
static public final boolean DEBUG = false;
@@ -890,7 +894,9 @@ public class UnoApp extends Applet {
}
- /* overwrite the applet methods */
+ /** Calls the main method. The parameter of the applet are passed as arguments
+ to the main method.
+ */
public void init() {
System.err.println("##### " + getClass().getName() + ".init");