Class DecoratedUserManager<C,T,D,S>
java.lang.Object
org.wildfly.clustering.server.service.DecoratedService
org.wildfly.clustering.server.manager.DecoratedManager<String>
org.wildfly.clustering.session.cache.user.DecoratedUserManager<C,T,D,S>
- Type Parameters:
C- the persistent context typeT- the transient context typeD- the deployment typeS- the session type
- All Implemented Interfaces:
Manager<String>, ManagerConfiguration<String>, Service, UserManager<C,T, D, S>
- Direct Known Subclasses:
CachedUserManager
public class DecoratedUserManager<C,T,D,S>
extends DecoratedManager<String>
implements UserManager<C,T,D,S>
A decorated user manager.
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionDecoratedUserManager(UserManager<C, T, D, S> manager) Creates a user manager decorator. -
Method Summary
Methods inherited from class DecoratedManager
getBatchFactory, getIdentifierFactoryMethods inherited from class DecoratedService
isStarted, start, stopMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Manager
getBatchFactoryMethods inherited from interface ManagerConfiguration
getIdentifierFactory
-
Constructor Details
-
DecoratedUserManager
Creates a user manager decorator.- Parameters:
manager- the decorated user manager
-
-
Method Details
-
createUser
Description copied from interface:UserManagerCreates a new user with the specified identifier and context.- Specified by:
createUserin interfaceUserManager<C,T, D, S> - Parameters:
id- a unique user identifiercontext- the user context- Returns:
- a new user
-
findUser
Description copied from interface:UserManagerReturns the user identified by the specified identifier.
-