gnu.beanfactory
Class PropertiesDefinitionLoader
java.lang.Object
|
+--gnu.beanfactory.PropertiesDefinitionLoader
- All Implemented Interfaces:
- DefinitionLoader
- Direct Known Subclasses:
- BootstrapDefinitionLoader, RuntimeDefinitionLoader
- public abstract class PropertiesDefinitionLoader
- extends java.lang.Object
- implements DefinitionLoader
Properties-based DefinitionLoader implementation.
- Version:
- $Id: PropertiesDefinitionLoader.java,v 1.35 2001/10/10 05:42:42 rschoening Exp $
- Author:
- Rob Schoening
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertiesDefinitionLoader
public PropertiesDefinitionLoader()
getConfigSources
public java.util.Iterator getConfigSources()
- Specified by:
getConfigSources in interface DefinitionLoader
importDefinitions
public void importDefinitions(DefinitionLoader dl)
throws BeanFactoryException
load
public abstract void load()
throws BeanFactoryException
loadBeanDefinitions
protected void loadBeanDefinitions(java.util.Properties env)
throws BeanFactoryException
createBeanDefinitions
protected java.util.Map createBeanDefinitions(java.util.Properties env)
removeBeanDefinition
public void removeBeanDefinition(java.lang.String urn)
getBeanDefinition
public BeanDefinition getBeanDefinition(java.lang.String urn)
throws BeanFactoryException
- Description copied from interface:
DefinitionLoader
- Look up a bean definition by name.
- Specified by:
getBeanDefinition in interface DefinitionLoader
getBeanDefinitionNames
public java.util.Set getBeanDefinitionNames()
- Description copied from interface:
DefinitionLoader
- Get a set of bean names.
- Specified by:
getBeanDefinitionNames in interface DefinitionLoader
addBeanDefinition
public void addBeanDefinition(BeanDefinition def)
throws BeanFactoryException
mergeFromSystemProperties
public void mergeFromSystemProperties(java.util.Properties p)
throws java.io.IOException