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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deploy
(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) getDeploymentResources
(ProcessArchiveXml processArchive, org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, org.jboss.vfs.VirtualFile processesXmlFile) protected org.jboss.as.ee.component.ComponentDescription
getProcessApplicationComponent
(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit) protected org.jboss.msc.service.ServiceName
getProcessApplicationViewServiceName
(org.jboss.as.ee.component.ComponentDescription paComponent) protected org.jboss.msc.service.ServiceName
getProcessEngineServiceName
(ProcessArchiveXml processArchive) protected URL
vfsFileAsUrl
(org.jboss.vfs.VirtualFile processesXmlFile) 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
-
Field Details
-
PRIORITY
public static final int PRIORITY- See Also:
-
-
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 interfaceorg.jboss.as.server.deployment.DeploymentUnitProcessor
- Throws:
org.jboss.as.server.deployment.DeploymentUnitProcessingException
-
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
-