Interface SessionManagerFactory<CC,SC>
- Type Parameters:
CC- the container 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<CC> 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
-