All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ninja.rmi.compiler.NinjaRMIC

java.lang.Object
   |
   +----ninja.rmi.compiler.NinjaRMIC

public class NinjaRMIC
extends Object
NinjaRMIC is a front-end to RMICompiler, the Ninja RMI stub compiler. It's meant to be run from the commandline as:
    java ninja.rmi.compiler.NinjaRMIC [options] [classname]
 

The NinjaRMIC options are:

 -d dir     Specifies the directory where compiled code should be placed.
 -dstub dir Specifies the directory for compiled stubs.
 -dskel dir Specifies the directory for compiled skeletons.
 -classpath path Use this classpath for code compilation.
 -keepgenerated  Retain the generated .java sourcefiles.
 -g  Enable debugging support in the generated code.
 

The classname passed into NinjaRMIC is the name of a class which must implement one (or more) interfaces which extend java.rmi.Remote. The idea here is that a single stub/skeleton class pair is generated for each RMI service implementation - the stub/skeleton pair in turn implements each of the service's Remote interfaces, and can be cast between them.


Constructor Index

 o NinjaRMIC()

Method Index

 o main(String[])

Constructors

 o NinjaRMIC
 public NinjaRMIC()

Methods

 o main
 public static void main(String args[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index