/** * @see org.apache.wicket.protocol.http.AbstractHttpSessionStore#onUnbind(java.lang.String) */ @Override protected void onUnbind(String sessionId) { getStore().unbind(sessionId); } }
/** * @see org.apache.wicket.protocol.http.AbstractHttpSessionStore#onUnbind(java.lang.String) */ protected void onUnbind(String sessionId) { getStore().unbind(sessionId); } }
/** * @see org.apache.wicket.protocol.http.AbstractHttpSessionStore#destroy() */ @Override public void destroy() { super.destroy(); getStore().destroy(); }
/** * @see org.apache.wicket.protocol.http.AbstractHttpSessionStore#destroy() */ public void destroy() { super.destroy(); getStore().destroy(); }
private IPageStore getPageStore() { Application application = Application.get(applicationKey); if (application != null) { SecondLevelCacheSessionStore store = (SecondLevelCacheSessionStore)application.getSessionStore(); return store.getStore(); } else { // may happen when getPageStore() is called before application is initialized // for example on session initialization when cluster node starts return null; } }
private IPageStore getStore() { return ((SecondLevelCacheSessionStore)Application.get().getSessionStore()).getStore(); }
private IPageStore getStore() { return ((SecondLevelCacheSessionStore)Application.get().getSessionStore()).getStore(); }
private IPageStore getPageStore() { Application application = Application.get(applicationKey); if (application != null) { SecondLevelCacheSessionStore store = (SecondLevelCacheSessionStore)application.getSessionStore(); return store.getStore(); } else { // may happen when getPageStore() is called before application is initialized // for example on session initialization when cluster node starts return null; } }
.getSessionStore()).getStore();
.getSessionStore()).getStore();