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,org.wildfly.clustering.ee.Creator<String,Map.Entry<MV,AV>,Void>,ImmutableSessionFactory<MV,AV>,org.wildfly.clustering.ee.Locator<String,Map.Entry<MV,AV>>,org.wildfly.clustering.ee.Remover<String>
- All Known Implementing Classes:
CompositeSessionFactory
public interface SessionFactory<SC,MV,AV,LC> extends ImmutableSessionFactory<MV,AV>, org.wildfly.clustering.ee.Creator<String,Map.Entry<MV,AV>,Void>, org.wildfly.clustering.ee.Remover<String>, AutoCloseable
Factory for creating sessions. Encapsulates the cache mapping strategy for sessions.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Session<LC>createSession(String id, Map.Entry<MV,AV> entry, SC context)SessionAttributesFactory<SC,AV>getAttributesFactory()SessionMetaDataFactory<MV>getMetaDataFactory()-
Methods inherited from interface org.wildfly.clustering.web.cache.session.ImmutableSessionFactory
createImmutableSession, createImmutableSession
-
-
-
-
Method Detail
-
getMetaDataFactory
SessionMetaDataFactory<MV> getMetaDataFactory()
- Specified by:
getMetaDataFactoryin interfaceImmutableSessionFactory<SC,MV>
-
getAttributesFactory
SessionAttributesFactory<SC,AV> getAttributesFactory()
- Specified by:
getAttributesFactoryin interfaceImmutableSessionFactory<SC,MV>
-
close
void close()
- Specified by:
closein interfaceAutoCloseable
-
-