Package com.google.inject.struts2
Class Struts2Factory
- java.lang.Object
-
- com.opensymphony.xwork2.ObjectFactory
-
- com.google.inject.struts2.Struts2Factory
-
- All Implemented Interfaces:
java.io.Serializable
public class Struts2Factory extends com.opensymphony.xwork2.ObjectFactory
Cleanup up version from Bob's GuiceObjectFactory. Now works properly with GS2 and fixes several bugs.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Struts2Factory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
buildBean(java.lang.Class clazz, java.util.Map<java.lang.String,java.lang.Object> extraContext)
com.opensymphony.xwork2.interceptor.Interceptor
buildInterceptor(com.opensymphony.xwork2.config.entities.InterceptorConfig interceptorConfig, java.util.Map<java.lang.String,java.lang.String> interceptorRefParams)
java.lang.Class<?>
getClassInstance(java.lang.String name)
boolean
isNoArgConstructorRequired()
-
-
-
Method Detail
-
isNoArgConstructorRequired
public boolean isNoArgConstructorRequired()
- Overrides:
isNoArgConstructorRequired
in classcom.opensymphony.xwork2.ObjectFactory
-
getClassInstance
public java.lang.Class<?> getClassInstance(java.lang.String name) throws java.lang.ClassNotFoundException
- Overrides:
getClassInstance
in classcom.opensymphony.xwork2.ObjectFactory
- Throws:
java.lang.ClassNotFoundException
-
buildBean
public java.lang.Object buildBean(java.lang.Class clazz, java.util.Map<java.lang.String,java.lang.Object> extraContext)
-
buildInterceptor
public com.opensymphony.xwork2.interceptor.Interceptor buildInterceptor(com.opensymphony.xwork2.config.entities.InterceptorConfig interceptorConfig, java.util.Map<java.lang.String,java.lang.String> interceptorRefParams) throws com.opensymphony.xwork2.config.ConfigurationException
- Throws:
com.opensymphony.xwork2.config.ConfigurationException
-
-