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.
-
getClassShortname()
- Returns the name of the class, without the package prefix, used by
the RMICompiler.
-
getPackagename()
- Returns the name of the package which the class used by RMICompiler
is in.
-
getSkelname()
- Returns the name of the generated skeleton class.
-
getStubname()
- Returns the name of the generated stub class.
-
writeSkelOutput(PrintWriter)
- Writes the Java sourcecode for the generated skeleton to the given
PrintWriter.
-
writeStubOutput(PrintWriter)
- Writes the Java sourcecode for the generated stub to the given PrintWriter.
getStubname
public String getStubname()
- Returns the name of the generated stub class.
getSkelname
public String getSkelname()
- Returns the name of the generated skeleton class.
getPackagename
public String getPackagename()
- Returns the name of the package which the class used by RMICompiler
is in.
getClassShortname
public String getClassShortname()
- Returns the name of the class, without the package prefix, used by
the RMICompiler.
writeStubOutput
public void writeStubOutput(PrintWriter os) throws IllegalArgumentException
- Writes the Java sourcecode for the generated stub to the given PrintWriter.
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