webwork.examples.events
Class LoginCounter

java.lang.Object
  extended bywebwork.action.ActionSupport
      extended bywebwork.examples.events.LoginCounter
All Implemented Interfaces:
Action, IllegalArgumentAware, java.io.Serializable, SessionAware

public class LoginCounter
extends ActionSupport
implements SessionAware

This code is an adaptation of the EventHandler example from the Rocks homepage by Christian Cryder http://xmlc.enhydra.org/EventHandler/

See Also:
Serialized Form

Field Summary
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages, log
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
LoginCounter()
           
 
Method Summary
protected  java.lang.String doExecute()
           
 int getCount()
           
 void setSession(java.util.Map session)
           
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, addIllegalArgumentException, doDefault, doValidation, execute, getActionName, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getLocale, getPropertyEditorMessage, getText, getTexts, getTexts, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginCounter

public LoginCounter()
Method Detail

getCount

public int getCount()

setSession

public void setSession(java.util.Map session)
Specified by:
setSession in interface SessionAware

doExecute

protected java.lang.String doExecute()
Overrides:
doExecute in class ActionSupport


Copyright © 2001-2003 WebWork All Rights Reserved.