com.opensymphony.xwork2.ognl.OgnlReflectionContextFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xwork Show documentation
Show all versions of xwork Show documentation
XWork is an command-pattern framework that is used to power WebWork
as well as other applications. XWork provides an Inversion of Control
container, a powerful expression language, data type conversion,
validation, and pluggable configuration.
package com.opensymphony.xwork2.ognl;
import java.util.Map;
import ognl.Ognl;
import com.opensymphony.xwork2.util.reflection.ReflectionContextFactory;
public class OgnlReflectionContextFactory implements ReflectionContextFactory {
public Map createDefaultContext(Object root) {
return Ognl.createDefaultContext(root);
}
}