info.magnolia.context
Class SystemRepositoryStrategy

java.lang.Object
  extended by info.magnolia.context.AbstractRepositoryStrategy
      extended by info.magnolia.context.SystemRepositoryStrategy
All Implemented Interfaces:
RepositoryAcquiringStrategy

public class SystemRepositoryStrategy
extends AbstractRepositoryStrategy

Uses a single full access AccessManager. JCR sessions are only released if no event listener were registered.


Constructor Summary
SystemRepositoryStrategy(SystemContext context)
           
 
Method Summary
 AccessManager getAccessManager(java.lang.String repositoryId, java.lang.String workspaceId)
           
protected  java.util.List<Permission> getSystemPermissions()
           
protected  java.lang.String getUserId()
           
 void release()
           
 
Methods inherited from class info.magnolia.context.AbstractRepositoryStrategy
decSessionCount, getHierarchyManager, getLocalSessionCount, getQueryManager, getRepositorySession, incSessionCount, release, releaseSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemRepositoryStrategy

public SystemRepositoryStrategy(SystemContext context)
Method Detail

getAccessManager

public AccessManager getAccessManager(java.lang.String repositoryId,
                                      java.lang.String workspaceId)

getSystemPermissions

protected java.util.List<Permission> getSystemPermissions()

getUserId

protected java.lang.String getUserId()
Specified by:
getUserId in class AbstractRepositoryStrategy

release

public void release()


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