gnu.beanfactory
Class ServletContextDefinitionLoader
java.lang.Object
|
+--gnu.beanfactory.PropertiesDefinitionLoader
|
+--gnu.beanfactory.RuntimeDefinitionLoader
|
+--gnu.beanfactory.ServletContextDefinitionLoader
- All Implemented Interfaces:
- DefinitionLoader
- public class ServletContextDefinitionLoader
- extends RuntimeDefinitionLoader
Enables beans to be configured inside a WAR file.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_RESOURCE_NAME
public static java.lang.String DEFAULT_RESOURCE_NAME
SERVLET_CLASSLOADER_KEY
public static java.lang.String SERVLET_CLASSLOADER_KEY
ServletContextDefinitionLoader
public ServletContextDefinitionLoader()
mergeServletResource
public void mergeServletResource(javax.servlet.ServletContext ctx,
java.lang.String s,
java.util.Properties p)
init
public void init(DefinitionLoader dl,
javax.servlet.ServletContext ctx)
throws BeanFactoryException
getBeanDefinition
public BeanDefinition getBeanDefinition(java.lang.String n)
throws BeanFactoryException
- Description copied from interface:
DefinitionLoader
- Look up a bean definition by name.
- Overrides:
getBeanDefinition in class PropertiesDefinitionLoader