コード例 #1
0
 /// <summary>
 /// Attach the <seealso cref="AnnotationInstance"/>s for the PreUndeploy methods
 /// </summary>
 public static void attachPreUndeployDescription(DeploymentUnit deploymentUnit, AnnotationInstance annotation)
 {
     deploymentUnit.putAttachment(PRE_UNDEPLOY_METHOD, annotation);
 }
コード例 #2
0
 /// <summary>
 /// marks a a <seealso cref="DeploymentUnit"/> as a process application
 /// </summary>
 public static void mark(DeploymentUnit unit)
 {
     unit.putAttachment(MARKER, true);
 }
コード例 #3
0
 /// <summary>
 /// Attach the <seealso cref="ComponentDescription"/> for the <seealso cref="AbstractProcessApplication"/> component
 /// </summary>
 public static void attachProcessApplicationComponent(DeploymentUnit deploymentUnit, ComponentDescription componentDescription)
 {
     deploymentUnit.putAttachment(PA_COMPONENT, componentDescription);
 }