org.jconfig.handler
Class ConfigServerHandler

java.lang.Object
  extended byorg.jconfig.handler.URLHandler
      extended byorg.jconfig.handler.ConfigServerHandler
All Implemented Interfaces:
ConfigurationHandler, java.util.EventListener, FileListener

public class ConfigServerHandler
extends URLHandler

Author:
Administrator

Constructor Summary
ConfigServerHandler()
          Creates a new instance of ConfigServerHandler
 
Method Summary
 Configuration load()
           
 Configuration load(java.lang.String configName)
          This method loads a configuration and returns it
 
Methods inherited from class org.jconfig.handler.URLHandler
addFileListener, fileChanged, getURL, load, load, load, setURL, setValidation, store
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigServerHandler

public ConfigServerHandler()
Creates a new instance of ConfigServerHandler

Method Detail

load

public Configuration load()
                   throws ConfigurationManagerException
Overrides:
load in class URLHandler
Throws:
ConfigurationManagerException

load

public Configuration load(java.lang.String configName)
                   throws ConfigurationManagerException
Description copied from interface: ConfigurationHandler
This method loads a configuration and returns it

Specified by:
load in interface ConfigurationHandler
Overrides:
load in class URLHandler
Throws:
ConfigurationManagerException - if the file cannot be processed


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