Class BasicAppContext

    • Field Detail

      • 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 Detail

      • BasicAppContext

        public BasicAppContext​(org.exoplatform.services.jcr.core.ManageableRepository rep)
                        throws NamingException
        Throws:
        NamingException
    • Method Detail

      • 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