Package com.sun.ejb.codegen
Class GenericHomeGenerator
- java.lang.Object
-
- com.sun.ejb.codegen.Generator
-
- com.sun.ejb.codegen.GenericHomeGenerator
-
- All Implemented Interfaces:
ClassGeneratorFactory
public class GenericHomeGenerator extends Generator implements ClassGeneratorFactory
This class is used to generate a sub-interface of the GenericEJBHome interface that will be loaded within each application.
-
-
Field Summary
-
Fields inherited from class com.sun.ejb.codegen.Generator
_logger, ejbClassSymbol
-
-
Constructor Summary
Constructors Constructor Description GenericHomeGenerator(ClassLoader cl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
className()
void
evaluate()
String
getGeneratedClass()
Get the fully qualified name of the generated class.-
Methods inherited from class com.sun.ejb.codegen.Generator
getBaseName, getPackageName, getSecurityAttribute, getTxAttribute, getUniqueClassName, isEJBIntfMethod, printType, removeDups
-
-
-
-
Constructor Detail
-
GenericHomeGenerator
public GenericHomeGenerator(ClassLoader cl) throws GeneratorException
- Throws:
GeneratorException
-
-
Method Detail
-
getGeneratedClass
public String getGeneratedClass()
Get the fully qualified name of the generated class.- Specified by:
getGeneratedClass
in classGenerator
- Returns:
- the name of the generated class.
-
className
public String className()
- Specified by:
className
in interfaceClassGeneratorFactory
-
evaluate
public void evaluate()
- Specified by:
evaluate
in interfaceClassGeneratorFactory
-
-