All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ninja.rmi.compiler.RMICompiler

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

public class RMICompiler
extends Object
RMICompiler is a class which generates Java sourcecode implementing RMI stubs and skeletons, given a class which implements interfaces extending java.rmi.Remote. I've left the methods public here in case you come up with a cunning way to use RMICompiler within another program. The usual way to use this class is to invoke ninja.rmi.compiler.NinjaRMIC which is a main front-end to it.


Method Index

 o getClassShortname()
Returns the name of the class, without the package prefix, used by the RMICompiler.
 o getPackagename()
Returns the name of the package which the class used by RMICompiler is in.
 o getSkelname()
Returns the name of the generated skeleton class.
 o getStubname()
Returns the name of the generated stub class.
 o writeSkelOutput(PrintWriter)
Writes the Java sourcecode for the generated skeleton to the given PrintWriter.
 o writeStubOutput(PrintWriter)
Writes the Java sourcecode for the generated stub to the given PrintWriter.

Methods

 o getStubname
 public String getStubname()
Returns the name of the generated stub class.

 o getSkelname
 public String getSkelname()
Returns the name of the generated skeleton class.

 o getPackagename
 public String getPackagename()
Returns the name of the package which the class used by RMICompiler is in.

 o getClassShortname
 public String getClassShortname()
Returns the name of the class, without the package prefix, used by the RMICompiler.

 o writeStubOutput
 public void writeStubOutput(PrintWriter os) throws IllegalArgumentException
Writes the Java sourcecode for the generated stub to the given PrintWriter.

 o writeSkelOutput
 public void writeSkelOutput(PrintWriter os) throws IllegalArgumentException
Writes the Java sourcecode for the generated skeleton to the given PrintWriter.


All Packages  Class Hierarchy  This Package  Previous  Next  Index