com.opensymphony.xwork2.ognl

## Class OgnlReflectionContextFactory

- java.lang.Object
- - com.opensymphony.xwork2.ognl.OgnlReflectionContextFactory

- All Implemented Interfaces:
    ReflectionContextFactory

  Deprecated.
  since 6.8.0, to be removed, see `ReflectionContextFactory`

      @Deprecated
      public class OgnlReflectionContextFactory
      extends Object
      implements ReflectionContextFactory

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OgnlReflectionContextFactory()` Deprecated.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map` | `createDefaultContext(Object root)` Deprecated. Creates and returns a new standard naming context for evaluating an OGNL expression.

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

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

- - ### Constructor Detail

    - #### OgnlReflectionContextFactory

          public OgnlReflectionContextFactory()

      Deprecated.

  - ### Method Detail

    - #### createDefaultContext

          public Map createDefaultContext(Object root)

      Deprecated.
      Description copied from interface: `ReflectionContextFactory`
      Creates and returns a new standard naming context for evaluating an OGNL expression.
      Specified by:
        `createDefaultContext` in interface `ReflectionContextFactory`
      Parameters:
        `root` - the root of the object graph
      Returns:
        a new Map with the keys `root` and `context` set appropriately

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