Class OgnlReflectionContextFactory

java.lang.Object
org.apache.struts2.ognl.OgnlReflectionContextFactory
All Implemented Interfaces:
ReflectionContextFactory

@Deprecated(since="6.8.0", forRemoval=true) public class OgnlReflectionContextFactory extends Object implements ReflectionContextFactory
Deprecated, for removal: This API element is subject to removal in a future version.
since 6.8.0, to be removed, see ReflectionContextFactory
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ognl.OgnlContext
    Deprecated, for removal: This API element is subject to removal in a future version.
    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 Details

    • OgnlReflectionContextFactory

      public OgnlReflectionContextFactory()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • createDefaultContext

      public ognl.OgnlContext createDefaultContext(Object root)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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