Package com.sun.ejb.codegen
Class EjbClassGeneratorFactory
java.lang.Object
com.sun.ejb.codegen.EjbClassGeneratorFactory
- All Implemented Interfaces:
AutoCloseable
- Author:
- David Matejcek
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Class<?> ensureGenericHome(Class<?> anchorClass) Class<?> ensureRemote(String businessInterfaceName) The generated remote business interface and the client wrapper for the business interface are produced dynamically.Class<?> ensureServiceInterface(Class<?> ejbClass) protected ClassLoader
-
Constructor Details
-
EjbClassGeneratorFactory
-
-
Method Details
-
getClassLoader
- Returns:
ClassLoaderowning the generated class.
-
ensureGenericHome
- Throws:
GeneratorException
-
ensureServiceInterface
- Throws:
GeneratorException
-
ensureRemote
The generated remote business interface and the client wrapper for the business interface are produced dynamically. This call must be made before any EJB 3.0 Remote business interface runtime behavior is needed for a particular classloader.- Throws:
GeneratorException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-