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 Pai| Constructor 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.
|
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.DeploymentUnitProcessordeploymentPhase - org.jboss.as.server.deployment.DeploymentUnitProcessingExceptionCopyright © 2022 JBoss by Red Hat. All rights reserved.