info.magnolia.context
Interface JCRSessionStrategy

All Known Implementing Classes:
AbstractRepositoryStrategy, DefaultRepositoryStrategy, SystemRepositoryStrategy

public interface JCRSessionStrategy

Contract for repository access providers. Each provider needs to be able to provide heirarchy manager, query manager for repositories that are searchable and access manager for repositories with enabled security. If given functionality is not available on the reporisotry, provider needs to return null.

Version:
$Id$

Method Summary
 javax.jcr.Session getSession(String workspaceName)
           
 void release()
           
 

Method Detail

getSession

javax.jcr.Session getSession(String workspaceName)
                             throws javax.jcr.LoginException,
                                    javax.jcr.RepositoryException
Throws:
javax.jcr.LoginException
javax.jcr.RepositoryException

release

void release()


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