public interface CMPGenerator
| Modifier and Type | Method and Description |
|---|---|
Collection<File> |
cleanup()
This method is called once for each ejb module in the application
that contains CMP beans.
|
void |
generate(IASEjbCMPEntityDescriptor descr,
File srcout,
File classout)
This method is called once for each CMP bean of the corresponding ejb module.
|
void |
init(EjbBundleDescriptorImpl ejbBundleDescriptor,
ClassLoader cl,
String bundlePathName)
Deprecated.
This method is not used by the deployment back end, and should be removed
as soon as the TestFramework is fixed.
|
void |
init(EjbBundleDescriptorImpl ejbBundleDescriptor,
DeploymentContext ctx,
String bundlePathName,
String generatedXmlsPathName)
This method is called once for each ejb module in the application
that contains CMP beans.
|
Collection |
validate(IASEjbCMPEntityDescriptor descr)
This method may be called once for each CMP bean of the corresponding
ejb module to perform the validation.
|
void init(EjbBundleDescriptorImpl ejbBundleDescriptor, ClassLoader cl, String bundlePathName) throws GeneratorException
ejbBundleDescriptor - the EjbBundleDescriptor associated with this
ejb module.cl - the ClassLoader that loaded user defined classes.bundlePathName - full path to the directory where this bundle's
files are located.GeneratorException - if there is a problem initializing bean
processing.void init(EjbBundleDescriptorImpl ejbBundleDescriptor, DeploymentContext ctx, String bundlePathName, String generatedXmlsPathName) throws GeneratorException
ejbBundleDescriptor - the EjbBundleDescriptor associated with this
ejb module.ctx - the DeploymentContext associated with the deployment request.bundlePathName - full path to the directory where this bundle's
files are located.generatedXmlsPathName - full path to the directory where the
generated files are located.GeneratorException - if there is a problem initializing bean
processing.void generate(IASEjbCMPEntityDescriptor descr, File srcout, File classout) throws GeneratorException
descr - the IASEjbCMPEntityDescriptor associated with this CMP bean.srcout - the location of the source files to be generated.classout - the location of the class files to be generated.GeneratorException - if there is a problem processing the bean.Collection<File> cleanup() throws GeneratorException
GeneratorException - if there is any problem.Collection validate(IASEjbCMPEntityDescriptor descr)
descr - the IASEjbCMPEntityDescriptor associated with this CMP bean.Copyright © 2019. All rights reserved.