com.opensymphony.xwork2.factory

## Class DefaultResultFactory

- java.lang.Object
- - com.opensymphony.xwork2.factory.DefaultResultFactory

- All Implemented Interfaces:
    ResultFactory

  Deprecated.
  since 6.7.0, use `StrutsResultFactory` instead.

      @Deprecated
      public class DefaultResultFactory
      extends Object
      implements ResultFactory

  Default implementation

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultResultFactory()` Deprecated.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `Result` | `buildResult(ResultConfig resultConfig, Map<String,Object> extraContext)` Deprecated.
    `void` | `setObjectFactory(ObjectFactory objectFactory)` Deprecated.
    `void` | `setReflectionProvider(ReflectionProvider reflectionProvider)` Deprecated.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultResultFactory

          public DefaultResultFactory()

      Deprecated.

  - ### Method Detail

    - #### setObjectFactory

          public void setObjectFactory(ObjectFactory objectFactory)

      Deprecated.

    - #### setReflectionProvider

          public void setReflectionProvider(ReflectionProvider reflectionProvider)

      Deprecated.

    - #### buildResult

          public Result buildResult(ResultConfig resultConfig,
                                    Map<String,Object> extraContext)
                             throws Exception

      Deprecated.
      Specified by:
        `buildResult` in interface `ResultFactory`
      Throws:
        `Exception`

Copyright © 2000–2025 Apache Software Foundation. All rights reserved.