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 -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcreateBeanName(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, String persistenceUnitName) voiddeploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.as.server.deployment.DeploymentUnitProcessor
undeploy
-
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:
deployin interfaceorg.jboss.as.server.deployment.DeploymentUnitProcessor- Throws:
org.jboss.as.server.deployment.DeploymentUnitProcessingException
-
createBeanName
-