Class StrutsSpringObjectFactory

All Implemented Interfaces:
Serializable, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class StrutsSpringObjectFactory extends SpringObjectFactory

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.

See Also:
  • Constructor Details

    • StrutsSpringObjectFactory

      public StrutsSpringObjectFactory()
    • StrutsSpringObjectFactory

      public StrutsSpringObjectFactory(String autoWire, String alwaysAutoWire, String useClassCacheStr, String enableAopSupport, jakarta.servlet.ServletContext servletContext, String devMode, Container container)
      Constructs the spring object factory
      Parameters:
      autoWire - The type of autowiring to use
      alwaysAutoWire - Whether to always respect the autowiring or not
      useClassCacheStr - Whether to use the class cache or not
      enableAopSupport - enable AOP support
      servletContext - The servlet context
      devMode - development mode
      Since:
      2.1.3