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

## org.jbpm.kie.services.impl
Class AbstractDeploymentService

    java.lang.Object
      org.jbpm.kie.services.impl.AbstractDeploymentService

All Implemented Interfaces:
  DeploymentService, ListenerSupport

Direct Known Subclasses:
  KModuleDeploymentService

    public abstract class AbstractDeploymentService

extends Object
implements DeploymentService, ListenerSupport

Field Summary
`protected Map<String,DeployedUnit>` | `deploymentsMap`
`protected javax.persistence.EntityManagerFactory` | `emf`
`protected IdentityProvider` | `identityProvider`
`protected Set<DeploymentEventListener>` | `listeners`
`protected RuntimeManagerFactory` | `managerFactory`
`protected RuntimeDataService` | `runtimeDataService`

Constructor Summary
`AbstractDeploymentService()`

Method Summary
`void` | `addListener(DeploymentEventListener listener)`
`void` | `commonDeploy(DeploymentUnit unit, DeployedUnitImpl deployedUnit, RuntimeEnvironment environemnt)`
`void` | `deploy(DeploymentUnit unit)` Performs deployment operation of given `unit`.
`DeployedUnit` | `getDeployedUnit(String deploymentUnitId)` Returns `DeployedUnit` instance for given deployment id if exists
`Collection<DeployedUnit>` | `getDeployedUnits()` Returns all (currently) deployed units.
`Map<String,DeployedUnit>` | `getDeploymentsMap()`
`javax.persistence.EntityManagerFactory` | `getEmf()`
`Collection<DeploymentEventListener>` | `getListeners()`
`RuntimeManagerFactory` | `getManagerFactory()`
`RuntimeDataService` | `getRuntimeDataService()`
`RuntimeManager` | `getRuntimeManager(String deploymentUnitId)` Returns `RuntimeManager` instance dedicated to deployment unit identified by given id
`void` | `notifyOnDeploy(DeploymentUnit unit, DeployedUnit deployedUnit)`
`void` | `notifyOnUnDeploy(DeploymentUnit unit, DeployedUnit deployedUnit)`
`void` | `removeListener(DeploymentEventListener listener)`
`void` | `setEmf(javax.persistence.EntityManagerFactory emf)`
`void` | `setIdentityProvider(IdentityProvider identityProvider)`
`void` | `setManagerFactory(RuntimeManagerFactory managerFactory)`
`void` | `setRuntimeDataService(RuntimeDataService runtimeDataService)`
`protected AuditEventBuilder` | `setupAuditLogger(IdentityProvider identityProvider, String deploymentUnitId)`
`void` | `undeploy(DeploymentUnit unit)` Performs undeployment operation of given `unit`.

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

Field Detail

### managerFactory

    protected RuntimeManagerFactory managerFactory

### runtimeDataService

    protected RuntimeDataService runtimeDataService

### emf

    protected javax.persistence.EntityManagerFactory emf

### identityProvider

    protected IdentityProvider identityProvider

### listeners

    protected Set<DeploymentEventListener> listeners

### deploymentsMap

    protected Map<String,DeployedUnit> deploymentsMap

Constructor Detail

### AbstractDeploymentService

    public AbstractDeploymentService()

Method Detail

### addListener

    public void addListener(DeploymentEventListener listener)

  Specified by:
    `addListener` in interface `ListenerSupport`

### removeListener

    public void removeListener(DeploymentEventListener listener)

  Specified by:
    `removeListener` in interface `ListenerSupport`

### getListeners

    public Collection<DeploymentEventListener> getListeners()

  Specified by:
    `getListeners` in interface `ListenerSupport`

### deploy

    public void deploy(DeploymentUnit unit)

  Description copied from interface: `DeploymentService`
  Performs deployment operation of given `unit`.

  Specified by:
    `deploy` in interface `DeploymentService`
  Parameters:
    `unit` - deployment unit to be deployed to runtime

### notifyOnDeploy

    public void notifyOnDeploy(DeploymentUnit unit,
                               DeployedUnit deployedUnit)

### notifyOnUnDeploy

    public void notifyOnUnDeploy(DeploymentUnit unit,
                                 DeployedUnit deployedUnit)

### commonDeploy

    public void commonDeploy(DeploymentUnit unit,
                             DeployedUnitImpl deployedUnit,
                             RuntimeEnvironment environemnt)

### undeploy

    public void undeploy(DeploymentUnit unit)

  Description copied from interface: `DeploymentService`
  Performs undeployment operation of given `unit`.

  Specified by:
    `undeploy` in interface `DeploymentService`
  Parameters:
    `unit` - deployment unit to be undeployed from runtime

### getRuntimeManager

    public RuntimeManager getRuntimeManager(String deploymentUnitId)

  Description copied from interface: `DeploymentService`
  Returns `RuntimeManager` instance dedicated to deployment unit identified by given id

  Specified by:
    `getRuntimeManager` in interface `DeploymentService`
  Parameters:
    `deploymentUnitId` - identifier of deployment unit
  Returns:
    `RuntimeManager` if exists for given deployment id otherwise null

### getDeployedUnit

    public DeployedUnit getDeployedUnit(String deploymentUnitId)

  Description copied from interface: `DeploymentService`
  Returns `DeployedUnit` instance for given deployment id if exists

  Specified by:
    `getDeployedUnit` in interface `DeploymentService`
  Parameters:
    `deploymentUnitId` - identifier of deployment unit
  Returns:
    `DeployedUnit` instance if exists for given deployment id otherwise null

### getDeploymentsMap

    public Map<String,DeployedUnit> getDeploymentsMap()

### getDeployedUnits

    public Collection<DeployedUnit> getDeployedUnits()

  Description copied from interface: `DeploymentService`
  Returns all (currently) deployed units.

  Specified by:
    `getDeployedUnits` in interface `DeploymentService`
  Returns:
    collections of all existing deployed units

### getManagerFactory

    public RuntimeManagerFactory getManagerFactory()

### setManagerFactory

    public void setManagerFactory(RuntimeManagerFactory managerFactory)

### getRuntimeDataService

    public RuntimeDataService getRuntimeDataService()

### getEmf

    public javax.persistence.EntityManagerFactory getEmf()

### setEmf

    public void setEmf(javax.persistence.EntityManagerFactory emf)

### setRuntimeDataService

    public void setRuntimeDataService(RuntimeDataService runtimeDataService)

### setIdentityProvider

    public void setIdentityProvider(IdentityProvider identityProvider)

### setupAuditLogger

    protected AuditEventBuilder setupAuditLogger(IdentityProvider identityProvider,
                                                 String deploymentUnitId)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.2.0.CR1
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.