|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jeremie.tools.jrmic.JRMICompiler
Provides an implementation of a stub compiler for generating
standard Jeremie 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) |
The input class must directly implement at least one remote interface,
that is, in its implements
clause, it must declare
that it implements at least one remote interface.
A remote interface is an interface that satisfies the following conditions:
Remote
,
RemoteException
,
StdStub
Method Summary | |
static boolean |
isOsMacOsX()
|
static void |
main(String[] args)
Runs the stub compiler. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void main(String[] args)
args
- - options and input remote class names to the stub compiler.public static boolean isOsMacOsX()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |