Package org.jboss.as.pojo
Class KernelDeploymentParsingProcessor
java.lang.Object
org.jboss.as.pojo.KernelDeploymentParsingProcessor
- All Implemented Interfaces:
org.jboss.as.server.deployment.DeploymentUnitProcessor
public class KernelDeploymentParsingProcessor
extends Object
implements org.jboss.as.server.deployment.DeploymentUnitProcessor
DeploymentUnitProcessor responsible for parsing a jboss-beans.xml
descriptor and attaching the corresponding KernelDeploymentXmlDescriptor.
- Author:
- Ales Justin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) Process a deployment for jboss-beans.xml files.protected voidparseDescriptor(org.jboss.as.server.deployment.DeploymentUnit unit, org.jboss.vfs.VirtualFile beansXmlFile) Parse -jboss-beans.xml file.protected voidparseDescriptors(org.jboss.as.server.deployment.DeploymentUnit unit, org.jboss.vfs.VirtualFile root) Find and parse -jboss-beans.xml files.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
-
KernelDeploymentParsingProcessor
public KernelDeploymentParsingProcessor()
-
-
Method Details
-
deploy
public void deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException Process a deployment for jboss-beans.xml files. Will parse the xml file and attach a configuration discovered during processing.- Specified by:
deployin interfaceorg.jboss.as.server.deployment.DeploymentUnitProcessor- Parameters:
phaseContext- the deployment unit context- Throws:
org.jboss.as.server.deployment.DeploymentUnitProcessingException
-
parseDescriptors
protected void parseDescriptors(org.jboss.as.server.deployment.DeploymentUnit unit, org.jboss.vfs.VirtualFile root) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException Find and parse -jboss-beans.xml files.- Parameters:
unit- the deployment unitroot- the root- Throws:
org.jboss.as.server.deployment.DeploymentUnitProcessingException- for any error
-
parseDescriptor
protected void parseDescriptor(org.jboss.as.server.deployment.DeploymentUnit unit, org.jboss.vfs.VirtualFile beansXmlFile) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException Parse -jboss-beans.xml file.- Parameters:
unit- the deployment unitbeansXmlFile- the beans xml file- Throws:
org.jboss.as.server.deployment.DeploymentUnitProcessingException- for any error
-