Class EjbJarParsingDeploymentUnitProcessor
- java.lang.Object
-
- org.jboss.as.ejb3.deployment.processors.EjbJarParsingDeploymentUnitProcessor
-
- All Implemented Interfaces:
org.jboss.as.server.deployment.DeploymentUnitProcessor
public class EjbJarParsingDeploymentUnitProcessor extends Object implements org.jboss.as.server.deployment.DeploymentUnitProcessor
Processes aDeploymentUnitcontaining an ejb-jar.xml and createsEjbJarMetaDatafor that unit. Thisdeployment unit processorlooks for ejb-jar.xml in META-INF of a .jar and WEB-INF of a .war file. If it finds the ejb-jar.xml in these locations, it parses that file and createsEjbJarMetaDataout of it. TheEjbJarMetaDatais then attached to theDeploymentUnitwithEjbDeploymentAttachmentKeys.EJB_JAR_METADATAas the key. Author: Jaikiran Pai
-
-
Constructor Summary
Constructors Constructor Description EjbJarParsingDeploymentUnitProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeploy(org.jboss.as.server.deployment.DeploymentPhaseContext deploymentPhase)Finds an ejb-jar.xml (at WEB-INF of a .war or META-INF of a .jar) parses the file and creates metadata out of it.
-
-
-
Method Detail
-
deploy
public void deploy(org.jboss.as.server.deployment.DeploymentPhaseContext deploymentPhase) throws org.jboss.as.server.deployment.DeploymentUnitProcessingExceptionFinds an ejb-jar.xml (at WEB-INF of a .war or META-INF of a .jar) parses the file and creates metadata out of it. The metadata is then attached to the deployment unit.- Specified by:
deployin interfaceorg.jboss.as.server.deployment.DeploymentUnitProcessor- Parameters:
deploymentPhase-- Throws:
org.jboss.as.server.deployment.DeploymentUnitProcessingException
-
-