com.cafesoft.cams.service
Interface UserRepositoryService
- All Superinterfaces:
- Debuggable, Lifecycle, LifecycleService, Service
- public interface UserRepositoryService
- extends LifecycleService
Provides a service that allows the user of this service to obtain a handle to
a UserRepository object.
The UserRepository configuration properties are passed via the Service
configuration settings within the security-domain.xml.
The initialization parameters expected are the following:
repositoryFilePath - the file path to the user repository file.
handlerClass - the fully qualified class name of the XML handler
class to parse the user repository file
repositoryFactoryClass - the file path to the user repository
file.
The expected lifecycle of the service is as follows:
Created
Initialized
Started
Stopped
Recycled
- Since:
- 12/4/01
getUserRepository
public UserRepository getUserRepository()
throws ServiceException
- Get the UserRepository object stored in the service.
- Returns:
- the UserRepository created by the service, or null if one has
not been created
- Throws:
ServiceException - if unable to get the UserRepository.
isModified
public boolean isModified()
- Determine if the user repository has been modified.
- Returns:
- returns false if the service has not been either started or
initialized. In addition, returns false if the UserRepository has not
been instantiated. Returns true otherwise.
Generated on 10:40:31 AM September 10, 2003, © 1996-2003 Cafésoft LLC. All rights reserved.