Package org.openbp.server.context

Examples of org.openbp.server.context.SessionRegistry


      }

      // Register the context's session
      if (engine.getSessionMode() == SessionMode.AUTO)
      {
        SessionRegistry sessionRegistry = engine.getSessionRegistry();
        if (sessionRegistry != null)
        {
          if (sessionTimeout == -1L)
          {
            sessionTimeout = SettingUtil.getIntSetting(ServerConstants.SYSPROP_SERVERSESSION_TIMEOUT, 0);
          }
          sessionRegistry.registerSession(context.getId(), context, sessionTimeout);
        }
      }

      TokenContextService contextService = engine.getTokenContextService();
      contextService.saveContext(context);
View Full Code Here


    }
  }

  private void unregisterSession()
  {
    SessionRegistry sessionRegistry = engine.getSessionRegistry();
    if (sessionRegistry != null)
    {
      sessionRegistry.unregisterSession(context.getId());
    }
  }
View Full Code Here

TOP

Related Classes of org.openbp.server.context.SessionRegistry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.