Class ProcessApplicationDeploymentProcessor

java.lang.Object
org.camunda.bpm.container.impl.jboss.deployment.processor.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
  • Field Details

  • Constructor Details

    • ProcessApplicationDeploymentProcessor

      public ProcessApplicationDeploymentProcessor()
  • Method Details

    • 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)
    • 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)