public class ProcessApplicationProcessor extends 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.
Modifier and Type | Field and Description |
---|---|
static int |
PRIORITY |
Constructor and Description |
---|
ProcessApplicationProcessor() |
Modifier and Type | Method and 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 existing
ProcessApplication component. |
void |
undeploy(org.jboss.as.server.deployment.DeploymentUnit context) |
public static final int PRIORITY
public void deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
deploy
in interface org.jboss.as.server.deployment.DeploymentUnitProcessor
org.jboss.as.server.deployment.DeploymentUnitProcessingException
protected org.jboss.as.ee.component.ComponentDescription detectExistingComponent(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
ProcessApplication
component.org.jboss.as.server.deployment.DeploymentUnitProcessingException
public void undeploy(org.jboss.as.server.deployment.DeploymentUnit context)
undeploy
in interface org.jboss.as.server.deployment.DeploymentUnitProcessor
Copyright © 2017. All rights reserved.