org.apache.james.core
Class AvalonUsersStore

java.lang.Object
  |
  +--org.apache.avalon.framework.logger.AbstractLogEnabled
        |
        +--org.apache.james.core.AvalonUsersStore
All Implemented Interfaces:
org.apache.avalon.phoenix.Block, org.apache.avalon.framework.component.Component, org.apache.avalon.framework.component.Composable, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.logger.LogEnabled, UsersStore

public class AvalonUsersStore
extends org.apache.avalon.framework.logger.AbstractLogEnabled
implements org.apache.avalon.phoenix.Block, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.component.Composable, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.activity.Initializable, UsersStore

Author:
Federico Barbieri

Field Summary
protected  org.apache.avalon.framework.component.ComponentManager componentManager
           
protected  org.apache.avalon.framework.configuration.Configuration configuration
           
protected  org.apache.avalon.framework.context.Context context
           
 
Fields inherited from interface org.apache.james.services.UsersStore
ROLE
 
Constructor Summary
AvalonUsersStore()
           
 
Method Summary
 void compose(org.apache.avalon.framework.component.ComponentManager componentManager)
           
 void configure(org.apache.avalon.framework.configuration.Configuration configuration)
           
 void contextualize(org.apache.avalon.framework.context.Context context)
           
 UsersRepository getRepository(java.lang.String request)
           
 java.util.Iterator getRepositoryNames()
           
 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
 

Field Detail

context

protected org.apache.avalon.framework.context.Context context

configuration

protected org.apache.avalon.framework.configuration.Configuration configuration

componentManager

protected org.apache.avalon.framework.component.ComponentManager componentManager
Constructor Detail

AvalonUsersStore

public AvalonUsersStore()
Method Detail

contextualize

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

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
org.apache.avalon.framework.configuration.ConfigurationException

compose

public void compose(org.apache.avalon.framework.component.ComponentManager componentManager)
             throws org.apache.avalon.framework.component.ComponentException
Specified by:
compose in interface org.apache.avalon.framework.component.Composable
org.apache.avalon.framework.component.ComponentException

initialize

public void initialize()
                throws java.lang.Exception
Specified by:
initialize in interface org.apache.avalon.framework.activity.Initializable
java.lang.Exception

getRepository

public UsersRepository getRepository(java.lang.String request)
Specified by:
getRepository in interface UsersStore

getRepositoryNames

public java.util.Iterator getRepositoryNames()
Specified by:
getRepositoryNames in interface UsersStore
Returns:
repository names that could be resolved by calling 'getRepository' method


"Copyright © 2001 Apache Jakarta Project. All Rights Reserved."