org.apache.james.mailrepository.filepair
Class RepositoryManager

java.lang.Object
  |
  +--org.apache.avalon.framework.logger.AbstractLogEnabled
        |
        +--org.apache.james.mailrepository.filepair.RepositoryManager
All Implemented Interfaces:
Component, ComponentSelector, Composable, Configurable, Contextualizable, LogEnabled, Store

public class RepositoryManager
extends AbstractLogEnabled
implements Store, Contextualizable, Composable, Configurable

Author:
Federico Barbieri

Field Summary
protected  HashMap m_classes
           
protected  ComponentManager m_componentManager
           
protected  Context m_context
           
protected  HashMap m_models
           
protected  HashMap m_repositories
           
 
Fields inherited from interface org.apache.avalon.cornerstone.services.store.Store
ROLE
 
Constructor Summary
RepositoryManager()
           
 
Method Summary
 void compose(ComponentManager componentManager)
           
 void configure(Configuration configuration)
           
 void contextualize(Context context)
           
static String getName()
           
 boolean hasComponent(Object hint)
           
 void registerRepository(Configuration repConf)
           
 void release(Component component)
           
 Component select(Object hint)
           
 
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

m_repositories

protected HashMap m_repositories

m_models

protected HashMap m_models

m_classes

protected HashMap m_classes

m_componentManager

protected ComponentManager m_componentManager

m_context

protected Context m_context
Constructor Detail

RepositoryManager

public RepositoryManager()
Method Detail

contextualize

public void contextualize(Context context)
Specified by:
contextualize in interface Contextualizable

compose

public void compose(ComponentManager componentManager)
             throws ComponentException
Specified by:
compose in interface Composable
ComponentException

configure

public void configure(Configuration configuration)
               throws ConfigurationException
Specified by:
configure in interface Configurable
ConfigurationException

registerRepository

public void registerRepository(Configuration repConf)
                        throws ConfigurationException
ConfigurationException

release

public void release(Component component)
Specified by:
release in interface ComponentSelector

hasComponent

public boolean hasComponent(Object hint)
Specified by:
hasComponent in interface ComponentSelector

select

public Component select(Object hint)
                 throws ComponentException
Specified by:
select in interface Store
ComponentException

getName

public static final String getName()


"Copyright © 1999-2002 Apache Jakarta Project. All Rights Reserved."