Class Struts2Factory

  • All Implemented Interfaces:
    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 Detail

      • Struts2Factory

        public Struts2Factory()
    • Method Detail

      • isNoArgConstructorRequired

        public boolean isNoArgConstructorRequired()
        Overrides:
        isNoArgConstructorRequired in class com.opensymphony.xwork2.ObjectFactory
      • buildBean

        public Object buildBean​(Class clazz,
                                Map<String,​Object> extraContext)
        Overrides:
        buildBean in class com.opensymphony.xwork2.ObjectFactory
      • buildInterceptor

        public com.opensymphony.xwork2.interceptor.Interceptor buildInterceptor​(com.opensymphony.xwork2.config.entities.InterceptorConfig interceptorConfig,
                                                                                Map<String,​String> interceptorRefParams)
                                                                         throws com.opensymphony.xwork2.config.ConfigurationException
        Overrides:
        buildInterceptor in class com.opensymphony.xwork2.ObjectFactory
        Throws:
        com.opensymphony.xwork2.config.ConfigurationException