|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnathan.middleware.StubSkeletonGenerator
public class StubSkeletonGenerator
The program then generates a stub and a skeleton for the
middleware system.
To run the application: SubSkeletonGenerator [Class Name] [Interface Name]
Class name is the name of the class to generate the stubs and skeletons for.
Interface name is the name of the Interface that the stub will implement.
A sample of how run the StubSkeletonGenerator is:
java nathan/middleware/StubSkeletonGenerator nathan.middleware.StudentListImpl
nathan.middleware.StudentList
Method Summary | |
---|---|
void |
createSkeleton(java.lang.String className,
java.lang.String interfaceName)
Creates a new skeleton file for a class to be used to remotely access a remote object on the server. |
void |
createStub(java.lang.String className,
java.lang.String interfaceName)
Creates the stub file that the client wil use to access the remote object on the server. |
static void |
main(java.lang.String[] args)
main entry point to the StubSkeletonGenerator apllication |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void main(java.lang.String[] args)
args
- The command line arguments required are the
class name and interface name of the the stub and skeletons
to be generatedpublic void createSkeleton(java.lang.String className, java.lang.String interfaceName)
className
- The name of the class that is to have a skeleton created
for it.interfaceName
- The name of the interface that the remote object
will implement.public void createStub(java.lang.String className, java.lang.String interfaceName)
className
- The name of the class to generate the stub for.interfaceName
- The name of the interface to use to access the
stub object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |