org.apache.struts2.config
Class NullResult

java.lang.Object
  extended by org.apache.struts2.config.NullResult
All Implemented Interfaces:
Result, Serializable

public class NullResult
extends Object
implements Result

Null result to get around annotation defaults that can't be null

See Also:
Serialized Form

Constructor Summary
NullResult()
           
 
Method Summary
 void execute(ActionInvocation invocation)
          Represents a generic interface for all action execution results.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullResult

public NullResult()
Method Detail

execute

public void execute(ActionInvocation invocation)
             throws Exception
Description copied from interface: Result
Represents a generic interface for all action execution results. Whether that be displaying a webpage, generating an email, sending a JMS message, etc.

Specified by:
execute in interface Result
Parameters:
invocation - the invocation context.
Throws:
Exception - can be thrown.


Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.