com.opensymphony.xwork2.Result Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xwork Show documentation
Show all versions of xwork Show documentation
XWork is an command-pattern framework that is used to power WebWork
as well as other applications. XWork provides an Inversion of Control
container, a powerful expression language, data type conversion,
validation, and pluggable configuration.
/*
* Copyright (c) 2002-2006 by OpenSymphony
* All rights reserved.
*/
package com.opensymphony.xwork2;
import java.io.Serializable;
/**
* All results (except for NONE) of an Action are mapped to a View implementation.
* Examples of Views might be:
*
* - SwingPanelView - pops up a new Swing panel
* - ActionChainView - executes another action
* - SerlvetRedirectView - redirects the HTTP response to a URL
* - ServletDispatcherView - dispatches the HTTP response to a URL
*
*
* @author plightbo
* @version $Revision: 1063 $
*/
public interface Result extends Serializable {
/**
* Represents a generic interface for all action execution results, whether that be displaying a webpage, generating
* an email, sending a JMS message, etc.
*/
public void execute(ActionInvocation invocation) throws Exception;
}