public class ADFContextVariableResolverImpl
extends java.lang.Object
implements javax.servlet.jsp.el.VariableResolver
This variable resolver should not be seen as a replacement for the JSP/JSF variable resolvers. Those variable resolvers should be used whenever they are available in the container.
The ADFContextVariableResolverImpl does define an extended implicit object set for ADF. The following ADF implicit objects are supported:
securityContext -- Resolves to the current SecurityContext
.
Equivalent to invoking:
ADFContext.getCurrent().getSecurityContext()
If you wish to use the ADF variable resolver with one of the JSP or JSF variable resolvers then you may pass the JSP/JSF variable resolver instantiate one of the resolvers that decorate this resolver.
Constructor and Description |
---|
ADFContextVariableResolverImpl() |
ADFContextVariableResolverImpl(boolean resolveImplicit) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
resolveVariable(java.lang.Object ctx,
java.lang.String name) |
java.lang.Object |
resolveVariable(java.lang.String name) |
void |
setResolveImplicit(boolean resolveImplicit) |
public ADFContextVariableResolverImpl()
public ADFContextVariableResolverImpl(boolean resolveImplicit)
public void setResolveImplicit(boolean resolveImplicit)
public java.lang.Object resolveVariable(java.lang.String name) throws javax.servlet.jsp.el.ELException
resolveVariable
in interface javax.servlet.jsp.el.VariableResolver
javax.servlet.jsp.el.ELException
public java.lang.Object resolveVariable(java.lang.Object ctx, java.lang.String name)