|
jBPM distribution 6.2.0.CR1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DeploymentService
Deploys DeploymentUnits into the runtime engine by building
RuntimeManager instance for the deployment unit. Upon successful
deployment DeployedUnit instance is created and cached for further usage.
| Method Summary | |
|---|---|
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. |
RuntimeManager |
getRuntimeManager(String deploymentUnitId)
Returns RuntimeManager instance dedicated to deployment unit identified by given id |
void |
undeploy(DeploymentUnit unit)
Performs undeployment operation of given unit. |
| Method Detail |
|---|
void deploy(DeploymentUnit unit)
unit.
unit - deployment unit to be deployed to runtime
RuntimeException - in case of problems encountered while deploying unitvoid undeploy(DeploymentUnit unit)
unit.
unit - deployment unit to be undeployed from runtime
RuntimeException - in case of problems encountered while deploying unitRuntimeManager getRuntimeManager(String deploymentUnitId)
RuntimeManager instance dedicated to deployment unit identified by given id
deploymentUnitId - identifier of deployment unit
RuntimeManager if exists for given deployment id otherwise nullDeployedUnit getDeployedUnit(String deploymentUnitId)
DeployedUnit instance for given deployment id if exists
deploymentUnitId - identifier of deployment unit
DeployedUnit instance if exists for given deployment id otherwise nullCollection<DeployedUnit> getDeployedUnits()
|
jBPM distribution 6.2.0.CR1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||