Class DecoratedUserManager<C,T,D,S>
java.lang.Object
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
- Author:
- Paul Ferraro
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateUser(String id, C context) Creates a new user with the specified identifier and context.Returns the user identified by the specified identifier.Returns a batcher for use by users of this manager.Returns a factory for creating identifiers for use by this manager.booleanIndicates whether or not this service is started.voidstart()Starts this service.voidstop()Stops this service.
-
Constructor Details
-
DecoratedUserManager
-
-
Method Details
-
getBatchFactory
Description copied from interface:ManagerReturns a batcher for use by users of this manager.- Specified by:
getBatchFactoryin interfaceManager<C>- Returns:
- a batcher
-
getIdentifierFactory
Description copied from interface:ManagerConfigurationReturns a factory for creating identifiers for use by this manager.- Specified by:
getIdentifierFactoryin interfaceManagerConfiguration<C>- Returns:
- an identifier factory
-
isStarted
public boolean isStarted()Description copied from interface:ServiceIndicates whether or not this service is started. -
start
public void start()Description copied from interface:ServiceStarts this service. -
stop
public void stop()Description copied from interface:ServiceStops this service. -
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.
-