Package org.nuxeo.ecm.core.api
Interface CoreSessionService
-
- All Known Implementing Classes:
CoreSessionServiceImpl
public interface CoreSessionService
Service managing the creation ofCoreSessioninstances.- Since:
- 8.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description CloseableCoreSessioncreateCoreSession(String repositoryName, NuxeoPrincipal principal)Instantiates aCoreSession.intgetNumberOfOpenCoreSessions()Gets the number of open sessions.voidreleaseCoreSession(CloseableCoreSession session)Deprecated.since 11.1, does nothing
-
-
-
Method Detail
-
createCoreSession
CloseableCoreSession createCoreSession(String repositoryName, NuxeoPrincipal principal)
Instantiates aCoreSession.- Parameters:
repositoryName- the repository nameprincipal- the principal- Returns:
- a
CloseableCoreSession
-
releaseCoreSession
@Deprecated void releaseCoreSession(CloseableCoreSession session)
Deprecated.since 11.1, does nothingDoes nothing.- Parameters:
session- the session to close
-
getNumberOfOpenCoreSessions
int getNumberOfOpenCoreSessions()
Gets the number of open sessions.
-
-