org.codehaus.cargo.container.deployer
Interface DeployableMonitor

All Superinterfaces:
Loggable
All Known Implementing Classes:
URLDeployableMonitor

public interface DeployableMonitor
extends Loggable

Monitor the deployment status of a Deployable.

Version:
$Id: DeployableMonitor.java 1705 2008-09-02 13:14:55Z adriana $

Method Summary
 String getDeployableName()
           
 long getTimeout()
           
 void monitor()
          Check the deployment status of the associated Deployable and tell the registered DeployableMonitorListener about the status.
 void registerListener(DeployableMonitorListener listener)
          Register a listener that we will warn about the deployment status of the associated Deployable.
 
Methods inherited from interface org.codehaus.cargo.util.log.Loggable
getLogger, setLogger
 

Method Detail

getDeployableName

String getDeployableName()
Returns:
a string identifying the deployable that is monitored

registerListener

void registerListener(DeployableMonitorListener listener)
Register a listener that we will warn about the deployment status of the associated Deployable.

Parameters:
listener - the listener to register

monitor

void monitor()
Check the deployment status of the associated Deployable and tell the registered DeployableMonitorListener about the status.


getTimeout

long getTimeout()
Returns:
the timeout after which we stop monitoring the Deployable


Copyright © 2004-2012 Codehaus. All Rights Reserved.