Class SessionManagerBean
java.lang.Object
org.wildfly.clustering.spring.context.AutoDestroyBean
org.wildfly.clustering.spring.context.SessionManagerBean
- All Implemented Interfaces:
Consumer<Runnable>,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean,org.wildfly.clustering.server.manager.Manager<String>,org.wildfly.clustering.server.manager.ManagerConfiguration<String>,org.wildfly.clustering.server.manager.Service,org.wildfly.clustering.session.SessionManager<Void>
public class SessionManagerBean
extends AutoDestroyBean
implements org.wildfly.clustering.session.SessionManager<Void>, org.springframework.beans.factory.InitializingBean
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionSessionManagerBean(org.wildfly.clustering.session.SessionManager<Void> manager) -
Method Summary
Modifier and TypeMethodDescriptionvoidCompletionStage<org.wildfly.clustering.session.Session<Void>> CompletionStage<org.wildfly.clustering.session.ImmutableSession> CompletionStage<org.wildfly.clustering.session.Session<Void>> Supplier<org.wildfly.clustering.cache.batch.Batch> org.wildfly.clustering.session.Session<Void> org.wildfly.clustering.session.SessionStatisticsbooleanvoidstart()voidstop()Methods inherited from class org.wildfly.clustering.spring.context.AutoDestroyBean
accept, destroyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.clustering.session.SessionManager
createSession, findImmutableSession, findSession
-
Constructor Details
-
SessionManagerBean
-
-
Method Details
-
afterPropertiesSet
-
getBatchFactory
-
getIdentifierFactory
-
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
-
isStarted
public boolean isStarted()- Specified by:
isStartedin interfaceorg.wildfly.clustering.server.manager.Service
-
createSessionAsync
- Specified by:
createSessionAsyncin interfaceorg.wildfly.clustering.session.SessionManager<Void>
-
findSessionAsync
- Specified by:
findSessionAsyncin interfaceorg.wildfly.clustering.session.SessionManager<Void>
-
findImmutableSessionAsync
public CompletionStage<org.wildfly.clustering.session.ImmutableSession> findImmutableSessionAsync(String id) - Specified by:
findImmutableSessionAsyncin interfaceorg.wildfly.clustering.session.SessionManager<Void>
-
getDetachedSession
-
getStatistics
public org.wildfly.clustering.session.SessionStatistics getStatistics()- Specified by:
getStatisticsin interfaceorg.wildfly.clustering.session.SessionManager<Void>
-