|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.context.AbstractContext info.magnolia.context.AbstractSystemContext info.magnolia.context.JCRSessionPerThreadSystemContext
public class JCRSessionPerThreadSystemContext
A system context which creates jcrs sessions per thread (request). The sessions are released but not if any event listener has been registerd on a session.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Field Summary |
---|
Fields inherited from class info.magnolia.context.AbstractSystemContext |
---|
repositoryStrategyThreadLocal |
Fields inherited from class info.magnolia.context.AbstractContext |
---|
locale |
Fields inherited from interface info.magnolia.context.Context |
---|
APPLICATION_SCOPE, ATTRIBUTE_COMMENT, ATTRIBUTE_EXCEPTION, ATTRIBUTE_MESSAGE, ATTRIBUTE_PATH, ATTRIBUTE_RECURSIVE, ATTRIBUTE_REPOSITORY, ATTRIBUTE_UUID, ATTRIBUTE_VERSION, ATTRIBUTE_VERSION_MAP, LOCAL_SCOPE, SESSION_SCOPE |
Constructor Summary | |
---|---|
JCRSessionPerThreadSystemContext()
|
Method Summary | |
---|---|
RepositoryAcquiringStrategy |
getRepositoryStrategy()
|
void |
releaseThread()
Release all thread related stuff of the system context. |
Methods inherited from class info.magnolia.context.AbstractSystemContext |
---|
getLocale, removeAttribute, setAttribute, setLocale |
Methods inherited from class info.magnolia.context.AbstractContext |
---|
clear, containsKey, containsValue, entrySet, get, getAccessManager, getAccessManager, getAttribute, getAttribute, getAttributes, getAttributes, getAttributeStrategy, getHierarchyManager, getHierarchyManager, getMessages, getMessages, getQueryManager, getQueryManager, getUser, isEmpty, keySet, put, putAll, release, remove, removeAttribute, setAttributeStrategy, setRepositoryStrategy, size, values |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface info.magnolia.context.SystemContext |
---|
setLocale |
Methods inherited from interface info.magnolia.context.Context |
---|
getAccessManager, getAccessManager, getAttribute, getAttribute, getAttributes, getAttributes, getHierarchyManager, getHierarchyManager, getLocale, getMessages, getMessages, getQueryManager, getQueryManager, getUser, release, removeAttribute, setAttribute |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Constructor Detail |
---|
public JCRSessionPerThreadSystemContext()
Method Detail |
---|
public RepositoryAcquiringStrategy getRepositoryStrategy()
getRepositoryStrategy
in class AbstractContext
public void releaseThread()
ThreadDependentSystemContext
releaseThread
in interface ThreadDependentSystemContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |