Class PersistenceUnitParseProcessor

java.lang.Object
org.jboss.as.jpa.processor.PersistenceUnitParseProcessor
All Implemented Interfaces:
org.jboss.as.server.deployment.DeploymentUnitProcessor

public class PersistenceUnitParseProcessor extends Object implements org.jboss.as.server.deployment.DeploymentUnitProcessor
Handle parsing of Persistence unit persistence.xml files

The jar file/directory whose META-INF directory contains the persistence.xml file is termed the root of the persistence unit. root of a persistence unit must be one of the following: EJB-JAR file the WEB-INF/classes directory of a WAR file jar file in the WEB-INF/lib directory of a WAR file jar file in the EAR library directory application client jar file

Author:
Scott Marlow
  • Constructor Details

    • PersistenceUnitParseProcessor

      public PersistenceUnitParseProcessor(boolean inAppClientContainer)
  • Method Details

    • deploy

      public void deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
      Specified by:
      deploy in interface org.jboss.as.server.deployment.DeploymentUnitProcessor
      Throws:
      org.jboss.as.server.deployment.DeploymentUnitProcessingException
    • createBeanName

      public static String createBeanName(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, String persistenceUnitName)