org.apache.wicket.examples.stateless
Class SessionModel

java.lang.Object
  extended by org.apache.wicket.model.AbstractReadOnlyModel
      extended by org.apache.wicket.examples.stateless.SessionModel
All Implemented Interfaces:
java.io.Serializable, IClusterable, IDetachable, IModel

public class SessionModel
extends AbstractReadOnlyModel

Model that displays whether a session was created yet, and if it was, prints the session id.

Author:
Eelco Hillenius
See Also:
Serialized Form

Constructor Summary
SessionModel()
           
 
Method Summary
 java.lang.Object getObject()
          Gets the model object.
 
Methods inherited from class org.apache.wicket.model.AbstractReadOnlyModel
detach, getObject, setObject, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SessionModel

public SessionModel()
Method Detail

getObject

public java.lang.Object getObject()
Description copied from interface: IModel
Gets the model object.

Specified by:
getObject in interface IModel
Specified by:
getObject in class AbstractReadOnlyModel
Returns:
The model object
See Also:
AbstractReadOnlyModel.getObject()


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.