info.magnolia.repository.mbean
Class TrackingSessionWrapper

java.lang.Object
  extended by info.magnolia.jcr.wrapper.DelegateSessionWrapper
      extended by info.magnolia.repository.mbean.TrackingSessionWrapper
All Implemented Interfaces:
javax.jcr.Session

public class TrackingSessionWrapper
extends DelegateSessionWrapper

Tracks the session to keep count of open sessions.

Version:
$Id$

Field Summary
 
Fields inherited from class info.magnolia.jcr.wrapper.DelegateSessionWrapper
wrapped
 
Fields inherited from interface javax.jcr.Session
ACTION_ADD_NODE, ACTION_READ, ACTION_REMOVE, ACTION_SET_PROPERTY
 
Constructor Summary
TrackingSessionWrapper(javax.jcr.Session wrapped, JCRStats jcrStats)
           
 
Method Summary
 void logout()
           
 
Methods inherited from class info.magnolia.jcr.wrapper.DelegateSessionWrapper
addLockToken, checkPermission, exportDocumentView, exportDocumentView, exportSystemView, exportSystemView, getAccessControlManager, getAttribute, getAttributeNames, getImportContentHandler, getItem, getLockTokens, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getNode, getNodeByIdentifier, getNodeByUUID, getProperty, getRepository, getRetentionManager, getRootNode, getUserID, getValueFactory, getWorkspace, getWrappedSession, hasCapability, hasPendingChanges, hasPermission, impersonate, importXML, isLive, itemExists, move, nodeExists, propertyExists, refresh, removeItem, removeLockToken, save, setNamespacePrefix, setWrappedSession, toString, unwrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TrackingSessionWrapper

public TrackingSessionWrapper(javax.jcr.Session wrapped,
                              JCRStats jcrStats)
Method Detail

logout

public void logout()
Specified by:
logout in interface javax.jcr.Session
Overrides:
logout in class DelegateSessionWrapper


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.