public class DeployerWatchdog extends LoggedObject implements DeployableMonitorListener
| Constructor and Description |
|---|
DeployerWatchdog(DeployableMonitor monitor) |
| Modifier and Type | Method and Description |
|---|---|
void |
deployed()
The
Deployable has finished deploying. |
void |
undeployed()
The
Deployable has finished undeploying. |
void |
watch(boolean shouldWatchForAvailability) |
void |
watchForAvailability()
Wait till the monitored Deployable is made available or throw an exception if the timeout
period is reached.
|
void |
watchForUnavailability()
Wait till the monitored Deployable is made unavailable or throw an exception if the timeout
period is reached.
|
getLogger, setLoggerpublic DeployerWatchdog(DeployableMonitor monitor)
monitor - the monitor to use to monitor the
Deployable being deployedpublic void deployed()
DeployableMonitorListenerDeployable has finished deploying.deployed in interface DeployableMonitorListenerDeployableMonitorListener.deployed()public void undeployed()
DeployableMonitorListenerDeployable has finished undeploying.undeployed in interface DeployableMonitorListenerDeployableMonitorListener.undeployed()public void watchForAvailability()
watch(true).public void watchForUnavailability()
watch(false).public void watch(boolean shouldWatchForAvailability)
shouldWatchForAvailability - if true then wait till Deployable is made available, if
false wait till the Deployable is made unavailableCopyright © 2004-2013 Codehaus. All Rights Reserved.