Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.objectweb.jeremie.tools.jrmic.JRMICompiler
public class JRMICompiler
extends Object
stub
classes, and optimised Jeremie stub
and skeleton
classes.
Given a remote class, the stub compiler generates a standard stub class when
used with the -std option, and generates optimised stubs and skeletons when
used with the -opt option. In both cases, generated stubs have exactly the
same set of remote interfaces as the input remote class.
Usage: java org.objectweb.jeremie.tools.jrmic.JRMICompiler
[ options ] [ class names ]
Options:
-std | generate standard stub classes (default) |
-opt | generate optimised stub/skeleton classes |
-v, -verbose | print details of what the compiler is doing |
-keep, -keepgenerated | do not delete generated source files |
-noc | do not compile generated source files (implies -keep) |
-c <java compiler> | compile generated source files with this java compiler (defaults to javac) |
-classpath <path> | extra classpath passed to -c compiler |
-d <directory> | root directory for generated class files (defaults to current directory) |
-s <directory> | root directory for generated source files (defaults to -d directory) |
implements
clause, it must declare
that it implements at least one remote interface.
A remote interface is an interface that satisfies the following conditions:
java.rmi.Remote
, java.rmi.RemoteException
, StdStub
Method Summary | |
static void |
|
public static void main(String[] args)
Runs the stub compiler.
- Parameters:
args
- - options and input remote class names to the stub compiler.