|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.opensymphony.xwork2.ObjectFactory
com.opensymphony.xwork2.spring.SpringObjectFactory
org.apache.struts2.spring.StrutsSpringObjectFactory
public class StrutsSpringObjectFactory
Struts object factory that integrates with Spring.
Spring should be loaded using a web context listenerorg.springframework.web.context.ContextLoaderListener defined in web.xml.
| Field Summary |
|---|
| Fields inherited from class com.opensymphony.xwork2.spring.SpringObjectFactory |
|---|
appContext, autowireStrategy, autoWiringFactory |
| Fields inherited from class com.opensymphony.xwork2.ObjectFactory |
|---|
reflectionProvider |
| Constructor Summary | |
|---|---|
StrutsSpringObjectFactory(String autoWire,
String alwaysAutoWire,
String useClassCacheStr,
javax.servlet.ServletContext servletContext,
String devMode,
com.opensymphony.xwork2.inject.Container container)
Constructs the spring object factory |
|
| Method Summary |
|---|
| Methods inherited from class com.opensymphony.xwork2.spring.SpringObjectFactory |
|---|
autoWireBean, autoWireBean, buildBean, buildBean, findAutoWiringBeanFactory, getAutowireStrategy, getClassInstance, initObjectFactory, isNoArgConstructorRequired, setAlwaysRespectAutowireStrategy, setApplicationContext, setApplicationContextPath, setAutowireStrategy, setUseClassCache |
| Methods inherited from class com.opensymphony.xwork2.ObjectFactory |
|---|
buildAction, buildBean, buildConverter, buildConverter, buildConverter, buildInterceptor, buildResult, buildValidator, getObjectFactory, injectInternalBeans, setClassLoader, setContainer, setReflectionProvider |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StrutsSpringObjectFactory(String autoWire,
String alwaysAutoWire,
String useClassCacheStr,
javax.servlet.ServletContext servletContext,
String devMode,
com.opensymphony.xwork2.inject.Container container)
autoWire - The type of autowiring to usealwaysAutoWire - Whether to always respect the autowiring or notuseClassCacheStr - Whether to use the class cache or notservletContext - The servlet context
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||