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: LifeTimeJCRSessionUtil.java 41137 2011-01-06 18:19:25Z gjoseph $
Author:
philipp

Constructor Summary
LifeTimeJCRSessionUtil()
           
 
Method Summary
static HierarchyManager getHierarchyManager(String repository)
           
static QueryManager getQueryManager(String repository)
           
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

public static HierarchyManager getHierarchyManager(String repository)

getQueryManager

public static QueryManager getQueryManager(String repository)

release

public static void release()


Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.