Class ProcessApplicationAttachments
- java.lang.Object
-
- org.camunda.bpm.container.impl.jboss.deployment.marker.ProcessApplicationAttachments
-
public class ProcessApplicationAttachments extends java.lang.Object
- Author:
- Daniel Meyer
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addProcessesXml(org.jboss.as.server.deployment.DeploymentUnit unit, ProcessesXmlWrapper processesXmlWrapper)
Attach the parsed ProcessesXml file to a deployment unit.static void
attachPostDeployDescription(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, org.jboss.jandex.AnnotationInstance annotation)
Attach theAnnotationInstance
s for the PostDeploy methodsstatic void
attachPreUndeployDescription(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, org.jboss.jandex.AnnotationInstance annotation)
Attach theAnnotationInstance
s for the PreUndeploy methodsstatic void
attachProcessApplicationComponent(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, org.jboss.as.ee.component.ComponentDescription componentDescription)
Attach theComponentDescription
for theAbstractProcessApplication
componentstatic org.jboss.jandex.AnnotationInstance
getPostDeployDescription(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
static org.jboss.jandex.AnnotationInstance
getPreUndeployDescription(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
static org.jboss.as.ee.component.ComponentDescription
getProcessApplicationComponent(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
Returns theComponentDescription
for theAbstractProcessApplication
componentstatic java.util.List<ProcessesXmlWrapper>
getProcessesXmls(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
Returns the attachedProcessesXml
marker or null;static boolean
isPartOfProcessApplication(org.jboss.as.server.deployment.DeploymentUnit unit)
return true if the deployment unit is either itself a process application or part of a process application.static boolean
isProcessApplication(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
Returns true if theDeploymentUnit
itself is a process application (carries a processes.xml)static void
mark(org.jboss.as.server.deployment.DeploymentUnit unit)
marks a aDeploymentUnit
as a process applicationstatic void
markPartOfProcessApplication(org.jboss.as.server.deployment.DeploymentUnit unit)
marks a aDeploymentUnit
as part of a process application
-
-
-
Method Detail
-
addProcessesXml
public static void addProcessesXml(org.jboss.as.server.deployment.DeploymentUnit unit, ProcessesXmlWrapper processesXmlWrapper)
Attach the parsed ProcessesXml file to a deployment unit.
-
getProcessesXmls
public static java.util.List<ProcessesXmlWrapper> getProcessesXmls(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
Returns the attachedProcessesXml
marker or null;
-
mark
public static void mark(org.jboss.as.server.deployment.DeploymentUnit unit)
marks a aDeploymentUnit
as a process application
-
markPartOfProcessApplication
public static void markPartOfProcessApplication(org.jboss.as.server.deployment.DeploymentUnit unit)
marks a aDeploymentUnit
as part of a process application
-
isPartOfProcessApplication
public static boolean isPartOfProcessApplication(org.jboss.as.server.deployment.DeploymentUnit unit)
return true if the deployment unit is either itself a process application or part of a process application.
-
isProcessApplication
public static boolean isProcessApplication(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
Returns true if theDeploymentUnit
itself is a process application (carries a processes.xml)
-
getProcessApplicationComponent
public static org.jboss.as.ee.component.ComponentDescription getProcessApplicationComponent(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
Returns theComponentDescription
for theAbstractProcessApplication
component
-
attachProcessApplicationComponent
public static void attachProcessApplicationComponent(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, org.jboss.as.ee.component.ComponentDescription componentDescription)
Attach theComponentDescription
for theAbstractProcessApplication
component
-
attachPostDeployDescription
public static void attachPostDeployDescription(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, org.jboss.jandex.AnnotationInstance annotation)
Attach theAnnotationInstance
s for the PostDeploy methods
-
attachPreUndeployDescription
public static void attachPreUndeployDescription(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, org.jboss.jandex.AnnotationInstance annotation)
Attach theAnnotationInstance
s for the PreUndeploy methods
-
getPostDeployDescription
public static org.jboss.jandex.AnnotationInstance getPostDeployDescription(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
- Returns:
- the description of the PostDeploy method
-
getPreUndeployDescription
public static org.jboss.jandex.AnnotationInstance getPreUndeployDescription(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
- Returns:
- the description of the PreUndeploy method
-
-