1 Reply Latest reply on Sep 12, 2012 7:55 AM by rhauch

    Obtain a graph instance from a session

    gkalabin

      Hi everybody! I'm using ModeShape 2.8.*.

      I have a kind of stupid question.

      I have to execute Function (org.modeshape.graph.request.function.Function) by post request to server (I'm extending server rest api).

      I can't find any way to obtain ExecutionContext from javax.jcr.Session, Workspace or Repository. I get session object from RepositoryFactory.getSession method.

       

      Thank you for any help.

        • 1. Re: Obtain a graph instance from session
          rhauch

          Hi, Grigory.

           

          The "org.modeshape.graph.*" packages are an internal API and not suitable to be used by clients. In fact, these packages no longer exist in ModeShape 3.0. Instead, please restrict usage to the JCR API and ModeShape's public API (e.g., "org.modeshape.jcr.api" and subpackages).

           

          Best regards.