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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeploy(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.ComponentDescriptiongetProcessApplicationComponent(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit) protected org.jboss.msc.service.ServiceNamegetProcessApplicationViewServiceName(org.jboss.as.ee.component.ComponentDescription paComponent) protected org.jboss.msc.service.ServiceNamegetProcessEngineServiceName(ProcessArchiveXml processArchive) protected URLvfsFileAsUrl(org.jboss.vfs.VirtualFile processesXmlFile) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
deployin 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
-