Package com.sun.enterprise.web
Class PEHADBHealthChecker
- java.lang.Object
-
- com.sun.enterprise.web.PEHADBHealthChecker
-
- All Implemented Interfaces:
HealthChecker
public class PEHADBHealthChecker extends Object implements HealthChecker
- Author:
- lwhite
-
-
Constructor Summary
Constructors Constructor Description PEHADBHealthChecker(WebContainer webContainer)
Creates a new instance of PEHADBHealthChecker
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
start()
Prepare for the beginning of active use of the public methods of this component.void
stop()
Gracefully terminate the active use of the public methods of this component.
-
-
-
Constructor Detail
-
PEHADBHealthChecker
public PEHADBHealthChecker(WebContainer webContainer)
Creates a new instance of PEHADBHealthChecker
-
-
Method Detail
-
start
public void start() throws LifecycleException
Prepare for the beginning of active use of the public methods of this component. This method should be called afterconfigure()
, and before any of the public methods of the component are utilized.- Specified by:
start
in interfaceHealthChecker
- Throws:
IllegalStateException
- if this component has already been startedLifecycleException
- if this component detects a fatal error that prevents this component from being used
-
stop
public void stop() throws LifecycleException
Gracefully terminate the active use of the public methods of this component. This method should be the last one called on a given instance of this component.- Specified by:
stop
in interfaceHealthChecker
- Throws:
IllegalStateException
- if this component has not been startedLifecycleException
- if this component detects a fatal error that needs to be reported
-
-