Package org.nuxeo.ecm.core.api
Interface CoreSessionService
- All Known Implementing Classes:
CoreSessionServiceImpl
public interface CoreSessionService
Service managing the creation of
CoreSession instances.- Since:
- 8.4
-
Method Summary
Modifier and TypeMethodDescriptioncreateCoreSession(String repositoryName, NuxeoPrincipal principal) Instantiates aCoreSession.intGets the number of open sessions.voidreleaseCoreSession(CloseableCoreSession session) Deprecated.since 11.1, does nothing
-
Method Details
-
createCoreSession
Instantiates aCoreSession.- Parameters:
repositoryName- the repository nameprincipal- the principal- Returns:
- a
CloseableCoreSession
-
releaseCoreSession
Deprecated.since 11.1, does nothingDoes nothing.- Parameters:
session- the session to close
-
getNumberOfOpenCoreSessions
int getNumberOfOpenCoreSessions()Gets the number of open sessions.
-