org.apache.wicket
Class DefaultPageManagerProvider

java.lang.Object
  extended by org.apache.wicket.DefaultPageManagerProvider
All Implemented Interfaces:
IPageManagerProvider, IContextProvider<IPageManager,IPageManagerContext>
Direct Known Subclasses:
DebugPageManagerProvider

public class DefaultPageManagerProvider
extends java.lang.Object
implements IPageManagerProvider

IPageManagerProvider implementation that creates new instance of IPageManager that persists the pages in DiskDataStore


Field Summary
protected  Application application
           
 
Constructor Summary
DefaultPageManagerProvider(Application application)
          Construct.
 
Method Summary
 IPageManager get(IPageManagerContext pageManagerContext)
          Provides an instance of type T
protected  IDataStore newDataStore()
           
protected  IPageStore newPageStore(IDataStore dataStore)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

application

protected final Application application
Constructor Detail

DefaultPageManagerProvider

public DefaultPageManagerProvider(Application application)
Construct.

Parameters:
application -
Method Detail

get

public IPageManager get(IPageManagerContext pageManagerContext)
Description copied from interface: IContextProvider
Provides an instance of type T

Specified by:
get in interface IContextProvider<IPageManager,IPageManagerContext>
Parameters:
pageManagerContext - the context parameter on which the instance depends
Returns:
instance of type T

newPageStore

protected IPageStore newPageStore(IDataStore dataStore)

newDataStore

protected IDataStore newDataStore()


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.