public class ProcessApplicationDeploymentService extends Object implements org.jboss.msc.service.Service<ProcessApplicationDeploymentService>
Service responsible for performing a deployment to the process engine and managing
the resulting ProcessApplicationRegistration
with the process engine.
We construct one of these per Process Archive of a Process Application.
We need a dependency on the componentView service of the ProcessApplication component and the process engine to which the deployment should be performed.
Modifier and Type | Field and Description |
---|---|
protected ProcessApplicationDeployment |
deployment
the deployment we create here
|
protected Map<String,byte[]> |
deploymentMap
the map of deployment resources obtained through scanning
|
protected org.jboss.msc.value.InjectedValue<ExecutorService> |
executorInjector |
protected org.jboss.msc.value.InjectedValue<ProcessApplicationInterface> |
noViewProcessApplication |
protected org.jboss.msc.value.InjectedValue<org.jboss.as.ee.component.ComponentView> |
paComponentViewInjector |
protected ProcessArchiveXml |
processArchive
deployment metadata that is passed in
|
protected org.jboss.msc.value.InjectedValue<ProcessEngine> |
processEngineInjector |
Constructor and Description |
---|
ProcessApplicationDeploymentService(Map<String,byte[]> deploymentMap,
ProcessArchiveXml processArchive) |
Modifier and Type | Method and Description |
---|---|
ProcessApplicationDeployment |
getDeployment() |
org.jboss.msc.value.InjectedValue<ExecutorService> |
getExecutorInjector() |
org.jboss.msc.value.InjectedValue<ProcessApplicationInterface> |
getNoViewProcessApplication() |
org.jboss.msc.value.InjectedValue<org.jboss.as.ee.component.ComponentView> |
getPaComponentViewInjector() |
org.jboss.msc.value.InjectedValue<ProcessEngine> |
getProcessEngineInjector() |
String |
getProcessEngineName() |
ProcessApplicationDeploymentService |
getValue() |
protected void |
logDeploymentSummary(Collection<String> resourceNames,
String deploymentName,
String processApplicationName) |
protected void |
performDeployment() |
protected void |
performUndeployment() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
protected org.jboss.msc.value.InjectedValue<ExecutorService> executorInjector
protected org.jboss.msc.value.InjectedValue<ProcessEngine> processEngineInjector
protected org.jboss.msc.value.InjectedValue<ProcessApplicationInterface> noViewProcessApplication
protected org.jboss.msc.value.InjectedValue<org.jboss.as.ee.component.ComponentView> paComponentViewInjector
protected final Map<String,byte[]> deploymentMap
protected final ProcessArchiveXml processArchive
protected ProcessApplicationDeployment deployment
public ProcessApplicationDeploymentService(Map<String,byte[]> deploymentMap, ProcessArchiveXml processArchive)
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.service.Service<ProcessApplicationDeploymentService>
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<ProcessApplicationDeploymentService>
protected void performDeployment() throws org.jboss.msc.service.StartException
org.jboss.msc.service.StartException
protected void logDeploymentSummary(Collection<String> resourceNames, String deploymentName, String processApplicationName)
deploymentMap2
- deploymentName
- protected void performUndeployment()
public ProcessApplicationDeploymentService getValue() throws IllegalStateException, IllegalArgumentException
getValue
in interface org.jboss.msc.value.Value<ProcessApplicationDeploymentService>
IllegalStateException
IllegalArgumentException
public org.jboss.msc.value.InjectedValue<ProcessEngine> getProcessEngineInjector()
public org.jboss.msc.value.InjectedValue<ProcessApplicationInterface> getNoViewProcessApplication()
public org.jboss.msc.value.InjectedValue<org.jboss.as.ee.component.ComponentView> getPaComponentViewInjector()
public ProcessApplicationDeployment getDeployment()
public String getProcessEngineName()
public org.jboss.msc.value.InjectedValue<ExecutorService> getExecutorInjector()
Copyright © 2015. All rights reserved.