|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.novanic.eventservice.service.registry.user.UserManagerFactory
public class UserManagerFactory
The UserManagerFactory is used to create the UserManager and to ensure that only one instance of UserManagerFactory and UserManager exists (singleton).
UserManagerFactory| Method Summary | |
|---|---|
static UserManagerFactory |
getInstance()
This method should be used to create an instance of UserManagerFactory. |
UserManager |
getUserManager()
Returns the UserManager as a singleton. |
UserManager |
getUserManager(EventServiceConfiguration aConfiguration)
Returns the UserManager as a singleton. |
UserManager |
getUserManager(long aTimeoutInterval)
Returns the UserManager as a singleton. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static UserManagerFactory getInstance()
public UserManager getUserManager()
UserManager as a singleton. It is important that
the UserManager must be initiated first. That can be done by
creating a UserManager with a configuration:
getUserManager(de.novanic.eventservice.config.EventServiceConfiguration)
or getUserManager(long). When the
UserManager isn't initiated the method throws a
ConfigurationException.
UserManager (singleton)
ConfigurationException - thrown when the UserManager isn't
initiated first with getUserManager(de.novanic.eventservice.config.EventServiceConfiguration)
or getUserManager(long)public UserManager getUserManager(EventServiceConfiguration aConfiguration)
UserManager as a singleton.
aConfiguration - EventServiceConfiguration used to read the timeout time/interval.
UserManager (singleton)public UserManager getUserManager(long aTimeoutInterval)
UserManager as a singleton.
aTimeoutInterval - timeout interval (is only required if the UserActivityScheduler
needs to be started).
UserManager (singleton)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||