com.sun.ejb.codegen
Class HomeGenerator
java.lang.Object
com.sun.ejb.codegen.Generator
com.sun.ejb.codegen.HomeGenerator
public class HomeGenerator
- extends Generator
This class generates the EJBHome implementation.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOCAL_SUFFIX
public static final java.lang.String LOCAL_SUFFIX
- See Also:
- Constant Field Values
REMOTE_SUFFIX
public static final java.lang.String REMOTE_SUFFIX
- See Also:
- Constant Field Values
HomeGenerator
public HomeGenerator(DeploymentContext context,
EjbDescriptor dd,
boolean isLocal,
java.util.Vector existingClassNames)
throws GeneratorException
- Throws:
GeneratorException
getGeneratedClass
public java.lang.String getGeneratedClass()
- Get the fully qualified name of the generated class.
Note: the home implementation class is in the same package
as the bean class, NOT the home interface.
- Specified by:
getGeneratedClass in class Generator
- Returns:
- the name of the generated class.
getDefaultRemoteHomeImplClassName
public static java.lang.String getDefaultRemoteHomeImplClassName(EjbDescriptor desc)
generate
public void generate(java.io.OutputStream out)
throws GeneratorException,
java.io.IOException
- Throws:
GeneratorException - on a generation error
java.io.IOException - on an IO error
Copyright © 2012 GlassFish Community. All Rights Reserved.