Class 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 Detail

      • KernelDeploymentParsingProcessor

        public KernelDeploymentParsingProcessor()
    • Method Detail

      • 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:
        deploy in interface org.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 unit
        root - 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 unit
        beansXmlFile - the beans xml file
        Throws:
        org.jboss.as.server.deployment.DeploymentUnitProcessingException - for any error