Package org.apache.struts2.ognl
Class OgnlReflectionContextFactory
java.lang.Object
org.apache.struts2.ognl.OgnlReflectionContextFactory
- All Implemented Interfaces:
ReflectionContextFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateDefaultContext
(Object root) Creates and returns a new standard naming context for evaluating an OGNL expression.
-
Constructor Details
-
OgnlReflectionContextFactory
public OgnlReflectionContextFactory()
-
-
Method Details
-
createDefaultContext
Description copied from interface:ReflectionContextFactory
Creates and returns a new standard naming context for evaluating an OGNL expression.- Specified by:
createDefaultContext
in interfaceReflectionContextFactory
- Parameters:
root
- the root of the object graph- Returns:
- a new Map with the keys
root
andcontext
set appropriately
-