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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext)
    Process a deployment for jboss-beans.xml files.
    protected void
    parseDescriptor(org.jboss.as.server.deployment.DeploymentUnit unit, org.jboss.vfs.VirtualFile beansXmlFile)
    Parse -jboss-beans.xml file.
    protected void
    parseDescriptors(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, wait

    Methods 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:
      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