com.opensymphony.xwork.spring
Class SpringExternalReferenceResolver

java.lang.Object
  extended by com.opensymphony.xwork.spring.SpringExternalReferenceResolver
All Implemented Interfaces:
ExternalReferenceResolver, org.springframework.context.ApplicationContextAware

public class SpringExternalReferenceResolver
extends Object
implements ExternalReferenceResolver, org.springframework.context.ApplicationContextAware

Resolves an xwork external-ref references to a component available from Spring application context.

Author:
Ross

Field Summary
protected  org.springframework.context.ApplicationContext applicationContext
           
 
Constructor Summary
SpringExternalReferenceResolver()
           
 
Method Summary
 void resolveReferences(ActionInvocation invocation)
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

applicationContext

protected org.springframework.context.ApplicationContext applicationContext
Constructor Detail

SpringExternalReferenceResolver

public SpringExternalReferenceResolver()
Method Detail

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware

resolveReferences

public void resolveReferences(ActionInvocation invocation)
                       throws ReferenceResolverException
Specified by:
resolveReferences in interface ExternalReferenceResolver
Throws:
ReferenceResolverException

XWork Project Page