Class WildFlySwarmStartupMonitor
- java.lang.Object
-
- org.codehaus.cargo.container.spi.startup.AbstractContainerMonitor
-
- org.codehaus.cargo.container.spi.startup.AbstractPingContainerMonitor
-
- org.codehaus.cargo.container.wildfly.swarm.internal.WildFlySwarmStartupMonitor
-
- All Implemented Interfaces:
ContainerMonitor
,Loggable
public class WildFlySwarmStartupMonitor extends AbstractPingContainerMonitor
Monitors URL that is provided as a mandatory configuration property. WildFly Swarm does not accept deployments - container is bundled together with application, thus defining the ping URL is user's responsibility.
-
-
Constructor Summary
Constructors Constructor Description WildFlySwarmStartupMonitor(Container container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected URL
getPingUrl()
-
Methods inherited from class org.codehaus.cargo.container.spi.startup.AbstractPingContainerMonitor
getPortWithOffset, isRunning
-
Methods inherited from class org.codehaus.cargo.container.spi.startup.AbstractContainerMonitor
getConfiguration, getContainer, getLogger, setLogger
-
-
-
-
Constructor Detail
-
WildFlySwarmStartupMonitor
public WildFlySwarmStartupMonitor(Container container)
- See Also:
AbstractPingContainerMonitor(Container)
-
-
Method Detail
-
getPingUrl
protected URL getPingUrl()
- Specified by:
getPingUrl
in classAbstractPingContainerMonitor
- Returns:
- URL to be pinged.
-
-