Package org.nuxeo.ecm.core.api
Interface CoreSessionService
-
- All Known Implementing Classes:
CoreSessionServiceImpl
public interface CoreSessionService
Service managing the creation ofCoreSession
instances.- Since:
- 8.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description CloseableCoreSession
createCoreSession(String repositoryName, NuxeoPrincipal principal)
Instantiates aCoreSession
.int
getNumberOfOpenCoreSessions()
Gets the number of open sessions.void
releaseCoreSession(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.
-
-