PagePersistingSessionStore?
thats also a wrong name because if i would do this:
/**
* @see wicket.Application#newSessionStore()
*/
protected ISessionStore newSessionStore()
{
return new SecondLevelCacheSessionStore(new IPageStore()
{
/// default empty, does nothing, implementation....
});
}
then pages wouldn't be persisted anywhere except in a soft reference cache.
So back button works as long as the jvm didn't clear the soft references.
So we have
PageMap (holds a strong reference to the last/active page) ->
SecondLevelCache (soft reference to older pages) -> IPageStore (the actual
persistent store what ever that is (file/db))
johan