org.exoplatform.container.configuration
Class ConfigurationManagerImpl
java.lang.Object
org.exoplatform.container.configuration.ConfigurationManagerImpl
- All Implemented Interfaces:
- ConfigurationManager
- Direct Known Subclasses:
- MockConfigurationManagerImpl
public class ConfigurationManagerImpl
- extends java.lang.Object
- implements ConfigurationManager
Jul 19, 2004
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WAR_CONF_LOCATION
public static final java.lang.String WAR_CONF_LOCATION
- See Also:
- Constant Field Values
LOG_DEBUG_PROPERTY
public static final java.lang.String LOG_DEBUG_PROPERTY
- See Also:
- Constant Field Values
LOG_DEBUG
public static final boolean LOG_DEBUG
configurations_
protected Configuration configurations_
ConfigurationManagerImpl
public ConfigurationManagerImpl()
ConfigurationManagerImpl
public ConfigurationManagerImpl(javax.servlet.ServletContext context)
ConfigurationManagerImpl
public ConfigurationManagerImpl(java.lang.ClassLoader loader)
getCurrentURL
public static java.net.URL getCurrentURL()
- Returns the URL of the current document being unmarshalled or null.
- Returns:
- the URL
getConfiguration
public Configuration getConfiguration()
- Specified by:
getConfiguration in interface ConfigurationManager
addConfiguration
public void addConfiguration(java.lang.String url)
throws java.lang.Exception
- Specified by:
addConfiguration in interface ConfigurationManager
- Throws:
java.lang.Exception
addConfiguration
public void addConfiguration(java.util.Collection urls)
throws java.lang.Exception
- Specified by:
addConfiguration in interface ConfigurationManager
- Throws:
java.lang.Exception
addConfiguration
public void addConfiguration(java.net.URL url)
throws java.lang.Exception
- Specified by:
addConfiguration in interface ConfigurationManager
- Throws:
java.lang.Exception
processRemoveConfiguration
public void processRemoveConfiguration()
getComponent
public Component getComponent(java.lang.String service)
- Specified by:
getComponent in interface ConfigurationManager
getComponent
public Component getComponent(java.lang.Class clazz)
throws java.lang.Exception
- Specified by:
getComponent in interface ConfigurationManager
- Throws:
java.lang.Exception
getComponents
public java.util.Collection getComponents()
- Specified by:
getComponents in interface ConfigurationManager
getResource
public java.net.URL getResource(java.lang.String url,
java.lang.String defaultURL)
throws java.lang.Exception
- Specified by:
getResource in interface ConfigurationManager
- Throws:
java.lang.Exception
getResource
public java.net.URL getResource(java.lang.String uri)
throws java.lang.Exception
- Specified by:
getResource in interface ConfigurationManager
- Throws:
java.lang.Exception
getInputStream
public java.io.InputStream getInputStream(java.lang.String url,
java.lang.String defaultURL)
throws java.lang.Exception
- Specified by:
getInputStream in interface ConfigurationManager
- Throws:
java.lang.Exception
getInputStream
public java.io.InputStream getInputStream(java.lang.String uri)
throws java.lang.Exception
- Specified by:
getInputStream in interface ConfigurationManager
- Throws:
java.lang.Exception
getURL
public java.net.URL getURL(java.lang.String url)
throws java.lang.Exception
- Specified by:
getURL in interface ConfigurationManager
- Throws:
java.lang.Exception
resolveSystemProperties
public static java.lang.String resolveSystemProperties(java.lang.String input)
- Parameters:
input - the input
- Returns:
- the resolved input
isDefault
public boolean isDefault(java.lang.String value)
- Specified by:
isDefault in interface ConfigurationManager
removePrefix
protected java.lang.String removePrefix(java.lang.String prefix,
java.lang.String url)
Copyright © 2010 eXo Platform SAS. All Rights Reserved.