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 voidaddProcessesXml(org.jboss.as.server.deployment.DeploymentUnit unit, ProcessesXmlWrapper processesXmlWrapper)Attach the parsed ProcessesXml file to a deployment unit.static voidattachPostDeployDescription(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, org.jboss.jandex.AnnotationInstance annotation)Attach theAnnotationInstances for the PostDeploy methodsstatic voidattachPreUndeployDescription(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, org.jboss.jandex.AnnotationInstance annotation)Attach theAnnotationInstances for the PreUndeploy methodsstatic voidattachProcessApplicationComponent(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, org.jboss.as.ee.component.ComponentDescription componentDescription)Attach theComponentDescriptionfor theAbstractProcessApplicationcomponentstatic org.jboss.jandex.AnnotationInstancegetPostDeployDescription(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)static org.jboss.jandex.AnnotationInstancegetPreUndeployDescription(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)static org.jboss.as.ee.component.ComponentDescriptiongetProcessApplicationComponent(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)Returns theComponentDescriptionfor theAbstractProcessApplicationcomponentstatic java.util.List<ProcessesXmlWrapper>getProcessesXmls(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)Returns the attachedProcessesXmlmarker or null;static booleanisPartOfProcessApplication(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 booleanisProcessApplication(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)Returns true if theDeploymentUnititself is a process application (carries a processes.xml)static voidmark(org.jboss.as.server.deployment.DeploymentUnit unit)marks a aDeploymentUnitas a process applicationstatic voidmarkPartOfProcessApplication(org.jboss.as.server.deployment.DeploymentUnit unit)marks a aDeploymentUnitas 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 attachedProcessesXmlmarker or null;
-
mark
public static void mark(org.jboss.as.server.deployment.DeploymentUnit unit)
marks a aDeploymentUnitas a process application
-
markPartOfProcessApplication
public static void markPartOfProcessApplication(org.jboss.as.server.deployment.DeploymentUnit unit)
marks a aDeploymentUnitas 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 theDeploymentUnititself 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 theComponentDescriptionfor theAbstractProcessApplicationcomponent
-
attachProcessApplicationComponent
public static void attachProcessApplicationComponent(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, org.jboss.as.ee.component.ComponentDescription componentDescription)Attach theComponentDescriptionfor theAbstractProcessApplicationcomponent
-
attachPostDeployDescription
public static void attachPostDeployDescription(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, org.jboss.jandex.AnnotationInstance annotation)Attach theAnnotationInstances for the PostDeploy methods
-
attachPreUndeployDescription
public static void attachPreUndeployDescription(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, org.jboss.jandex.AnnotationInstance annotation)Attach theAnnotationInstances 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
-
-