@Singleton public class JCRSessionPerThreadSystemContext extends AbstractSystemContext implements ThreadDependentSystemContext
originalContextThreadLocal, repositoryStrategyThreadLocal
locale
APPLICATION_SCOPE, ATTRIBUTE_COMMENT, ATTRIBUTE_EXCEPTION, ATTRIBUTE_MESSAGE, ATTRIBUTE_PATH, ATTRIBUTE_RECURSIVE, ATTRIBUTE_REPOSITORY, ATTRIBUTE_REQUESTOR, ATTRIBUTE_USERNAME, ATTRIBUTE_UUID, ATTRIBUTE_VERSION, ATTRIBUTE_VERSION_MAP, LOCAL_SCOPE, SESSION_SCOPE
Constructor and Description |
---|
JCRSessionPerThreadSystemContext() |
Modifier and Type | Method and Description |
---|---|
JCRSessionStrategy |
getRepositoryStrategy() |
void |
releaseThread()
Release all thread related stuff of the system context.
|
getLocale, getOriginalContext, removeAttribute, setAttribute, setOriginalContext
clear, containsKey, containsValue, entrySet, get, getAccessManager, getAttribute, getAttribute, getAttributes, getAttributes, getAttributeStrategy, getHierarchyManager, getJCRSession, getMessages, getMessages, getQueryManager, getSubject, getUser, isEmpty, keySet, put, putAll, release, remove, removeAttribute, setAttributeStrategy, setLocale, setRepositoryStrategy, size, values
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOriginalContext
getAccessManager, getAttribute, getAttribute, getAttributes, getAttributes, getHierarchyManager, getJCRSession, getLocale, getMessages, getMessages, getQueryManager, getSubject, getUser, release, removeAttribute, setAttribute, setLocale
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public JCRSessionStrategy getRepositoryStrategy()
getRepositoryStrategy
in class AbstractContext
public void releaseThread()
ThreadDependentSystemContext
releaseThread
in interface ThreadDependentSystemContext
Copyright © 2003–2017 Magnolia International Ltd.. All rights reserved.