Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.2.0.Beta1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbpm.services.ejb.impl
Class DeploymentServiceEJBImpl

    java.lang.Object
      org.jbpm.kie.services.impl.AbstractDeploymentService
          org.jbpm.kie.services.impl.KModuleDeploymentService
              org.jbpm.services.ejb.impl.DeploymentServiceEJBImpl

All Implemented Interfaces:
  DeploymentService, ListenerSupport, DeploymentServiceEJBLocal, DeploymentServiceEJBRemote

    public class DeploymentServiceEJBImpl

extends KModuleDeploymentService
implements ListenerSupport, DeploymentService, DeploymentServiceEJBLocal, DeploymentServiceEJBRemote

Field Summary

Fields inherited from class org.jbpm.kie.services.impl.AbstractDeploymentService
`deploymentsMap, emf, listeners, managerFactory, runtimeDataService`

Constructor Summary
`DeploymentServiceEJBImpl()`

Method Summary
`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)
`void` | `onInit()`
`void` | `setBpmn2Service(DefinitionService bpmn2Service)`
`void` | `setContext(javax.ejb.EJBContext context)`
`void` | `setEmf(javax.persistence.EntityManagerFactory emf)`
`void` | `setRuntimeDataService(RuntimeDataService runtimeDataService)`
`void` | `undeploy(String deploymentId)` Undeploys currently active deployment unit identified by given deploymentId

Methods inherited from class org.jbpm.kie.services.impl.KModuleDeploymentService
`boostrapRuntimeEnvironmentBuilder, deploy, getInstanceFromModel, getRegisterableItemsFactory, processResources, setMerger, undeploy`

Methods inherited from class org.jbpm.kie.services.impl.AbstractDeploymentService
`addListener, commonDeploy, getDeployedUnit, getDeployedUnits, getDeploymentsMap, getEmf, getListeners, getManagerFactory, getRuntimeDataService, getRuntimeManager, notifyOnDeploy, notifyOnUnDeploy, removeListener, setIdentityProvider, setManagerFactory, setupAuditLogger`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface org.jbpm.services.api.DeploymentService
`deploy, getDeployedUnit, getDeployedUnits, getRuntimeManager, undeploy`

Methods inherited from interface org.jbpm.services.api.ListenerSupport
`addListener, getListeners, removeListener`

Constructor Detail

### DeploymentServiceEJBImpl

    public DeploymentServiceEJBImpl()

Method Detail

### onInit

    @PostConstruct
    public void onInit()

  Overrides:
    `onInit` in class `KModuleDeploymentService`

### setContext

    public void setContext(javax.ejb.EJBContext context)

### setEmf

    public void setEmf(javax.persistence.EntityManagerFactory emf)

  Overrides:
    `setEmf` in class `AbstractDeploymentService`

### setBpmn2Service

    public void setBpmn2Service(DefinitionService bpmn2Service)

  Overrides:
    `setBpmn2Service` in class `KModuleDeploymentService`

### setRuntimeDataService

    public void setRuntimeDataService(RuntimeDataService runtimeDataService)

  Overrides:
    `setRuntimeDataService` in class `AbstractDeploymentService`

### deploy

    public void deploy(String groupId,
                       String artifactId,
                       String version)

  Description copied from interface: `DeploymentServiceEJBRemote`
  Deploys artifact identified by given GAV (group, artifact, version)

  Specified by:
    `deploy` in interface `DeploymentServiceEJBRemote`
  Parameters:
    `groupId` - group id of the artifact to deploy
    `artifactId` - artifact id of the artifact to deploy
    `version` - version of the artifact to deploy

### deploy

    public void deploy(String groupId,
                       String artifactId,
                       String version,
                       String kbaseName,
                       String ksessionName)

  Description copied from interface: `DeploymentServiceEJBRemote`
  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

  Specified by:
    `deploy` in interface `DeploymentServiceEJBRemote`
  Parameters:
    `groupId` - group id of the artifact to deploy
    `artifactId` - artifact id of the artifact to deploy
    `version` - version of the artifact to deploy
    `kbaseName` - name of kie base defined in kmodule.xml
    `ksessionName` - name of kie session defined in kmodule.xml

### deploy

    public void deploy(String groupId,
                       String artifactId,
                       String version,
                       String kbaseName,
                       String ksessionName,
                       String strategy)

  Description copied from interface: `DeploymentServiceEJBRemote`
  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)

  Specified by:
    `deploy` in interface `DeploymentServiceEJBRemote`
  Parameters:
    `groupId` - group id of the artifact to deploy
    `artifactId` - artifact id of the artifact to deploy
    `version` - version of the artifact to deploy
    `kbaseName` - name of kie base defined in kmodule.xml
    `ksessionName` - name of kie session defined in kmodule.xml
    `strategy` - selected runtime strategy

### undeploy

    public void undeploy(String deploymentId)

  Description copied from interface: `DeploymentServiceEJBRemote`
  Undeploys currently active deployment unit identified by given deploymentId

  Specified by:
    `undeploy` in interface `DeploymentServiceEJBRemote`
  Parameters:
    `deploymentId` - unique identifier of the deployment

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.2.0.Beta1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.