Class OgnlReflectionContextFactory

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

public class OgnlReflectionContextFactory extends Object implements ReflectionContextFactory
  • Constructor Details

    • OgnlReflectionContextFactory

      public OgnlReflectionContextFactory()
  • Method Details

    • createDefaultContext

      public Map createDefaultContext(Object root)
      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