Interface SessionManagerFactory<C,SC>
- Type Parameters:
C- the session manager context typeSC- the session context type
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
HotRodSessionManagerFactory,InfinispanSessionManagerFactory
A factory for creating a session manager.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()createSessionManager(SessionManagerConfiguration<C> configuration) Create a session manager using the specified configuration.
-
Method Details
-
createSessionManager
Create a session manager using the specified configuration.- Parameters:
configuration- a session manager configuration- Returns:
- a new session manager
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-