|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.james.core.AbstractAvalonStore
public abstract class AbstractAvalonStore
Provides a registry of objects
Field Summary | |
---|---|
protected org.apache.avalon.framework.configuration.Configuration |
configuration
The Avalon configuration used by the instance |
protected org.apache.avalon.framework.service.ServiceManager |
manager
The Avalon component manager used by the instance |
Constructor Summary | |
---|---|
AbstractAvalonStore()
|
Method Summary | |
---|---|
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
|
abstract java.lang.Object |
getClassInstance(java.lang.ClassLoader loader,
java.lang.String className)
Return new Object of the loader classname |
abstract org.apache.avalon.framework.configuration.Configuration[] |
getConfigurations(org.apache.avalon.framework.configuration.Configuration config)
Return the Store configurations |
protected java.lang.Object |
getObject(java.lang.String name)
Get the object, if any, whose name corresponds to the argument parameter |
protected java.util.Iterator |
getObjectNames()
Yield an Iterator over the set of object
names managed internally by this store. |
abstract java.lang.String |
getStoreName()
Return the Store name which should be used for logging |
void |
initialize()
|
void |
service(org.apache.avalon.framework.service.ServiceManager manager)
|
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 |
Field Detail |
---|
protected org.apache.avalon.framework.configuration.Configuration configuration
protected org.apache.avalon.framework.service.ServiceManager manager
Constructor Detail |
---|
public AbstractAvalonStore()
Method Detail |
---|
public void service(org.apache.avalon.framework.service.ServiceManager manager) throws org.apache.avalon.framework.service.ServiceException
service
in interface org.apache.avalon.framework.service.Serviceable
org.apache.avalon.framework.service.ServiceException
Serviceable.service(ServiceManager)
public void configure(org.apache.avalon.framework.configuration.Configuration configuration) throws org.apache.avalon.framework.configuration.ConfigurationException
configure
in interface org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.configuration.ConfigurationException
Configurable.configure(Configuration)
public void initialize() throws java.lang.Exception
initialize
in interface org.apache.avalon.framework.activity.Initializable
java.lang.Exception
Initializable.initialize()
protected java.lang.Object getObject(java.lang.String name)
name
- the name of the desired object
protected java.util.Iterator getObjectNames()
Iterator
over the set of object
names managed internally by this store.
public abstract java.lang.Object getClassInstance(java.lang.ClassLoader loader, java.lang.String className) throws java.lang.Exception
loader
- the ClassLoaderclassName
- the classname
java.lang.Exception
public abstract org.apache.avalon.framework.configuration.Configuration[] getConfigurations(org.apache.avalon.framework.configuration.Configuration config)
config
- the main config
public abstract java.lang.String getStoreName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |