com.google.inject.struts2

Class Struts2Factory

  • java.lang.Object
    • com.opensymphony.xwork2.ObjectFactory
      • com.google.inject.struts2.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.
    Author:
    dhanji@gmail.com, benmccann.com
    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 interceptorRefParams)
                                                                         throws com.opensymphony.xwork2.config.ConfigurationException
        Overrides:
        buildInterceptor in class com.opensymphony.xwork2.ObjectFactory
        Throws:
        com.opensymphony.xwork2.config.ConfigurationException

Copyright © 2006-2016 Google, Inc.. All Rights Reserved.