Package com.sun.ejb.codegen
Class Generator
- java.lang.Object
-
- com.sun.ejb.codegen.Generator
-
- Direct Known Subclasses:
GenericHomeGenerator,Remote30WrapperGenerator,RemoteGenerator,ServiceInterfaceGenerator
public abstract class Generator extends Object
The base class for all code generators.
-
-
Field Summary
Fields Modifier and Type Field Description protected static Logger_loggerprotected StringejbClassSymbol
-
Constructor Summary
Constructors Constructor Description Generator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected StringgetBaseName(String className)abstract StringgetGeneratedClass()protected StringgetPackageName(String className)Get the package name from the class name.protected StringgetSecurityAttribute(EjbDescriptor dd, Method m)protected StringgetTxAttribute(EjbDescriptor dd, Method method)protected StringgetUniqueClassName(org.glassfish.api.deployment.DeploymentContext context, String origName, String origSuffix, Vector existingClassNames)protected booleanisEJBIntfMethod(Class ejbIntfClz, Method methodToCheck)Return true if method is on a jakarta.ejb.EJBObject/EJBLocalObject/ jakarta.ejb.EJBHome,jakarta.ejb.EJBLocalHome interface.protected StringprintType(Class cls)protected Method[]removeDups(Method[] orig)
-
-
-
Method Detail
-
getGeneratedClass
public abstract String getGeneratedClass()
-
getPackageName
protected String getPackageName(String className)
Get the package name from the class name.- Parameters:
className- class name.- Returns:
- the package name.
-
isEJBIntfMethod
protected boolean isEJBIntfMethod(Class ejbIntfClz, Method methodToCheck)
Return true if method is on a jakarta.ejb.EJBObject/EJBLocalObject/ jakarta.ejb.EJBHome,jakarta.ejb.EJBLocalHome interface.
-
getUniqueClassName
protected String getUniqueClassName(org.glassfish.api.deployment.DeploymentContext context, String origName, String origSuffix, Vector existingClassNames)
-
getTxAttribute
protected String getTxAttribute(EjbDescriptor dd, Method method)
-
getSecurityAttribute
protected String getSecurityAttribute(EjbDescriptor dd, Method m)
-
-