public class ProcessApplicationAttachments extends Object
Modifier and Type | Method and 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 the
AnnotationInstance s for the PostDeploy methods |
static void |
attachPreUndeployDescription(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit,
org.jboss.jandex.AnnotationInstance annotation)
Attach the
AnnotationInstance s for the PreUndeploy methods |
static void |
attachProcessApplicationComponent(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit,
org.jboss.as.ee.component.ComponentDescription componentDescription)
Attach the
ComponentDescription for the AbstractProcessApplication component |
static 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 the
ComponentDescription for the AbstractProcessApplication component |
static List<ProcessesXmlWrapper> |
getProcessesXmls(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
Returns the attached
ProcessesXml 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 the
DeploymentUnit itself is a process application (carries a processes.xml) |
static void |
mark(org.jboss.as.server.deployment.DeploymentUnit unit)
marks a a
DeploymentUnit as a process application |
static void |
markPartOfProcessApplication(org.jboss.as.server.deployment.DeploymentUnit unit)
marks a a
DeploymentUnit as part of a process application |
public static void addProcessesXml(org.jboss.as.server.deployment.DeploymentUnit unit, ProcessesXmlWrapper processesXmlWrapper)
public static List<ProcessesXmlWrapper> getProcessesXmls(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
ProcessesXml
marker or null;public static void mark(org.jboss.as.server.deployment.DeploymentUnit unit)
DeploymentUnit
as a process applicationpublic static void markPartOfProcessApplication(org.jboss.as.server.deployment.DeploymentUnit unit)
DeploymentUnit
as part of a process applicationpublic static boolean isPartOfProcessApplication(org.jboss.as.server.deployment.DeploymentUnit unit)
public static boolean isProcessApplication(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
DeploymentUnit
itself is a process application (carries a processes.xml)public static org.jboss.as.ee.component.ComponentDescription getProcessApplicationComponent(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
ComponentDescription
for the AbstractProcessApplication
componentpublic static void attachProcessApplicationComponent(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, org.jboss.as.ee.component.ComponentDescription componentDescription)
ComponentDescription
for the AbstractProcessApplication
componentpublic static void attachPostDeployDescription(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, org.jboss.jandex.AnnotationInstance annotation)
AnnotationInstance
s for the PostDeploy methodspublic static void attachPreUndeployDescription(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, org.jboss.jandex.AnnotationInstance annotation)
AnnotationInstance
s for the PreUndeploy methodspublic static org.jboss.jandex.AnnotationInstance getPostDeployDescription(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
public static org.jboss.jandex.AnnotationInstance getPreUndeployDescription(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
Copyright © 2017. All rights reserved.