Package com.google.opengse.session

Examples of com.google.opengse.session.SessionCacheFactory


  }

  private synchronized SessionCache getSessionCache() {
    // create on demand
    if (session_cache_ == null) {
      SessionCacheFactory factory;
      try {
        // look up our SessionCacheFactory via JNDI
        // (this allows end users to plug in their own session stuff)
        factory = JNDIMain.lookup(SessionCacheFactory.class);
      } catch (NamingException e) {
        throw new RuntimeException(e);
      }

      session_cache_ = factory.createSessionCache(0);
//      if (session_id_key_ != null) {
//        session_cache_.setEncryptionKey(session_id_key_);
//      }
    }
    return session_cache_;
View Full Code Here

TOP

Related Classes of com.google.opengse.session.SessionCacheFactory

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.