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 voidstart()Prepare for the beginning of active use of the public methods of this component.voidstop()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 LifecycleExceptionPrepare 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:
startin 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 LifecycleExceptionGracefully 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:
stopin interfaceHealthChecker- Throws:
IllegalStateException- if this component has not been startedLifecycleException- if this component detects a fatal error that needs to be reported
-
-