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
This class is used to generate a sub-interface of the GenericEJBHome interface that will be loaded within each application.
-
-
Field Summary
Fields Modifier and Type Field Description static StringGENERIC_HOME_CLASSNAMEThis class name is relative to the classloader used, but has always the same name.
-
Constructor Summary
Constructors Constructor Description GenericHomeGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidevaluate()CallsWrappermethods to configure the class definition.Class<?>getAnchorClass()StringgetGeneratedClassName()Get the fully qualified name of the generated class.-
Methods inherited from class com.sun.ejb.codegen.Generator
getBaseName, getPackageName, removeRedundantMethods
-
-
-
-
Field Detail
-
GENERIC_HOME_CLASSNAME
public static final String GENERIC_HOME_CLASSNAME
This class name is relative to the classloader used, but has always the same name.
-
-
Method Detail
-
getGeneratedClassName
public final String getGeneratedClassName()
Get the fully qualified name of the generated class.- Returns:
- the name of the generated class.
-
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.
-
-