org.esupportail.cas.server.handlers.database
Class DatabaseHandler

java.lang.Object
  extended by org.esupportail.cas.server.util.log.Debug
      extended by org.esupportail.cas.server.util.BasicHandler
          extended by org.esupportail.cas.server.util.RedundantHandler
              extended by org.esupportail.cas.server.handlers.database.DatabaseHandler
Direct Known Subclasses:
BindDatabaseHandler, QueryDatabaseHandler

abstract class DatabaseHandler
extends RedundantHandler

This abstract class implements a database handler class, inherited by BindDatabaseHandler and SearchDatabaseHandler.

Author:
Pascal Aubry

Field Summary
 
Fields inherited from class org.esupportail.cas.server.util.BasicHandler
FAILED_CONTINUE, FAILED_STOP, SUCCEEDED
 
Constructor Summary
protected DatabaseHandler(org.dom4j.Element handlerElement, java.lang.Boolean configDebug)
          Constructor.
 
Method Summary
 
Methods inherited from class org.esupportail.cas.server.util.RedundantHandler
addServers, authenticate, getServers
 
Methods inherited from class org.esupportail.cas.server.util.BasicHandler
checkConfigElement, getConfigElement, getConfigSubElementContent, hasConfigSubElement
 
Methods inherited from class org.esupportail.cas.server.util.log.Debug
checkClass, elementDebugValue, isDebug, setDebug, trace, trace, traceBegin, traceEnd, traceEnd, traceEnd, traceThrow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseHandler

protected DatabaseHandler(org.dom4j.Element handlerElement,
                          java.lang.Boolean configDebug)
                   throws java.lang.Exception
Constructor.

Parameters:
handlerElement - the XML element that declares the handler in the configuration file
configDebug - debugging mode of the global configuration
Throws:
java.lang.Exception - Exception