info.magnolia.context
Class LifeTimeJCRSessionUtil

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

public class LifeTimeJCRSessionUtil
extends java.lang.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 32667 2010-03-13 00:37:06Z gjoseph $
Author:
philipp

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

getQueryManager

public static QueryManager getQueryManager(java.lang.String repository)


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