ony.xwork.2.0.4.source-code.xwork-default.xml 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.
<!DOCTYPE xwork PUBLIC "-//OpenSymphony Group//XWork 2.0//EN" "http://www.opensymphony.com/xwork/xwork-2.0.dtd"> <xwork> <bean class="com.opensymphony.xwork2.ObjectFactory" /> <bean type="com.opensymphony.xwork2.ActionProxyFactory" class="com.opensymphony.xwork2.DefaultActionProxyFactory"/> <bean type="com.opensymphony.xwork2.util.ObjectTypeDeterminer" class="com.opensymphony.xwork2.util.DefaultObjectTypeDeterminer"/> <bean name="xwork1" type="com.opensymphony.xwork2.util.ObjectTypeDeterminer" class="com.opensymphony.xwork2.util.DefaultObjectTypeDeterminer"/> <bean name="xwork1" type="com.opensymphony.xwork2.util.XWorkConverter" class="com.opensymphony.xwork2.util.XWorkConverter" /> <bean type="com.opensymphony.xwork2.util.XWorkConverter" class="com.opensymphony.xwork2.util.XWorkConverter" /> <!-- static injections --> <bean class="com.opensymphony.xwork2.util.OgnlValueStack" static="true" /> <bean class="com.opensymphony.xwork2.util.XWorkConverter" static="true" /> <package name="xwork-default"> <!-- START SNIPPET: xwork2-default-result-types --> <result-types> <result-type name="chain" class="com.opensymphony.xwork2.ActionChainResult"/> </result-types> <!-- END SNIPPET: xwork2-default-result-types --> <interceptors> <!-- START SNIPPET: xwork2-default-interceptors --> <interceptor name="timer" class="com.opensymphony.xwork2.interceptor.TimerInterceptor"/> <interceptor name="logger" class="com.opensymphony.xwork2.interceptor.LoggingInterceptor"/> <interceptor name="chain" class="com.opensymphony.xwork2.interceptor.ChainingInterceptor"/> <interceptor name="static-params" class="com.opensymphony.xwork2.interceptor.StaticParametersInterceptor"/> <interceptor name="params" class="com.opensymphony.xwork2.interceptor.ParametersInterceptor"/> <interceptor name="filter-params" class="com.opensymphony.xwork2.interceptor.ParameterFilterInterceptor"/> <interceptor name="remove-params" class="com.opensymphony.xwork2.interceptor.ParameterRemoverInterceptor"/> <interceptor name="model-driven" class="com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor"/> <interceptor name="scoped-model-driven" class="com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor"/> <interceptor name="validation" class="com.opensymphony.xwork2.validator.ValidationInterceptor"/> <interceptor name="workflow" class="com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor"/> <interceptor name="prepare" class="com.opensymphony.xwork2.interceptor.PrepareInterceptor"/> <interceptor name="conversionError" class="com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor"/> <interceptor name="alias" class="com.opensymphony.xwork2.interceptor.AliasInterceptor"/> <interceptor name="exception" class="com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor"/> <interceptor name="i18n" class="com.opensymphony.xwork2.interceptor.I18nInterceptor"/> <!-- END SNIPPET: xwork2-default-interceptors --> <!-- START SNIPPET: xwork2-default-interceptor-stack --> <interceptor-stack name="emptyStack"/> <interceptor-stack name="defaultStack"> <interceptor-ref name="static-params"/> <interceptor-ref name="params"/> <interceptor-ref name="conversionError"/> </interceptor-stack> <interceptor-stack name="validationWorkflowStack"> <interceptor-ref name="defaultStack"/> <interceptor-ref name="validation"/> <interceptor-ref name="workflow"/> </interceptor-stack> <!-- END SNIPPET: xwork2-default-interceptor-stack --> </interceptors> <default-class-ref class="com.opensymphony.xwork2.ActionSupport" /> </package> </xwork>