com.sun.enterprise.web
Class PEHADBHealthChecker

java.lang.Object
  extended by com.sun.enterprise.web.PEHADBHealthChecker
All Implemented Interfaces:
HealthChecker

public class PEHADBHealthChecker
extends java.lang.Object
implements HealthChecker

Author:
lwhite

Constructor Summary
PEHADBHealthChecker(WebContainer webContainer)
          Creates a new instance of PEHADBHealthChecker
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 after configure(), and before any of the public methods of the component are utilized.

Specified by:
start in interface HealthChecker
Throws:
java.lang.IllegalStateException - if this component has already been started
LifecycleException - 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 interface HealthChecker
Throws:
java.lang.IllegalStateException - if this component has not been started
LifecycleException - if this component detects a fatal error that needs to be reported


Copyright © 2012 GlassFish Community. All Rights Reserved.