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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
deploymentEvent
@Inject
protected javax.enterprise.event.Event<DeploymentEvent> deploymentEvent
undeploymentEvent
@Inject
protected javax.enterprise.event.Event<DeploymentEvent> undeploymentEvent
deploymentsMap
protected Map<String,DeployedUnit> deploymentsMap
AbstractDeploymentService
public AbstractDeploymentService()
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
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.