Interface SessionFactory<SC,MV,AV,LC>
- Type Parameters:
SC- the ServletContext specification typeMV- the meta-data value typeAV- the attributes value typeLC- the local context type
- All Superinterfaces:
AutoCloseable,Creator<String,,Map.Entry<MV, AV>, Duration> ImmutableSessionFactory<MV,,AV> Locator<String,,Map.Entry<MV, AV>> Remover<String>
- All Known Implementing Classes:
CompositeSessionFactory
public interface SessionFactory<SC,MV,AV,LC>
extends ImmutableSessionFactory<MV,AV>, Creator<String,Map.Entry<MV,AV>,Duration>, Remover<String>, AutoCloseable
Factory for creating sessions. Encapsulates the cache mapping strategy for sessions.
- Author:
- Paul Ferraro
-
Method Summary
Methods inherited from interface org.wildfly.clustering.ee.Creator
createValueMethods inherited from interface org.wildfly.clustering.web.cache.session.ImmutableSessionFactory
createImmutableSession, createImmutableSession
-
Method Details
-
getMetaDataFactory
SessionMetaDataFactory<MV> getMetaDataFactory()- Specified by:
getMetaDataFactoryin interfaceImmutableSessionFactory<SC,MV>
-
getAttributesFactory
SessionAttributesFactory<SC,AV> getAttributesFactory()- Specified by:
getAttributesFactoryin interfaceImmutableSessionFactory<SC,MV>
-
createSession
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-