info.magnolia.context
Class LifeTimeJCRSessionUtil

java.lang.Object
  extended by info.magnolia.context.LifeTimeJCRSessionUtil

public class LifeTimeJCRSessionUtil
extends Object

Returns HierarchyManagers which use a life time session. If the SystemContext uses single session the same session will be used. Otherwise an own instance of SystemRepositoryStrategy is used.

Version:
$Id$

Constructor Summary
LifeTimeJCRSessionUtil()
           
 
Method Summary
static HierarchyManager getHierarchyManager(String workspaceName)
          Deprecated. 
static QueryManager getQueryManager(String workspaceName)
          Deprecated. 
static javax.jcr.Session getSession(String workspaceName)
           
static void release()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LifeTimeJCRSessionUtil

public LifeTimeJCRSessionUtil()
Method Detail

getHierarchyManager

@Deprecated
public static HierarchyManager getHierarchyManager(String workspaceName)
Deprecated. 


getSession

public static javax.jcr.Session getSession(String workspaceName)
                                    throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

getQueryManager

@Deprecated
public static QueryManager getQueryManager(String workspaceName)
Deprecated. 


release

public static void release()


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