public class DeploymentServiceEJBImpl extends KModuleDeploymentService implements ListenerSupport, DeploymentService, DeploymentServiceEJBLocal, DeploymentServiceEJBRemote
deploymentsMap, emf, listeners, managerFactory, runtimeDataService| Constructor and Description |
|---|
DeploymentServiceEJBImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAsyncHandler(KModuleDeploymentUnit unit) |
void |
deploy(DeploymentUnit unit)
Performs deployment operation of given
unit. |
void |
deploy(String groupId,
String artifactId,
String version)
Deploys artifact identified by given GAV (group, artifact, version)
|
void |
deploy(String groupId,
String artifactId,
String version,
String kbaseName,
String ksessionName)
Deploys artifact identified by given GAV (group, artifact, version) with additional selection of kbase and
ksession names from kmodule.xml - these names must exists in kmodule.xml of the artifact being deployed
|
void |
deploy(String groupId,
String artifactId,
String version,
String kbaseName,
String ksessionName,
String strategy)
Deploys artifact identified by given GAV (group, artifact, version) with additional selection of kbase and
ksession names from kmodule.xml - these names must exists in kmodule.xml of the artifact being deployed and
runtime strategy (singleton, per request, per process instance)
|
protected boolean |
isExecutorOnClasspath() |
void |
onInit() |
void |
setBpmn2Service(DefinitionService bpmn2Service) |
void |
setContext(javax.ejb.EJBContext context) |
void |
setEmf(javax.persistence.EntityManagerFactory emf) |
void |
setExecutorService(org.kie.api.executor.ExecutorService executorService) |
void |
setFormManagerService(FormManagerService formManagerService) |
void |
setRuntimeDataService(RuntimeDataService runtimeDataService) |
void |
shutdown() |
void |
undeploy(String deploymentId)
Undeploys currently active deployment unit identified by given deploymentId
|
activate, boostrapRuntimeEnvironmentBuilder, deactivate, getInstanceFromModel, getProcessId, getRegisterableItemsFactory, processClassloader, processResources, setMerger, undeployaddListener, commonDeploy, getDeployedUnit, getDeployedUnits, getDeploymentsMap, getEmf, getListeners, getManagerFactory, getRuntimeDataService, getRuntimeManager, isDeployed, notifyOnActivate, notifyOnDeactivate, notifyOnDeploy, notifyOnUnDeploy, removeListener, setIdentityProvider, setManagerFactory, setupAuditLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitactivate, deactivate, getDeployedUnit, getDeployedUnits, getRuntimeManager, isDeployed, undeployaddListener, getListeners, removeListeneractivate, deactivate, isDeployed@PostConstruct public void onInit()
onInit in class KModuleDeploymentService@PreDestroy public void shutdown()
shutdown in class AbstractDeploymentServicepublic void setContext(javax.ejb.EJBContext context)
public void setEmf(javax.persistence.EntityManagerFactory emf)
setEmf in class AbstractDeploymentServicepublic void setBpmn2Service(DefinitionService bpmn2Service)
setBpmn2Service in class KModuleDeploymentServicepublic void setRuntimeDataService(RuntimeDataService runtimeDataService)
setRuntimeDataService in class AbstractDeploymentServicepublic void setFormManagerService(FormManagerService formManagerService)
setFormManagerService in class KModuleDeploymentServicepublic void setExecutorService(org.kie.api.executor.ExecutorService executorService)
setExecutorService in class KModuleDeploymentServicepublic void deploy(String groupId, String artifactId, String version)
DeploymentServiceEJBRemotedeploy in interface DeploymentServiceEJBRemotegroupId - group id of the artifact to deployartifactId - artifact id of the artifact to deployversion - version of the artifact to deploypublic void deploy(String groupId, String artifactId, String version, String kbaseName, String ksessionName)
DeploymentServiceEJBRemotedeploy in interface DeploymentServiceEJBRemotegroupId - group id of the artifact to deployartifactId - artifact id of the artifact to deployversion - version of the artifact to deploykbaseName - name of kie base defined in kmodule.xmlksessionName - name of kie session defined in kmodule.xmlpublic void deploy(String groupId, String artifactId, String version, String kbaseName, String ksessionName, String strategy)
DeploymentServiceEJBRemotedeploy in interface DeploymentServiceEJBRemotegroupId - group id of the artifact to deployartifactId - artifact id of the artifact to deployversion - version of the artifact to deploykbaseName - name of kie base defined in kmodule.xmlksessionName - name of kie session defined in kmodule.xmlstrategy - selected runtime strategypublic void deploy(DeploymentUnit unit)
DeploymentServiceunit.deploy in interface DeploymentServicedeploy in class KModuleDeploymentServiceunit - deployment unit to be deployed to runtimepublic void undeploy(String deploymentId)
DeploymentServiceEJBRemoteundeploy in interface DeploymentServiceEJBRemotedeploymentId - unique identifier of the deploymentprotected void addAsyncHandler(KModuleDeploymentUnit unit)
protected boolean isExecutorOnClasspath()
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.