com.sun.ejb.codegen
Class WrapperGenerator
java.lang.Object
com.sun.ejb.codegen.Generator
com.sun.ejb.codegen.WrapperGenerator
public class WrapperGenerator
- extends Generator
This class is used to generate the type specific EJBObject implementation
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REMOTE_SUFFIX
public static final String REMOTE_SUFFIX
- See Also:
- Constant Field Values
LOCAL_SUFFIX
public static final String LOCAL_SUFFIX
- See Also:
- Constant Field Values
WrapperGenerator
public WrapperGenerator(DeploymentContext context,
EjbDescriptor dd,
boolean isLocal,
Vector existingClassNames)
throws GeneratorException
- Construct the Wrapper generator with the specified deployment
descriptor and class loader.
- Parameters:
the - Deployment Descriptorthe - class loader.
- Throws:
GeneratorException.
GeneratorException
getGeneratedClass
public String getGeneratedClass()
- Get the fully qualified name of the generated class.
Note: the remote/local implementation class is in the same package
as the bean class, NOT the remote/local interface.
- Specified by:
getGeneratedClass in class Generator
- Returns:
- the name of the generated class.
getDefaultEJBObjectImplClassName
public static String getDefaultEJBObjectImplClassName(EjbDescriptor desc)
generate
public void generate(OutputStream out)
throws GeneratorException,
IOException
- Generate the code to the specified output stream.
- Parameters:
the - output stream
- Throws:
GeneratorException - on a generation error
IOException - on an IO error
Copyright © 2012 GlassFish Community. All Rights Reserved.