Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 27th, 2012  |  syntax: None  |  size: 0.74 KB  |  hits: 8  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. @Override
  2.     protected ISessionStore newSessionStore()
  3.     {
  4.         return new SecondLevelCacheSessionStore(this, new SecondLevelCacheSessionStore.IPageStore()
  5.         {
  6.             public void destroy() { }
  7.  
  8.             public Page getPage(String s, String s1, int i, int i1, int i2)
  9.             {
  10.                 return null;
  11.             }
  12.  
  13.             public void pageAccessed(String s, Page page) { }
  14.  
  15.             public void removePage(String s, String s1, int i) { }
  16.  
  17.             public void storePage(String s, Page page) { }
  18.  
  19.             public void unbind(String s) { }
  20.  
  21.             public boolean containsPage(String s, String s1, int i, int i1)
  22.             {
  23.                 return false;
  24.             }
  25.         });
  26.     }