Class Overview
JRMP rmic back end; generates source code for JRMP stub and
skeleton classes.
WARNING: The contents of this source file are not part of any
supported API. Code that depends on them does so at its own risk:
they are subject to change or removal without notice.
Summary
Public Methods |
Set<String>
|
bootstrapClassNames()
Returns the names of the classes that must be available through
the doclet API in order for this generator to function.
|
Class<? extends BatchEnvironment>
|
envClass()
The JRMP generator does not require an environment class more
specific than BatchEnvironment.
|
void
|
generate(BatchEnvironment env, ClassDoc inputClass, File destDir)
Generates the source file(s) for the JRMP stub class and
(optionally) skeleton class for the specified remote
implementation class.
|
boolean
|
parseArgs(String[] args, Main main)
The JRMP generator recognizes command line options for
selecting the JRMP stub protocol version to generate classes
for.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
final
void
|
wait(long timeout, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long timeout)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
|
From interface
sun.rmi.rmic.newrmic.Generator
abstract
Set<String>
|
bootstrapClassNames()
Returns the names of the classes that must be available through
the doclet API in order for this generator to function.
|
abstract
Class<? extends BatchEnvironment>
|
envClass()
Returns the most specific environment class required by this
generator.
|
abstract
void
|
generate(BatchEnvironment env, ClassDoc inputClass, File destDir)
Generates the protocol-specific rmic output files for the
specified remote class.
|
abstract
boolean
|
parseArgs(String[] args, Main main)
Processes the command line options specific to this generator.
|
|
Public Constructors
public
JrmpGenerator
()
Creates a new JrmpGenerator.
Public Methods
public
Set<String>
bootstrapClassNames
()
Returns the names of the classes that must be available through
the doclet API in order for this generator to function.
The JRMP generator does not require an environment class more
specific than BatchEnvironment.
public
void
generate
(BatchEnvironment env, ClassDoc inputClass, File destDir)
Generates the source file(s) for the JRMP stub class and
(optionally) skeleton class for the specified remote
implementation class.
public
boolean
parseArgs
(String[] args, Main main)
The JRMP generator recognizes command line options for
selecting the JRMP stub protocol version to generate classes
for. Only one such option is allowed.