| |
|
| java.lang.Object org.apache.harmony.rmi.compiler.ClassStub
ClassStub | final class ClassStub implements RmicConstants(Code) | | Generates RMI stub code for a particular class.
author: Vasily Zakharov version: $Revision: 1.1.2.3 $ |
Field Summary | |
Indenter | indenter Indenter to write source files. | final boolean | v11 Should the stub support v1.1. | final boolean | v12 Should the stub support v1.2. | final boolean | vCompat Should the stub support both v1.1 and v1.2. |
Constructor Summary | |
| ClassStub(int version, String className) Creates ClassStub instance for specified version and class. | | ClassStub(int version, Class cls) Creates ClassStub instance for specified version and class. |
v11 | final boolean v11(Code) | | Should the stub support v1.1.
|
v12 | final boolean v12(Code) | | Should the stub support v1.2.
|
vCompat | final boolean vCompat(Code) | | Should the stub support both v1.1 and v1.2.
|
ClassStub | ClassStub(int version, String className) throws RMICompilerException(Code) | | Creates ClassStub instance for specified version and class.
Parameters: version - Version of the stub to create. Parameters: className - Name of the class to load. throws: RMICompilerException - If version number is incorrect or some other error occurs. |
ClassStub | ClassStub(int version, Class cls) throws RMICompilerException(Code) | | Creates ClassStub instance for specified version and class.
Parameters: version - Version of the stub to create. Parameters: cls - Class to load. throws: RMICompilerException - If version number is incorrect or some other error occurs. |
getSkeletonClassName | String getSkeletonClassName()(Code) | | Returns skeleton class name for loaded class.
Skeleton class name. |
getSkeletonSource | String getSkeletonSource()(Code) | | Returns skeleton source code for the loaded class (v1.1).
String containing the skeleton source code for loaded class. |
getStubClassName | String getStubClassName()(Code) | | Returns stub class name for loaded class.
Stub class name. |
getStubSource | String getStubSource()(Code) | | Returns stub source code for the loaded class (v1.1/v1.2).
String containing the stub source code for loaded class. |
|
|
|