org.apache.wicket.devutils.inspector
Class SessionSizeModel

java.lang.Object
  extended by org.apache.wicket.model.LoadableDetachableModel<Bytes>
      extended by org.apache.wicket.devutils.inspector.SessionSizeModel
All Implemented Interfaces:
java.io.Serializable, IClusterable, IDetachable, IModel<Bytes>

public class SessionSizeModel
extends LoadableDetachableModel<Bytes>

See Also:
Serialized Form

Constructor Summary
SessionSizeModel(Session session)
          Construct.
 
Method Summary
protected  Bytes load()
          Loads and returns the (temporary) model object.
protected  void onDetach()
          Detaches from the current request.
 
Methods inherited from class org.apache.wicket.model.LoadableDetachableModel
detach, getObject, isAttached, onAttach, setObject, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SessionSizeModel

public SessionSizeModel(Session session)
Construct.

Parameters:
session -
Method Detail

load

protected Bytes load()
Description copied from class: LoadableDetachableModel
Loads and returns the (temporary) model object.

Specified by:
load in class LoadableDetachableModel<Bytes>
Returns:
the (temporary) model object

onDetach

protected void onDetach()
Description copied from class: LoadableDetachableModel
Detaches from the current request. Implement this method with custom behavior, such as setting the model object to null.

Overrides:
onDetach in class LoadableDetachableModel<Bytes>


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