Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you want to just extend one part of ObjectFactory, ie. to change how Result Types are build, you can implement ResultBuilder ResultFactory interface below and register it with dedicated name, see Extension Points for more details. All these builders factories are available as from version 2.3.16.

List of Builder Factory interfaces:

  • ResultBuilder ResultFactory - dedicated interfaces used by ObjectFactory to build create Result Types
    • StrutsResultBuilder StrutsResultFactory it's internal implementation which checks if Result implements ParamNameAwareResult interface to restrict names of parameters set on the instance of Result, see Result Types for more info.
  • ActionFactory - dedicated interface used by ObjectFactory to actions
  • InterceptorFactory - dedicated interface used by ObjectFactory to create interceptors
  • ValidatorFactory - dedicated interface used by ObjectFactory to create validators
  • ConverterFactory - dedicated interface used by ObjectFactory to create instances of TypeConverter

Next: ActionMapper