Package org.jboss.as.jpa.processor
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 Summary
Constructors Constructor Description PersistenceUnitParseProcessor(boolean appclient)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringcreateBeanName(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, String persistenceUnitName)voiddeploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext)
-
-
-
Method Detail
-
deploy
public void deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException- Specified by:
deployin interfaceorg.jboss.as.server.deployment.DeploymentUnitProcessor- Throws:
org.jboss.as.server.deployment.DeploymentUnitProcessingException
-
-