Package org.jbpm.kie.services.impl.store
Class DeploymentSynchronizer
- java.lang.Object
-
- org.jbpm.kie.services.impl.store.DeploymentSynchronizer
-
- All Implemented Interfaces:
DeploymentEventListener
- Direct Known Subclasses:
DeploymentSynchronizerCDIImpl,DeploymentSynchronizerEJBImpl
public class DeploymentSynchronizer extends Object implements DeploymentEventListener
-
-
Field Summary
Fields Modifier and Type Field Description static booleanDEPLOY_SYNC_ENABLEDstatic StringDEPLOY_SYNC_INTERVALprotected Class<?>targetExceptionClass
-
Constructor Summary
Constructors Constructor Description DeploymentSynchronizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleanisActive()protected booleanisCausedByConstraintViolation(Throwable throwable)voidonActivate(DeploymentEvent event)voidonDeactivate(DeploymentEvent event)voidonDeploy(DeploymentEvent event)voidonUnDeploy(DeploymentEvent event)voidsetDeploymentService(DeploymentService deploymentService)voidsetDeploymentStore(DeploymentStore deploymentStore)voidsynchronize()
-
-
-
Method Detail
-
isActive
public boolean isActive()
-
setDeploymentStore
public void setDeploymentStore(DeploymentStore deploymentStore)
-
setDeploymentService
public void setDeploymentService(DeploymentService deploymentService)
-
synchronize
public void synchronize()
-
onDeploy
public void onDeploy(DeploymentEvent event)
- Specified by:
onDeployin interfaceDeploymentEventListener
-
onUnDeploy
public void onUnDeploy(DeploymentEvent event)
- Specified by:
onUnDeployin interfaceDeploymentEventListener
-
onActivate
public void onActivate(DeploymentEvent event)
- Specified by:
onActivatein interfaceDeploymentEventListener
-
onDeactivate
public void onDeactivate(DeploymentEvent event)
- Specified by:
onDeactivatein interfaceDeploymentEventListener
-
isCausedByConstraintViolation
protected boolean isCausedByConstraintViolation(Throwable throwable)
-
clear
public void clear()
-
-