Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 2 (11.1.2.3.0)

E17486-04


oracle.adf.share.el
Class ADFContextVariableResolverImpl

java.lang.Object
  extended by oracle.adf.share.el.ADFContextVariableResolverImpl

All Implemented Interfaces:
javax.servlet.jsp.el.VariableResolver

public class ADFContextVariableResolverImpl
extends java.lang.Object
implements javax.servlet.jsp.el.VariableResolver

A variable resolver that may be used against the ADFContext. This variable resolver may be used when other variable resolvers like the FacesContext variable resolver and the PageContext variable resolver are not available.

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.

Since:
release specific (what release of product did this appear in)

Constructor Summary
ADFContextVariableResolverImpl()
           
ADFContextVariableResolverImpl(boolean resolveImplicit)
           

 

Method Summary
 java.lang.Object resolveVariable(java.lang.Object ctx, java.lang.String name)
           
 java.lang.Object resolveVariable(java.lang.String name)
           
 void setResolveImplicit(boolean resolveImplicit)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ADFContextVariableResolverImpl

public ADFContextVariableResolverImpl()

ADFContextVariableResolverImpl

public ADFContextVariableResolverImpl(boolean resolveImplicit)

Method Detail

setResolveImplicit

public void setResolveImplicit(boolean resolveImplicit)

resolveVariable

public java.lang.Object resolveVariable(java.lang.String name)
                                 throws javax.servlet.jsp.el.ELException
Specified by:
resolveVariable in interface javax.servlet.jsp.el.VariableResolver
Throws:
javax.servlet.jsp.el.ELException

resolveVariable

public java.lang.Object resolveVariable(java.lang.Object ctx,
                                        java.lang.String name)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 2 (11.1.2.3.0)

E17486-04


Copyright © 1997, 2012, Oracle. All rights reserved.