01: package org.esupportail.cas.server.handlers.database;
02:
03: import org.dom4j.Element;
04: import org.esupportail.cas.server.util.RedundantHandler;
05:
06: /**
07: * This abstract class implements a database handler class, inherited by
08: * BindDatabaseHandler and SearchDatabaseHandler.
09: *
10: * @author Pascal Aubry <pascal.aubry at univ-rennes1.fr>
11: */
12: abstract class DatabaseHandler extends RedundantHandler {
13:
14: /**
15: * Constructor.
16: *
17: * @param handlerElement the XML element that declares the handler
18: * in the configuration file
19: * @param configDebug debugging mode of the global configuration
20: * @throws Exception Exception
21: */
22: protected DatabaseHandler(final Element handlerElement,
23: final Boolean configDebug) throws Exception {
24: super (handlerElement, configDebug);
25: traceBegin();
26:
27: // check that a config element is present
28: checkConfigElement(true);
29:
30: traceEnd();
31: }
32:
33: }
|