com.opensymphony.xwork2
Interface Result

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ActionChainResult, MockResult

public interface Result
extends java.io.Serializable

All results (except for Action.NONE) of an Action are mapped to a View implementation.

Examples of Views might be:

Author:
plightbo

Method Summary
 void execute(ActionInvocation invocation)
          Represents a generic interface for all action execution results.
 

Method Detail

execute

void execute(ActionInvocation invocation)
             throws java.lang.Exception
Represents a generic interface for all action execution results. Whether that be displaying a webpage, generating an email, sending a JMS message, etc.

Parameters:
invocation - the invocation context.
Throws:
java.lang.Exception - can be thrown.


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