org.jmage
Class ApplicationContext
java.lang.Object
org.jmage.ApplicationContext
- Direct Known Subclasses:
- SystemApplicationContext, XmlApplicationContext
public abstract class ApplicationContext
- extends java.lang.Object
ApplicationContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
applicationContext
protected static ApplicationContext applicationContext
resourceManagerPool
protected WorkerPool resourceManagerPool
filterChainManagerPool
protected WorkerPool filterChainManagerPool
encoderManagerPool
protected WorkerPool encoderManagerPool
requestDispatcherPool
protected WorkerPool requestDispatcherPool
properties
protected java.util.Properties properties
log4j
protected static org.apache.log4j.PropertyConfigurator log4j
log
protected static org.apache.log4j.Logger log
ApplicationContext
protected ApplicationContext()
- Use getContext instead.
getContext
public static ApplicationContext getContext()
addRequestDispatcher
public void addRequestDispatcher(RequestDispatcher requestDispatcher)
throws ConfigurationException
- Throws:
ConfigurationException
obtainRequestDispatcher
public RequestDispatcher obtainRequestDispatcher()
throws ConfigurationException
- Throws:
ConfigurationException
releaseRequestDispatcher
public void releaseRequestDispatcher(RequestDispatcher requestDispatcher)
throws ConfigurationException
- Throws:
ConfigurationException
addResourceManager
public void addResourceManager(ResourceManager resourceManager)
throws ConfigurationException
- Throws:
ConfigurationException
obtainResourceManager
public ResourceManager obtainResourceManager()
throws ConfigurationException
- Throws:
ConfigurationException
releaseResourceManager
public void releaseResourceManager(ResourceManager resourceManager)
throws ConfigurationException
- Throws:
ConfigurationException
addFilterChainManager
public void addFilterChainManager(FilterChainManager filterChainManager)
throws ConfigurationException
- Throws:
ConfigurationException
obtainFilterChainManager
public FilterChainManager obtainFilterChainManager()
throws ConfigurationException
- Throws:
ConfigurationException
releaseFilterChainManager
public void releaseFilterChainManager(FilterChainManager filterChainManager)
throws ConfigurationException
- Throws:
ConfigurationException
addEncoderManager
public void addEncoderManager(EncoderManager encoderManager)
throws ConfigurationException
- Throws:
ConfigurationException
obtainEncoderManager
public EncoderManager obtainEncoderManager()
throws ConfigurationException
- Throws:
ConfigurationException
releaseEncoderManager
public void releaseEncoderManager(EncoderManager encoderManager)
throws ConfigurationException
- Throws:
ConfigurationException
getProperty
public java.lang.String getProperty(java.lang.String key)
getProperty
public java.lang.String getProperty(java.lang.String key,
java.lang.String defaultValue)
setProperty
public void setProperty(java.lang.String key,
java.lang.String value)
put
public void put(java.lang.String key,
java.lang.Object value)
putAll
public void putAll(java.util.Map properties)
get
public java.lang.Object get(java.lang.String key)
Copyright © 2004-2008 Sourceforge. All Rights Reserved.