Class JDOCodeGenerator

  • All Implemented Interfaces:
    CMPGenerator, org.glassfish.persistence.common.DatabaseConstants

    public class JDOCodeGenerator
    extends Object
    implements CMPGenerator, org.glassfish.persistence.common.DatabaseConstants
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String SIGNATURE
      Signature with CVS keyword substitution for identifying the generated code
      • Fields inherited from interface org.glassfish.persistence.common.DatabaseConstants

        CREATE, CREATE_DDL_JDBC_FILE_SUFFIX, CREATE_SQL_FILE_SUFFIX, DDL, DROP, DROP_DDL_JDBC_FILE_SUFFIX, DROP_SQL_FILE_SUFFIX, JAVA_TO_DB_FLAG, JDBC_FILE_EXTENSION, JTA_DATASOURCE_JNDI_NAME_OVERRIDE, NAME_SEPARATOR, SQL_FILE_EXTENSION
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      Collection cleanup()
      This method is called once for each ejb module in the application that contains CMP beans.
      void generate​(org.glassfish.ejb.deployment.descriptor.IASEjbCMPEntityDescriptor ejbcmp, File srcout, File classout)
      This method is called once for each CMP bean of the corresponding ejb module.
      void init​(org.glassfish.ejb.deployment.descriptor.EjbBundleDescriptorImpl bundle, ClassLoader loader, String bundlePathName)
      Deprecated. 
      void init​(org.glassfish.ejb.deployment.descriptor.EjbBundleDescriptorImpl bundle, ClassLoader loader, String bundlePathName, boolean ignoreSunDeploymentDescriptors)
      Called by static verifier to bypass mapping validation or internally by other init() methods.
      void init​(org.glassfish.ejb.deployment.descriptor.EjbBundleDescriptorImpl bundle, org.glassfish.api.deployment.DeploymentContext ctx, String bundlePathName, String generatedXmlsPathName)
      This method is called once for each ejb module in the application that contains CMP beans.
      Collection validate​(org.glassfish.ejb.deployment.descriptor.IASEjbCMPEntityDescriptor descr)
      This method may be called once for each CMP bean of the corresponding ejb module to perform the validation.