C - the ServletContext specification typeV - the session attribute value typeL - the local context typepublic class CompositeSessionFactory<C,V,L> extends CompositeImmutableSessionFactory<V,L> implements SessionFactory<C,CompositeSessionMetaDataEntry<L>,V,L>
| Constructor and Description |
|---|
CompositeSessionFactory(SessionMetaDataFactory<CompositeSessionMetaDataEntry<L>> metaDataFactory,
SessionAttributesFactory<C,V> attributesFactory,
LocalContextFactory<L> localContextFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ImmutableSession |
createImmutableSession(String id,
ImmutableSessionMetaData metaData,
ImmutableSessionAttributes attributes) |
Session<L> |
createSession(String id,
Map.Entry<CompositeSessionMetaDataEntry<L>,V> entry,
C context) |
Map.Entry<CompositeSessionMetaDataEntry<L>,V> |
createValue(String id,
Void context) |
Map.Entry<CompositeSessionMetaDataEntry<L>,V> |
findValue(String id) |
SessionAttributesFactory<C,V> |
getAttributesFactory() |
SessionMetaDataFactory<CompositeSessionMetaDataEntry<L>> |
getMetaDataFactory() |
boolean |
purge(String id) |
boolean |
remove(String id) |
Map.Entry<CompositeSessionMetaDataEntry<L>,V> |
tryValue(String id) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateImmutableSessionpublic CompositeSessionFactory(SessionMetaDataFactory<CompositeSessionMetaDataEntry<L>> metaDataFactory, SessionAttributesFactory<C,V> attributesFactory, LocalContextFactory<L> localContextFactory)
public Map.Entry<CompositeSessionMetaDataEntry<L>,V> createValue(String id, Void context)
public Map.Entry<CompositeSessionMetaDataEntry<L>,V> findValue(String id)
findValue in interface org.wildfly.clustering.ee.Locator<String,Map.Entry<CompositeSessionMetaDataEntry<L>,V>>findValue in class CompositeImmutableSessionFactory<V,L>public Map.Entry<CompositeSessionMetaDataEntry<L>,V> tryValue(String id)
tryValue in interface org.wildfly.clustering.ee.Locator<String,Map.Entry<CompositeSessionMetaDataEntry<L>,V>>tryValue in class CompositeImmutableSessionFactory<V,L>public boolean remove(String id)
remove in interface org.wildfly.clustering.ee.Remover<String>public boolean purge(String id)
purge in interface org.wildfly.clustering.ee.Remover<String>public SessionMetaDataFactory<CompositeSessionMetaDataEntry<L>> getMetaDataFactory()
getMetaDataFactory in interface ImmutableSessionFactory<CompositeSessionMetaDataEntry<L>,V>getMetaDataFactory in interface SessionFactory<C,CompositeSessionMetaDataEntry<L>,V,L>getMetaDataFactory in class CompositeImmutableSessionFactory<V,L>public SessionAttributesFactory<C,V> getAttributesFactory()
getAttributesFactory in interface ImmutableSessionFactory<CompositeSessionMetaDataEntry<L>,V>getAttributesFactory in interface SessionFactory<C,CompositeSessionMetaDataEntry<L>,V,L>getAttributesFactory in class CompositeImmutableSessionFactory<V,L>public Session<L> createSession(String id, Map.Entry<CompositeSessionMetaDataEntry<L>,V> entry, C context)
createSession in interface SessionFactory<C,CompositeSessionMetaDataEntry<L>,V,L>public ImmutableSession createImmutableSession(String id, ImmutableSessionMetaData metaData, ImmutableSessionAttributes attributes)
createImmutableSession in interface ImmutableSessionFactory<CompositeSessionMetaDataEntry<L>,V>createImmutableSession in class CompositeImmutableSessionFactory<V,L>public void close()
close in interface AutoCloseableclose in interface SessionFactory<C,CompositeSessionMetaDataEntry<L>,V,L>Copyright © 2021 JBoss by Red Hat. All rights reserved.