Class Jonas4xContainerMonitor
- java.lang.Object
-
- org.codehaus.cargo.container.spi.startup.AbstractContainerMonitor
-
- org.codehaus.cargo.container.jonas.Jonas4xContainerMonitor
-
- All Implemented Interfaces:
ContainerMonitor
,Loggable
public class Jonas4xContainerMonitor extends AbstractContainerMonitor
JOnAS 4.x monitor checking if JOnAS server reaches a given state.
-
-
Constructor Summary
Constructors Constructor Description Jonas4xContainerMonitor(Container container, Jonas4xAdmin jonasAdmin, boolean waitForStarting)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isRunning()
-
Methods inherited from class org.codehaus.cargo.container.spi.startup.AbstractContainerMonitor
getConfiguration, getContainer, getLogger, setLogger
-
-
-
-
Constructor Detail
-
Jonas4xContainerMonitor
public Jonas4xContainerMonitor(Container container, Jonas4xAdmin jonasAdmin, boolean waitForStarting)
Constructor.- Parameters:
container
- Container to be monitored.jonasAdmin
- The JOnAS admin.waitForStarting
- Whether to wait for container start or stop.
-
-