org.jconfig.handler
Class LDAPHandler

java.lang.Object
  extended byorg.jconfig.handler.LDAPHandler
All Implemented Interfaces:
ConfigurationHandler

public class LDAPHandler
extends java.lang.Object
implements ConfigurationHandler

Author:
Administrator

Constructor Summary
LDAPHandler()
           
 
Method Summary
 Configuration load(java.lang.String configurationName)
          This method should read the configuration and then set the categories and properties.
 Configuration load(java.lang.String configurationName, ConfigurationParser parser)
          This method loads a configuration using a specific parser and returns it
 void store()
          This method should store all categories and properties.
 void store(Configuration configuration)
          This method should store all categories and properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LDAPHandler

public LDAPHandler()
Method Detail

load

public Configuration load(java.lang.String configurationName)
                   throws ConfigurationManagerException
This method should read the configuration and then set the categories and properties.

Specified by:
load in interface ConfigurationHandler
Parameters:
configurationName - the name of the configuration
Returns:
the Configuration
Throws:
ConfigurationManagerException

store

public void store()
           throws ConfigurationManagerException
This method should store all categories and properties.

Throws:
ConfigurationManagerException

store

public void store(Configuration configuration)
           throws ConfigurationManagerException
This method should store all categories and properties.

Specified by:
store in interface ConfigurationHandler
Parameters:
configuration - the Configuration that should be saved
Throws:
ConfigurationManagerException

load

public Configuration load(java.lang.String configurationName,
                          ConfigurationParser parser)
                   throws ConfigurationManagerException
Description copied from interface: ConfigurationHandler
This method loads a configuration using a specific parser and returns it

Specified by:
load in interface ConfigurationHandler
Parameters:
configurationName - the name of the configuration
parser - the parser that should be used
Returns:
the Configuration
Throws:
ConfigurationManagerException


Copyright © 2001-2005 Andreas Mecky, Terry Dye. All Rights Reserved.