Class BasicAppContext

java.lang.Object
java.util.AbstractMap<String,Object>
java.util.HashMap<String,Object>
org.apache.commons.chain.impl.ContextBase
org.exoplatform.frameworks.jcr.command.BasicAppContext
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>, org.apache.commons.chain.Context, JCRAppContext
Direct Known Subclasses:
CliAppContext

public class BasicAppContext extends org.apache.commons.chain.impl.ContextBase implements JCRAppContext
Created by The eXo Platform SAS .
Version:
$Id: BasicAppContext.java 10160 2006-11-08 09:14:24Z geaz $
Author:
Gennady Azarenkov
See Also:
  • Field Details

    • LOG

      protected static final org.exoplatform.services.log.Log LOG
    • sessionProvider

      protected final org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider
    • repository

      protected final org.exoplatform.services.jcr.core.ManageableRepository repository
    • currentWorkspace

      protected String currentWorkspace
  • Constructor Details

  • Method Details

    • getSession

      public javax.jcr.Session getSession() throws javax.jcr.LoginException, javax.jcr.NoSuchWorkspaceException, javax.jcr.RepositoryException
      Description copied from interface: JCRAppContext
      Return Session of the context.
      Specified by:
      getSession in interface JCRAppContext
      Returns:
      the session
      Throws:
      javax.jcr.LoginException
      javax.jcr.NoSuchWorkspaceException
      javax.jcr.RepositoryException
    • setCurrentWorkspace

      public void setCurrentWorkspace(String workspaceName)
      Description copied from interface: JCRAppContext
      Change current workspace name.
      Specified by:
      setCurrentWorkspace in interface JCRAppContext
      Parameters:
      workspaceName -