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

Direct Known Subclasses:
  KModuleDeploymentService, VFSDeploymentService

    public abstract class AbstractDeploymentService

extends Object
implements DeploymentService

Field Summary
`protected javax.enterprise.event.Event<DeploymentEvent>` | `deploymentEvent`
`protected Map<String,DeployedUnit>` | `deploymentsMap`
`protected javax.enterprise.event.Event<DeploymentEvent>` | `undeploymentEvent`

Constructor Summary
`AbstractDeploymentService()`

Method Summary
`void` | `commonDeploy(DeploymentUnit unit, DeployedUnitImpl deployedUnit, org.kie.internal.runtime.manager.RuntimeEnvironment environemnt)`
`void` | `deploy(DeploymentUnit unit)`
`protected AbstractAuditLogger` | `getAuditLogger()` Provides AuditLogger implementation, JPA or JMS.
`DeployedUnit` | `getDeployedUnit(String deploymentUnitId)`
`Collection<DeployedUnit>` | `getDeployedUnits()`
`Map<String,DeployedUnit>` | `getDeploymentsMap()`
`javax.persistence.EntityManagerFactory` | `getEmf()`
`org.kie.internal.runtime.manager.RuntimeManagerFactory` | `getManagerFactory()`
`RuntimeDataService` | `getRuntimeDataService()`
`RuntimeManager` | `getRuntimeManager(String deploymentUnitId)`
`void` | `setEmf(javax.persistence.EntityManagerFactory emf)`
`void` | `setManagerFactory(org.kie.internal.runtime.manager.RuntimeManagerFactory managerFactory)`
`void` | `setRuntimeDataService(RuntimeDataService runtimeDataService)`
`void` | `undeploy(DeploymentUnit unit)`

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

Field Detail

### deploymentEvent

    @Inject
    protected javax.enterprise.event.Event<DeploymentEvent> deploymentEvent

### undeploymentEvent

    @Inject
    protected javax.enterprise.event.Event<DeploymentEvent> undeploymentEvent

### deploymentsMap

    protected Map<String,DeployedUnit> deploymentsMap

Constructor Detail

### AbstractDeploymentService

    public AbstractDeploymentService()

Method Detail

### getEmf

    public javax.persistence.EntityManagerFactory getEmf()

### setEmf

    public void setEmf(javax.persistence.EntityManagerFactory emf)

### deploy

    public void deploy(DeploymentUnit unit)

  Specified by:
    `deploy` in interface `DeploymentService`

### commonDeploy

    public void commonDeploy(DeploymentUnit unit,
                             DeployedUnitImpl deployedUnit,
                             org.kie.internal.runtime.manager.RuntimeEnvironment environemnt)

### undeploy

    public void undeploy(DeploymentUnit unit)

  Specified by:
    `undeploy` in interface `DeploymentService`

### getRuntimeManager

    public RuntimeManager getRuntimeManager(String deploymentUnitId)

  Specified by:
    `getRuntimeManager` in interface `DeploymentService`

### getDeployedUnit

    public DeployedUnit getDeployedUnit(String deploymentUnitId)

  Specified by:
    `getDeployedUnit` in interface `DeploymentService`

### getDeploymentsMap

    public Map<String,DeployedUnit> getDeploymentsMap()

### getDeployedUnits

    public Collection<DeployedUnit> getDeployedUnits()

  Specified by:
    `getDeployedUnits` in interface `DeploymentService`

### getManagerFactory

    public org.kie.internal.runtime.manager.RuntimeManagerFactory getManagerFactory()

### setManagerFactory

    public void setManagerFactory(org.kie.internal.runtime.manager.RuntimeManagerFactory managerFactory)

### getRuntimeDataService

    public RuntimeDataService getRuntimeDataService()

### setRuntimeDataService

    public void setRuntimeDataService(RuntimeDataService runtimeDataService)

### getAuditLogger

    protected AbstractAuditLogger getAuditLogger()

  Provides AuditLogger implementation, JPA or JMS. JPA is the default one and JMS requires to have configuration file (.properties) to be available on classpath under 'jbpm.audit.jms.properties' name. This file must have following properties defined:
  - jbpm.audit.jms.connection.factory.jndi - JNDI name of the connection factory to look up - type String
  - jbpm.audit.jms.queue.jndi - JNDI name of the queue to look up - type String

  Returns:
    instance of the audit logger

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

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