com.opensymphony.xwork2.interceptor
Class ExternalReferencesInterceptor

java.lang.Object
  extended by com.opensymphony.xwork2.interceptor.AbstractInterceptor
      extended by com.opensymphony.xwork2.interceptor.ExternalReferencesInterceptor
All Implemented Interfaces:
Interceptor, java.io.Serializable

public class ExternalReferencesInterceptor
extends AbstractInterceptor

TODO: Give a description of the Interceptor.

TODO: Describe the paramters for this Interceptor.

TODO: Discuss some possible extension of the Interceptor.

 
 <!-- TODO: Describe how the Interceptor reference will effect execution -->
 <action name="someAction" class="com.examples.SomeAction">
      TODO: fill in the interceptor reference.
     <interceptor-ref name=""/>
     <result name="success">good_result.ftl</result>
 </action>
 
 

Author:
Ross

Resolves external references using the ExternalReferenceResolver configured on the package Reference Resolution is encapsulated in an interceptor so that the user can configure when references should be resloved

See Also:
Serialized Form

Constructor Summary
ExternalReferencesInterceptor()
           
 
Method Summary
 java.lang.String intercept(ActionInvocation invocation)
          Override to handle interception
 
Methods inherited from class com.opensymphony.xwork2.interceptor.AbstractInterceptor
destroy, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalReferencesInterceptor

public ExternalReferencesInterceptor()
Method Detail

intercept

public java.lang.String intercept(ActionInvocation invocation)
                           throws java.lang.Exception
Description copied from class: AbstractInterceptor
Override to handle interception

Specified by:
intercept in interface Interceptor
Specified by:
intercept in class AbstractInterceptor
Returns:
the return code, either returned from ActionInvocation.invoke(), or from the interceptor itself.
Throws:
java.lang.Exception - any system-level error, as defined in Action.execute().


Copyright © 2006 OpenSymphony. All Rights Reserved.