Package com.sun.ejb.codegen
Class Remote30WrapperGenerator
- java.lang.Object
-
- com.sun.ejb.codegen.Generator
-
- com.sun.ejb.codegen.Remote30WrapperGenerator
-
- All Implemented Interfaces:
ClassGeneratorFactory
public final class Remote30WrapperGenerator extends Generator
-
-
Constructor Summary
Constructors Constructor Description Remote30WrapperGenerator(ClassLoader loader, String businessIntfName, String remoteInterfaceName)Construct the Wrapper generator with the specified deployment descriptor and class loader.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidevaluate()CallsWrappermethods to configure the class definition.Class<?>getAnchorClass()StringgetGeneratedClassName()static StringgetGeneratedRemoteWrapperName(String businessIntf)Adds _Wrapper to the original name.-
Methods inherited from class com.sun.ejb.codegen.Generator
getBaseName, getPackageName, removeRedundantMethods
-
-
-
-
Constructor Detail
-
Remote30WrapperGenerator
public Remote30WrapperGenerator(ClassLoader loader, String businessIntfName, String remoteInterfaceName) throws GeneratorException
Construct the Wrapper generator with the specified deployment descriptor and class loader.- Parameters:
loader-businessIntfName- must already exist and be loadable by the loaderremoteInterfaceName- generated class will implement this- Throws:
GeneratorException
-
-
Method Detail
-
getGeneratedRemoteWrapperName
public static String getGeneratedRemoteWrapperName(String businessIntf)
Adds _Wrapper to the original name.- Parameters:
businessIntf- full class name
-
getGeneratedClassName
public String getGeneratedClassName()
- Returns:
- name of the generated class or interface
-
getAnchorClass
public Class<?> getAnchorClass()
- Returns:
- loadable class of the same package as
ClassGeneratorFactory.getGeneratedClassName()
-
evaluate
public void evaluate()
Description copied from interface:ClassGeneratorFactoryCallsWrappermethods to configure the class definition.
-
-