Class ProcessApplicationDeploymentProcessor

  • All Implemented Interfaces:
    org.jboss.as.server.deployment.DeploymentUnitProcessor

    public class ProcessApplicationDeploymentProcessor
    extends Object
    implements org.jboss.as.server.deployment.DeploymentUnitProcessor

    This processor installs the process application into the container.

    First, we initialize the deployments for all process archives declared by the process application. It then registers a ProcessApplicationDeploymentService for each process archive to be deployed. Finally it registers the MscManagedProcessApplication service which depends on all the deployment services to have completed deployment

    Author:
    Daniel Meyer
    • Constructor Detail

      • ProcessApplicationDeploymentProcessor

        public ProcessApplicationDeploymentProcessor()
    • Method Detail

      • deploy

        public void deploy​(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext)
                    throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
        Specified by:
        deploy in interface org.jboss.as.server.deployment.DeploymentUnitProcessor
        Throws:
        org.jboss.as.server.deployment.DeploymentUnitProcessingException
      • undeploy

        public void undeploy​(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
        Specified by:
        undeploy in interface org.jboss.as.server.deployment.DeploymentUnitProcessor
      • getProcessApplicationViewServiceName

        protected org.jboss.msc.service.ServiceName getProcessApplicationViewServiceName​(org.jboss.as.ee.component.ComponentDescription paComponent)
      • getProcessApplicationComponent

        protected org.jboss.as.ee.component.ComponentDescription getProcessApplicationComponent​(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
      • getProcessEngineForArchive

        protected ProcessEngine getProcessEngineForArchive​(org.jboss.msc.service.ServiceName serviceName,
                                                           org.jboss.msc.service.ServiceRegistry serviceRegistry)
      • getProcessEngineServiceName

        protected org.jboss.msc.service.ServiceName getProcessEngineServiceName​(ProcessArchiveXml processArchive)
      • getDeploymentResources

        protected Map<String,​byte[]> getDeploymentResources​(ProcessArchiveXml processArchive,
                                                                  org.jboss.as.server.deployment.DeploymentUnit deploymentUnit,
                                                                  org.jboss.vfs.VirtualFile processesXmlFile)
      • vfsFileAsUrl

        protected URL vfsFileAsUrl​(org.jboss.vfs.VirtualFile processesXmlFile)