public class EjbJarParsingDeploymentUnitProcessor extends Object implements org.jboss.as.server.deployment.DeploymentUnitProcessor
DeploymentUnit
containing an ejb-jar.xml and creates EjbJarMetaData
for that unit.
This deployment unit processor
looks 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 creates
EjbJarMetaData
out of it. The EjbJarMetaData
is then attached to the DeploymentUnit
with EjbDeploymentAttachmentKeys.EJB_JAR_METADATA
as the key.
Author: Jaikiran PaiConstructor and Description |
---|
EjbJarParsingDeploymentUnitProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
deploy(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.
|
void |
undeploy(org.jboss.as.server.deployment.DeploymentUnit unit) |
public EjbJarParsingDeploymentUnitProcessor()
public void deploy(org.jboss.as.server.deployment.DeploymentPhaseContext deploymentPhase) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
deploy
in interface org.jboss.as.server.deployment.DeploymentUnitProcessor
deploymentPhase
- org.jboss.as.server.deployment.DeploymentUnitProcessingException
public void undeploy(org.jboss.as.server.deployment.DeploymentUnit unit)
undeploy
in interface org.jboss.as.server.deployment.DeploymentUnitProcessor
unit
- Copyright © 2018 JBoss by Red Hat. All rights reserved.