org.apache.james.services
Interface UsersStore

All Known Implementing Classes:
AvalonUsersStore

public interface UsersStore

Interface for Phoenix blocks to access a store of Users. A UserStore contains one or more UserRepositories. Multiple UserRepositories may or may not have overlapping membership.

Version:
1.0.0, 24/04/1999
Author:
Federico Barbieri , Charles Benett

Field Summary
static String ROLE
          The component role used by components implementing this service
 
Method Summary
 UsersRepository getRepository(String name)
          Get the repository, if any, whose name corresponds to the argument parameter
 Iterator getRepositoryNames()
          Yield an Iterator over the set of repository names managed internally by this store.
 

Field Detail

ROLE

public static final String ROLE
The component role used by components implementing this service

See Also:
Constant Field Values
Method Detail

getRepository

public UsersRepository getRepository(String name)
Get the repository, if any, whose name corresponds to the argument parameter

Parameters:
name - the name of the desired repository
Returns:
the UsersRepository corresponding to the name parameter

getRepositoryNames

public Iterator getRepositoryNames()
Yield an Iterator over the set of repository names managed internally by this store.

Returns:
an Iterator over the set of repository names for this store


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