Interface CoreSessionService

All Known Implementing Classes:
CoreSessionServiceImpl

public interface CoreSessionService
Service managing the creation of CoreSession instances.
Since:
8.4
  • Method Details

    • createCoreSession

      CloseableCoreSession createCoreSession(String repositoryName, NuxeoPrincipal principal)
      Instantiates a CoreSession.
      Parameters:
      repositoryName - the repository name
      principal - the principal
      Returns:
      a CloseableCoreSession
    • releaseCoreSession

      @Deprecated void releaseCoreSession(CloseableCoreSession session)
      Deprecated.
      since 11.1, does nothing
      Does nothing.
      Parameters:
      session - the session to close
    • getNumberOfOpenCoreSessions

      int getNumberOfOpenCoreSessions()
      Gets the number of open sessions.