public class CompositeSessionFactory<V,L> extends Object implements SessionFactory<CompositeSessionMetaDataEntry<L>,V,L>
| Constructor and Description |
|---|
CompositeSessionFactory(SessionMetaDataFactory<CompositeSessionMetaDataEntry<L>,L> metaDataFactory,
SessionAttributesFactory<V> attributesFactory,
LocalContextFactory<L> localContextFactory) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableSession |
createImmutableSession(String id,
ImmutableSessionMetaData metaData,
ImmutableSessionAttributes attributes) |
Session<L> |
createSession(String id,
Map.Entry<CompositeSessionMetaDataEntry<L>,V> entry) |
Map.Entry<CompositeSessionMetaDataEntry<L>,V> |
createValue(String id,
Void context) |
Map.Entry<CompositeSessionMetaDataEntry<L>,V> |
findValue(String id) |
SessionAttributesFactory<V> |
getAttributesFactory() |
SessionMetaDataFactory<CompositeSessionMetaDataEntry<L>,L> |
getMetaDataFactory() |
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>,L> metaDataFactory, SessionAttributesFactory<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>>public Map.Entry<CompositeSessionMetaDataEntry<L>,V> tryValue(String id)
tryValue in interface org.wildfly.clustering.ee.Locator<String,Map.Entry<CompositeSessionMetaDataEntry<L>,V>>public boolean remove(String id)
remove in interface org.wildfly.clustering.ee.Remover<String>public SessionMetaDataFactory<CompositeSessionMetaDataEntry<L>,L> getMetaDataFactory()
getMetaDataFactory in interface SessionFactory<CompositeSessionMetaDataEntry<L>,V,L>public SessionAttributesFactory<V> getAttributesFactory()
getAttributesFactory in interface SessionFactory<CompositeSessionMetaDataEntry<L>,V,L>public Session<L> createSession(String id, Map.Entry<CompositeSessionMetaDataEntry<L>,V> entry)
createSession in interface SessionFactory<CompositeSessionMetaDataEntry<L>,V,L>public ImmutableSession createImmutableSession(String id, ImmutableSessionMetaData metaData, ImmutableSessionAttributes attributes)
createImmutableSession in interface SessionFactory<CompositeSessionMetaDataEntry<L>,V,L>Copyright © 2019 JBoss by Red Hat. All rights reserved.