org.apache.james.mailrepository.filepair
Class RepositoryManager

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.james.mailrepository.filepair.RepositoryManager
All Implemented Interfaces:
org.apache.avalon.cornerstone.services.store.Store, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.service.ServiceSelector

public class RepositoryManager
extends org.apache.avalon.framework.logger.AbstractLogEnabled
implements org.apache.avalon.cornerstone.services.store.Store, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.configuration.Configurable


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

m_models

protected java.util.HashMap m_models

m_classes

protected java.util.HashMap m_classes

m_componentManager

protected org.apache.avalon.framework.service.ServiceManager m_componentManager

m_context

protected org.apache.avalon.framework.context.Context m_context
Constructor Detail

RepositoryManager

public RepositoryManager()
Method Detail

contextualize

public void contextualize(org.apache.avalon.framework.context.Context context)
Specified by:
contextualize in interface org.apache.avalon.framework.context.Contextualizable

service

public void service(org.apache.avalon.framework.service.ServiceManager componentManager)
             throws org.apache.avalon.framework.service.ServiceException
Specified by:
service in interface org.apache.avalon.framework.service.Serviceable
Throws:
org.apache.avalon.framework.service.ServiceException

configure

public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Specified by:
configure in interface org.apache.avalon.framework.configuration.Configurable
Throws:
org.apache.avalon.framework.configuration.ConfigurationException

registerRepository

public void registerRepository(org.apache.avalon.framework.configuration.Configuration repConf)
                        throws org.apache.avalon.framework.configuration.ConfigurationException
Throws:
org.apache.avalon.framework.configuration.ConfigurationException

release

public void release(java.lang.Object component)
Specified by:
release in interface org.apache.avalon.framework.service.ServiceSelector

isSelectable

public boolean isSelectable(java.lang.Object hint)
Specified by:
isSelectable in interface org.apache.avalon.framework.service.ServiceSelector

select

public java.lang.Object select(java.lang.Object hint)
                        throws org.apache.avalon.framework.service.ServiceException
Specified by:
select in interface org.apache.avalon.cornerstone.services.store.Store
Specified by:
select in interface org.apache.avalon.framework.service.ServiceSelector
Throws:
org.apache.avalon.framework.service.ServiceException

getName

public static final java.lang.String getName()


Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.