com.sun.ejb.codegen
Class RemoteGenerator
java.lang.Object
com.sun.ejb.codegen.Generator
com.sun.ejb.codegen.RemoteGenerator
- All Implemented Interfaces:
- ClassGeneratorFactory
public class RemoteGenerator
- extends Generator
- implements ClassGeneratorFactory
This class is used to generate the RMI-IIOP version of a
remote business interface.
|
Constructor Summary |
RemoteGenerator(ClassLoader cl,
String businessIntf)
Construct the Wrapper generator with the specified deployment
descriptor and class loader. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteGenerator
public RemoteGenerator(ClassLoader cl,
String businessIntf)
throws GeneratorException
- Construct the Wrapper generator with the specified deployment
descriptor and class loader.
- Throws:
GeneratorException.
GeneratorException
getGeneratedClass
public String getGeneratedClass()
- Get the fully qualified name of the generated class.
Note: the remote/local implementation class is in the same package
as the bean class, NOT the remote/local interface.
- Specified by:
getGeneratedClass in class Generator
- Returns:
- the name of the generated class.
className
public String className()
- Specified by:
className in interface ClassGeneratorFactory
evaluate
public void evaluate()
- Specified by:
evaluate in interface ClassGeneratorFactory
Copyright © 2012 GlassFish Community. All Rights Reserved.