org.apache.struts2.spring
Class StrutsSpringObjectFactory

java.lang.Object
  extended by com.opensymphony.xwork2.ObjectFactory
      extended by com.opensymphony.xwork2.spring.SpringObjectFactory
          extended by org.apache.struts2.spring.StrutsSpringObjectFactory
All Implemented Interfaces:
ObjectFactoryInitializable, org.springframework.context.ApplicationContextAware

public class StrutsSpringObjectFactory
extends com.opensymphony.xwork2.spring.SpringObjectFactory
implements ObjectFactoryInitializable

Struts object factory that integrates with Spring.

Spring should be loaded using a web context listener org.springframework.web.context.ContextLoaderListener defined in web.xml.


Field Summary
 
Fields inherited from class com.opensymphony.xwork2.spring.SpringObjectFactory
appContext, autowireStrategy, autoWiringFactory
 
Constructor Summary
StrutsSpringObjectFactory()
           
 
Method Summary
 void init(javax.servlet.ServletContext servletContext)
           
 
Methods inherited from class com.opensymphony.xwork2.spring.SpringObjectFactory
autoWireBean, autoWireBean, buildBean, buildBean, findAutoWiringBeanFactory, getAutowireStrategy, getClassInstance, initObjectFactory, isNoArgConstructorRequired, setApplicationContext, setAutowireStrategy, setUseClassCache
 
Methods inherited from class com.opensymphony.xwork2.ObjectFactory
buildAction, buildInterceptor, buildResult, buildValidator, getContinuationPackage, getObjectFactory, setContinuationPackage, setObjectFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StrutsSpringObjectFactory

public StrutsSpringObjectFactory()
Method Detail

init

public void init(javax.servlet.ServletContext servletContext)
Specified by:
init in interface ObjectFactoryInitializable


Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.