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
_logger
protected String
ejbClassSymbol
-
Constructor Summary
Constructors Constructor Description Generator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected String
getBaseName(String className)
abstract String
getGeneratedClass()
protected String
getPackageName(String className)
Get the package name from the class name.protected String
getSecurityAttribute(EjbDescriptor dd, Method m)
protected String
getTxAttribute(EjbDescriptor dd, Method method)
protected String
getUniqueClassName(DeploymentContext context, String origName, String origSuffix, Vector existingClassNames)
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.protected String
printType(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(DeploymentContext context, String origName, String origSuffix, Vector existingClassNames)
-
getTxAttribute
protected String getTxAttribute(EjbDescriptor dd, Method method)
-
getSecurityAttribute
protected String getSecurityAttribute(EjbDescriptor dd, Method m)
-
-