org.apache.wicket.devutils.inspector
Class SessionTotalSizeModel

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

public class SessionTotalSizeModel
extends LoadableDetachableModel<Bytes>

See Also:
Serialized Form

Constructor Summary
SessionTotalSizeModel(Session session)
           
 
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

SessionTotalSizeModel

public SessionTotalSizeModel(Session 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 © 2004-2011 Apache Software Foundation. All Rights Reserved.