Class SessionIdentifiersModel
- java.lang.Object
-
- org.apache.wicket.model.LoadableDetachableModel<List<String>>
-
- org.apache.wicket.devutils.pagestore.browser.SessionIdentifiersModel
-
- All Implemented Interfaces:
Serializable
,IDetachable
,IModel<List<String>>
,IClusterable
public class SessionIdentifiersModel extends LoadableDetachableModel<List<String>>
A model that collects the keys from theDiskPageStore
folder- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SessionIdentifiersModel(IModel<IPersistentPageStore> store)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
detach()
Detaches model after use.protected List<String>
load()
Loads and returns the (temporary) model object.-
Methods inherited from class org.apache.wicket.model.LoadableDetachableModel
getObject, isAttached, of, onAttach, onDetach, setObject, toString
-
-
-
-
Constructor Detail
-
SessionIdentifiersModel
public SessionIdentifiersModel(IModel<IPersistentPageStore> store)
-
-
Method Detail
-
load
protected List<String> load()
Description copied from class:LoadableDetachableModel
Loads and returns the (temporary) model object.- Specified by:
load
in classLoadableDetachableModel<List<String>>
- Returns:
- the (temporary) model object
-
detach
public void detach()
Description copied from interface:IDetachable
Detaches model after use. This is generally used to null out transient references that can be re-attached later.- Specified by:
detach
in interfaceIDetachable
- Specified by:
detach
in interfaceIModel<List<String>>
- Overrides:
detach
in classLoadableDetachableModel<List<String>>
-
-