Class ProcessApplicationProcessor
- java.lang.Object
-
- org.camunda.bpm.container.impl.jboss.deployment.processor.ProcessApplicationProcessor
-
- All Implemented Interfaces:
org.jboss.as.server.deployment.DeploymentUnitProcessor
public class ProcessApplicationProcessor extends java.lang.Object implements org.jboss.as.server.deployment.DeploymentUnitProcessor
This processor detects a user-provided component annotated with the
ProcessApplication
-annotation.If no such component is found but the deployment unit carries a META-INF/processes.xml file, a Singleton Session Bean component is synthesized.
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description static int
PRIORITY
-
Constructor Summary
Constructors Constructor Description ProcessApplicationProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext)
protected org.jboss.as.ee.component.ComponentDescription
detectExistingComponent(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
Detect an existingProcessApplication
component.void
undeploy(org.jboss.as.server.deployment.DeploymentUnit context)
-
-
-
Field Detail
-
PRIORITY
public static final int PRIORITY
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
detectExistingComponent
protected org.jboss.as.ee.component.ComponentDescription detectExistingComponent(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
Detect an existingProcessApplication
component.- Throws:
org.jboss.as.server.deployment.DeploymentUnitProcessingException
-
undeploy
public void undeploy(org.jboss.as.server.deployment.DeploymentUnit context)
- Specified by:
undeploy
in interfaceorg.jboss.as.server.deployment.DeploymentUnitProcessor
-
-