org.apache.juddi.config
Class AppConfig

java.lang.Object
  extended by org.apache.juddi.config.AppConfig

public class AppConfig
extends java.lang.Object

Handles the application level configuration for jUDDI. By default it first looks at system properties

Author:
Kurt T Stam, Jeff Faath

Method Summary
static org.apache.commons.configuration.Configuration getConfiguration()
          The object from which property values can be obtained.
static AppConfig getInstance()
          Obtains the reference to the Singleton instance.
static void reloadConfig()
          Hook to receive configuration reload events from an external application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static AppConfig getInstance()
                             throws org.apache.commons.configuration.ConfigurationException
Obtains the reference to the Singleton instance.

Returns:
the APplicationConfuration Singleton Instance.
Throws:
org.apache.commons.configuration.ConfigurationException

reloadConfig

public static void reloadConfig()
                         throws org.apache.commons.configuration.ConfigurationException
Hook to receive configuration reload events from an external application.

Throws:
org.apache.commons.configuration.ConfigurationException

getConfiguration

public static org.apache.commons.configuration.Configuration getConfiguration()
                                                                       throws org.apache.commons.configuration.ConfigurationException
The object from which property values can be obtained.

Returns:
the commons Configuration interface
Throws:
org.apache.commons.configuration.ConfigurationException


Copyright © 2004-2009. All Rights Reserved.