Пример #1
0
 @Override
 public void shutdown() {
   try {
     repository.close();
   } catch (NuxeoException e) {
     log.error("Cannot close repository", e);
   }
 }
Пример #2
0
 @Override
 public int getActiveSessionsCount() {
   return repository.getActiveSessionsCount();
 }
Пример #3
0
 /*
  * Called by LocalSession.createSession
  */
 @Override
 public Session getSession(String sessionId) {
   return new SQLSession(repository.getConnection(), this, sessionId);
 }