com.sun.ejb.codegen
Class Generator
java.lang.Object
com.sun.ejb.codegen.Generator
- Direct Known Subclasses:
- GenericHomeGenerator, HomeGenerator, Remote30WrapperGenerator, RemoteGenerator, SerializableBeanGenerator, ServiceInterfaceGenerator, WrapperGenerator
public abstract class Generator
- extends Object
The base class for all code generators.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_logger
protected static final Logger _logger
ejbClassSymbol
protected String ejbClassSymbol
Generator
public Generator()
getGeneratedClass
public abstract String getGeneratedClass()
getPackageName
protected String getPackageName(String className)
- Get the package name from the class name.
- Parameters:
the - class name.
- Returns:
- the package name.
getBaseName
protected String getBaseName(String className)
printType
protected String printType(Class cls)
removeDups
protected Method[] removeDups(Method[] orig)
isEJBIntfMethod
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.
printStaticMethodInit
protected String[] printStaticMethodInit(IndentingWriter p,
Class genClass,
Method[] methods)
throws IOException
- Throws:
IOException
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)
Copyright © 2012 GlassFish Community. All Rights Reserved.