|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avalon.framework.logger.AbstractLogEnabled org.apache.james.core.AvalonUsersStore
public class AvalonUsersStore
Provides a registry of user repositories.
Field Summary | |
---|---|
protected org.apache.avalon.framework.configuration.Configuration |
configuration
The Avalon configuration used by the instance |
protected org.apache.avalon.framework.context.Context |
context
The Avalon context used by the instance |
protected org.apache.avalon.framework.service.ServiceManager |
manager
The Avalon component manager used by the instance |
Fields inherited from interface org.apache.james.services.UsersStore |
---|
ROLE |
Constructor Summary | |
---|---|
AvalonUsersStore()
|
Method Summary | |
---|---|
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
|
void |
contextualize(org.apache.avalon.framework.context.Context context)
|
UsersRepository |
getRepository(java.lang.String name)
Get the repository, if any, whose name corresponds to the argument parameter |
java.util.Iterator |
getRepositoryNames()
Yield an Iterator over the set of repository
names managed internally by this store. |
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.context.Context context
protected org.apache.avalon.framework.configuration.Configuration configuration
protected org.apache.avalon.framework.service.ServiceManager manager
Constructor Detail |
---|
public AvalonUsersStore()
Method Detail |
---|
public void contextualize(org.apache.avalon.framework.context.Context context) throws org.apache.avalon.framework.context.ContextException
contextualize
in interface org.apache.avalon.framework.context.Contextualizable
org.apache.avalon.framework.context.ContextException
Contextualizable.contextualize(Context)
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
org.apache.avalon.framework.service.Serviceable#compose(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()
public UsersRepository getRepository(java.lang.String name)
getRepository
in interface UsersStore
name
- the name of the desired repository
public java.util.Iterator getRepositoryNames()
Iterator
over the set of repository
names managed internally by this store.
getRepositoryNames
in interface UsersStore
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |