Package org.hdiv.session

Examples of org.hdiv.session.StateCache


  public IStateCache stateCache() {

    SecurityConfigBuilder builder = this.securityConfigBuilder();
    int maxPagesPerSession = builder.getMaxPagesPerSession();

    StateCache stateCache = new StateCache();
    if (maxPagesPerSession > 0) {
      stateCache.setMaxSize(maxPagesPerSession);
    }
    return stateCache;
  }
View Full Code Here


  }

  public void testStateCache() {

    StateCache stateCache = this.context.getBean(StateCache.class);
    assertNotNull(stateCache);

  }
View Full Code Here

TOP

Related Classes of org.hdiv.session.StateCache

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.