Class AbstractContainerMonitor
- java.lang.Object
-
- org.codehaus.cargo.container.spi.startup.AbstractContainerMonitor
-
- All Implemented Interfaces:
ContainerMonitor
,Loggable
- Direct Known Subclasses:
AbstractPingContainerMonitor
,CLIWildFlyMonitor
,CombinedContainerMonitor
,Jonas4xContainerMonitor
,Jonas5xContainerMonitor
public abstract class AbstractContainerMonitor extends Object implements ContainerMonitor
Abstract implementation of monitor used for checking container status.
-
-
Constructor Summary
Constructors Constructor Description AbstractContainerMonitor(Container container)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LocalConfiguration
getConfiguration()
protected LocalContainer
getContainer()
Logger
getLogger()
void
setLogger(Logger logger)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.codehaus.cargo.container.startup.ContainerMonitor
isRunning
-
-
-
-
Constructor Detail
-
AbstractContainerMonitor
public AbstractContainerMonitor(Container container)
Constructor.- Parameters:
container
- Container to be monitored.
-
-
Method Detail
-
setLogger
public void setLogger(Logger logger)
-
getLogger
public Logger getLogger()
-
getContainer
protected LocalContainer getContainer()
- Returns:
- Container to be monitored.
-
getConfiguration
protected LocalConfiguration getConfiguration()
- Returns:
- Configuration of monitored container.
-
-