org.apache.avalon.excalibur.i18n
Class DefaultBundleFactory
java.lang.Object
|
+--org.apache.avalon.framework.logger.AbstractLogEnabled
|
+--org.apache.avalon.excalibur.i18n.DefaultBundleFactory
- All Implemented Interfaces:
- BundleFactory, org.apache.avalon.framework.component.Composable, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.logger.LogEnabled
- public class DefaultBundleFactory
- extends org.apache.avalon.framework.logger.AbstractLogEnabled
- implements BundleFactory, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.component.Composable, org.apache.avalon.framework.activity.Initializable
Used to map locale information to URI space, to find the relevant bundle.
- Version:
- CVS $Revision: 1.1 $ $Date: 2002/01/02 19:04:56 $ $Author: neeme $
- Author:
- Neeme Praks
Field Summary |
protected org.apache.avalon.framework.component.ComponentManager |
manager
Component Manager |
Method Summary |
void |
compose(org.apache.avalon.framework.component.ComponentManager manager)
|
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
Configure the component. |
Bundle |
createInstance(BundleInfo bi)
Load a bundle, based on bundleInfo. |
void |
initialize()
|
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
manager
protected org.apache.avalon.framework.component.ComponentManager manager
- Component Manager
DefaultBundleFactory
public DefaultBundleFactory()
compose
public void compose(org.apache.avalon.framework.component.ComponentManager manager)
- Specified by:
compose
in interface org.apache.avalon.framework.component.Composable
configure
public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
throws org.apache.avalon.framework.configuration.ConfigurationException
- Configure the component.
- Specified by:
configure
in interface org.apache.avalon.framework.configuration.Configurable
- Parameters:
configuration
- the configuration
initialize
public void initialize()
throws java.lang.Exception
- Specified by:
initialize
in interface org.apache.avalon.framework.activity.Initializable
createInstance
public Bundle createInstance(BundleInfo bi)
- Load a bundle, based on bundleInfo.
- Specified by:
createInstance
in interface BundleFactory
- Returns:
- the bundle
Copyright © 2001 Apache Jakarta Project. All Rights Reserved.