Class DefaultUserManager<CV,C,T,SV,D,S>
java.lang.Object
org.wildfly.clustering.session.cache.user.DefaultUserManager<CV,C,T,SV,D,S>
- Type Parameters:
CV- the user context value typeC- the persistent context typeT- the transient context typeSV- the user sessions value typeD- the deployment typeS- the session type
- All Implemented Interfaces:
org.wildfly.clustering.server.manager.Manager<String>,org.wildfly.clustering.server.manager.ManagerConfiguration<String>,org.wildfly.clustering.server.manager.Service,org.wildfly.clustering.session.user.UserManager<C,T, D, S>
public class DefaultUserManager<CV,C,T,SV,D,S>
extends Object
implements org.wildfly.clustering.session.user.UserManager<C,T,D,S>
A default user manager implementation that delegates to a user factory.
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultUserManager(UserFactory<CV, C, T, SV, D, S> factory, org.wildfly.clustering.server.manager.IdentifierFactory<String> identifierFactory, org.wildfly.clustering.function.Supplier<org.wildfly.clustering.cache.batch.Batch> batchFactory) -
Method Summary
-
Constructor Details
-
DefaultUserManager
-
-
Method Details
-
createUser
-
findUser
-
getBatchFactory
public org.wildfly.clustering.function.Supplier<org.wildfly.clustering.cache.batch.Batch> getBatchFactory()- Specified by:
getBatchFactoryin interfaceorg.wildfly.clustering.server.manager.Manager<CV>
-
getIdentifierFactory
- Specified by:
getIdentifierFactoryin interfaceorg.wildfly.clustering.server.manager.ManagerConfiguration<CV>
-
isStarted
public boolean isStarted()- Specified by:
isStartedin interfaceorg.wildfly.clustering.server.manager.Service
-
start
public void start()- Specified by:
startin interfaceorg.wildfly.clustering.server.manager.Service
-
stop
public void stop()- Specified by:
stopin interfaceorg.wildfly.clustering.server.manager.Service
-