|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.cargo.util.log.LoggedObject
org.codehaus.cargo.container.spi.deployer.DeployerWatchdog
public class DeployerWatchdog
Wait for a deployable to be deployed.
| Constructor Summary | |
|---|---|
DeployerWatchdog(DeployableMonitor monitor)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.codehaus.cargo.util.log.LoggedObject |
|---|
getLogger, setLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeployerWatchdog(DeployableMonitor monitor)
monitor - the monitor to use to monitor the
Deployable being deployed| Method Detail |
|---|
public 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 unavailable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||