Package com.opensymphony.xwork2
package com.opensymphony.xwork2
Main XWork interfaces and classes.
-
ClassDescriptionAll actions may implement this interface, which exposes the
execute()
method.This result invokes an entire other action, complete with it's own interceptor stack and result.The ActionContext is the context in which anAction
is executed.Provides hooks for handling key action eventsAnActionInvocation
represents the execution state of anAction
.ActionProxy is an extra layer between XWork and the action so that different proxies are possible.TheActionProxyFactory
is used to createActionProxy
s to be executed.Provides a default implementation for the most common actions.Adds support for invoke async actions.This is a compositeTextProvider
that takes in an array orList
ofTextProvider
s, it will consult each of them in order to get a composite result.The Default ActionInvocation implementationThe Default ActionProxy implementationDefault factory forActionProxyFactory
.Default implementation ofLocaleProvider
DefaultTextProvider gets texts from only the default resource bundles associated with the default bundles.Default implementation of UnknownHandlerManagerBasic interface to access file on the File System and to monitor changesFactory that creates FileManager, default toDefaultFileManager
Indicates that the implementing class can provide its ownLocale
.Allows delegate creation ofLocaleProvider
to another implementation provided by a user.ModelDriven<T>ModelDriven Actions provide a model object to be pushed onto the ValueStack in addition to the Action itself, allowing a FormBean type approach like Struts.ObjectFactory is responsible for building the core framework objects.Preparable Actions will have theirprepare()
method called if thePrepareInterceptor
is applied to the ActionConfig.Extension Interface for TextProvider to help supporting ResourceBundles.All results (except forAction.NONE
) of anAction
are mapped to a View implementation.This factory enables users to provide and correctly initialize a custom TextProvider.Provides access toResourceBundle
s and their underlying text messages.Default TextProvider implementation.Simple marker interface to indicate an object should not have its properties copied during chaining.Handles cases when the result or action is unknown.An unknown handler manager contains a list of UnknownHandler and iterates on them by orderProvides an interface in which a call for a validation check can be done.Provides a default implementation of ValidationAware.Base JUnit TestCase to extend for XWork specific JUnit tests.