Interface JCRAppContext

All Superinterfaces:
org.apache.commons.chain.Context, Map
All Known Implementing Classes:
BasicAppContext, CliAppContext, GenericWebAppContext

public interface JCRAppContext extends org.apache.commons.chain.Context
Created by The eXo Platform SAS .
Version:
$Id: JCRAppContext.java 5800 2006-05-28 18:03:31Z geaz $
Author:
Gennady Azarenkov
  • Method Details

    • setCurrentWorkspace

      void setCurrentWorkspace(String workspaceName)
      Change current workspace name.
      Parameters:
      workspaceName -
    • getSession

      javax.jcr.Session getSession() throws javax.jcr.LoginException, javax.jcr.NoSuchWorkspaceException, javax.jcr.RepositoryException
      Return Session of the context.
      Returns:
      the session
      Throws:
      javax.jcr.LoginException
      javax.jcr.NoSuchWorkspaceException
      javax.jcr.RepositoryException