public class DeploymentSynchronizer extends Object implements DeploymentEventListener
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEPLOY_SYNC_ENABLED |
static String |
DEPLOY_SYNC_INTERVAL |
protected Class<?> |
targetExceptionClass |
| Constructor and Description |
|---|
DeploymentSynchronizer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isActive() |
protected boolean |
isCausedByConstraintViolation(Throwable throwable) |
void |
onActivate(DeploymentEvent event) |
void |
onDeactivate(DeploymentEvent event) |
void |
onDeploy(DeploymentEvent event) |
void |
onUnDeploy(DeploymentEvent event) |
void |
setDeploymentService(DeploymentService deploymentService) |
void |
setDeploymentStore(DeploymentStore deploymentStore) |
void |
synchronize() |
public static final String DEPLOY_SYNC_INTERVAL
public static final boolean DEPLOY_SYNC_ENABLED
protected Class<?> targetExceptionClass
public boolean isActive()
public void setDeploymentStore(DeploymentStore deploymentStore)
public void setDeploymentService(DeploymentService deploymentService)
public void synchronize()
public void onDeploy(DeploymentEvent event)
onDeploy in interface DeploymentEventListenerpublic void onUnDeploy(DeploymentEvent event)
onUnDeploy in interface DeploymentEventListenerpublic void onActivate(DeploymentEvent event)
onActivate in interface DeploymentEventListenerpublic void onDeactivate(DeploymentEvent event)
onDeactivate in interface DeploymentEventListenerprotected boolean isCausedByConstraintViolation(Throwable throwable)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.