All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xwork.2.0.0.source-code.xwork-default.xml Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 2.0.3
Show newest version
<!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.GenericsObjectTypeDeterminer"/>
    <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.AnnotationXWorkConverter" />

    <!--  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="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"/>
  
  			<!-- END SNIPPET: xwork2-default-interceptors -->
  
  
  			<!-- START SNIPPET: xwork2-default-interceptor-stack -->
  
            <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>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy