|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CMPGenerator
This interface must be implemented by all CMP code generators.
| Method Summary | |
|---|---|
java.util.Collection<java.io.File> |
cleanup()
This method is called once for each ejb module in the application that contains CMP beans. |
void |
generate(IASEjbCMPEntityDescriptor descr,
java.io.File srcout,
java.io.File classout)
This method is called once for each CMP bean of the corresponding ejb module. |
void |
init(EjbBundleDescriptor ejbBundleDescriptor,
java.lang.ClassLoader cl,
java.lang.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(EjbBundleDescriptor ejbBundleDescriptor,
DeploymentContext ctx,
java.lang.String bundlePathName,
java.lang.String generatedXmlsPathName)
This method is called once for each ejb module in the application that contains CMP beans. |
java.util.Collection |
validate(IASEjbCMPEntityDescriptor descr)
This method may be called once for each CMP bean of the corresponding ejb module to perform the validation. |
| Method Detail |
|---|
void init(EjbBundleDescriptor ejbBundleDescriptor,
java.lang.ClassLoader cl,
java.lang.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(EjbBundleDescriptor ejbBundleDescriptor,
DeploymentContext ctx,
java.lang.String bundlePathName,
java.lang.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,
java.io.File srcout,
java.io.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.
java.util.Collection<java.io.File> cleanup()
throws GeneratorException
GeneratorException - if there is any problem.java.util.Collection validate(IASEjbCMPEntityDescriptor descr)
descr - the IASEjbCMPEntityDescriptor associated with this CMP bean.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||