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(String repositoryId, String workspaceId)
           
protected  List<Permission> getSystemPermissions()
           
protected  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(String repositoryId,
                                      String workspaceId)

getSystemPermissions

protected List<Permission> getSystemPermissions()

getUserId

protected String getUserId()
Specified by:
getUserId in class AbstractRepositoryStrategy

release

public void release()


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