public abstract class Generator extends Object
Modifier and Type | Field and Description |
---|---|
protected static Logger |
_logger |
protected String |
ejbClassSymbol |
Constructor and Description |
---|
Generator() |
Modifier and Type | Method and 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 javax.ejb.EJBObject/EJBLocalObject/
javax.ejb.EJBHome,javax.ejb.EJBLocalHome interface.
|
protected String |
printType(Class cls) |
protected Method[] |
removeDups(Method[] orig) |
protected static final Logger _logger
protected String ejbClassSymbol
public abstract String getGeneratedClass()
protected String getPackageName(String className)
className
- class name.protected boolean isEJBIntfMethod(Class ejbIntfClz, Method methodToCheck)
protected String getUniqueClassName(DeploymentContext context, String origName, String origSuffix, Vector existingClassNames)
protected String getTxAttribute(EjbDescriptor dd, Method method)
protected String getSecurityAttribute(EjbDescriptor dd, Method m)
Copyright © 2020. All rights reserved.