public class ProcessApplicationDeploymentProcessor extends Object implements org.jboss.as.server.deployment.DeploymentUnitProcessor
This processor installs the process application into the container.
First, we initialize the deployments for all process archives declared by the process application.
It then registers a ProcessApplicationDeploymentService
for each process archive to be deployed.
Finally it registers the MscManagedProcessApplication
service which depends on all the deployment services
to have completed deployment
Modifier and Type | Field and Description |
---|---|
static int |
PRIORITY |
Constructor and Description |
---|
ProcessApplicationDeploymentProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) |
protected Map<String,byte[]> |
getDeploymentResources(ProcessArchiveXml processArchive,
org.jboss.as.server.deployment.DeploymentUnit deploymentUnit,
org.jboss.vfs.VirtualFile processesXmlFile) |
protected org.jboss.as.ee.component.ComponentDescription |
getProcessApplicationComponent(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit) |
protected org.jboss.msc.service.ServiceName |
getProcessApplicationViewServiceName(org.jboss.as.ee.component.ComponentDescription paComponent) |
protected ProcessEngine |
getProcessEngineForArchive(org.jboss.msc.service.ServiceName serviceName,
org.jboss.msc.service.ServiceRegistry serviceRegistry) |
protected org.jboss.msc.service.ServiceName |
getProcessEngineServiceName(ProcessArchiveXml processArchive) |
void |
undeploy(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit) |
protected URL |
vfsFileAsUrl(org.jboss.vfs.VirtualFile processesXmlFile) |
public static final int PRIORITY
public ProcessApplicationDeploymentProcessor()
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
public void undeploy(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
undeploy
in interface org.jboss.as.server.deployment.DeploymentUnitProcessor
protected org.jboss.msc.service.ServiceName getProcessApplicationViewServiceName(org.jboss.as.ee.component.ComponentDescription paComponent)
protected org.jboss.as.ee.component.ComponentDescription getProcessApplicationComponent(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
protected ProcessEngine getProcessEngineForArchive(org.jboss.msc.service.ServiceName serviceName, org.jboss.msc.service.ServiceRegistry serviceRegistry)
protected org.jboss.msc.service.ServiceName getProcessEngineServiceName(ProcessArchiveXml processArchive)
protected Map<String,byte[]> getDeploymentResources(ProcessArchiveXml processArchive, org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, org.jboss.vfs.VirtualFile processesXmlFile)
protected URL vfsFileAsUrl(org.jboss.vfs.VirtualFile processesXmlFile)
Copyright © 2017. All rights reserved.