org.apache.webbeans.el
Class WebBeansELResolver

java.lang.Object
  extended by javax.el.ELResolver
      extended by org.apache.webbeans.el.WebBeansELResolver

public class WebBeansELResolver
extends ELResolver

JSF or JSP expression language a.k.a EL resolver.

EL is registered with the JSF in faces-config.xml if there exist a faces-config.xml in the application location WEB-INF/. Otherwise it is registered with JspApplicationContext at start-up.

All @Dependent scoped contextual instances created during an EL expression evaluation are destroyed when the evaluation completes.

Version:
$Rev: 979269 $ $Date: 2010-07-26 15:10:33 +0200 (Mo, 26 Jul 2010) $

Field Summary
 
Fields inherited from class javax.el.ELResolver
RESOLVABLE_AT_DESIGN_TIME, TYPE
 
Constructor Summary
WebBeansELResolver()
           
 
Method Summary
 Class<?> getCommonPropertyType(ELContext arg0, Object arg1)
          
 Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext arg0, Object arg1)
          
 Class<?> getType(ELContext arg0, Object arg1, Object arg2)
          
 Object getValue(ELContext context, Object obj, Object property)
          
 boolean isReadOnly(ELContext arg0, Object arg1, Object arg2)
          
 void setValue(ELContext arg0, Object arg1, Object arg2, Object arg3)
          
 
Methods inherited from class javax.el.ELResolver
invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebBeansELResolver

public WebBeansELResolver()
Method Detail

getCommonPropertyType

public Class<?> getCommonPropertyType(ELContext arg0,
                                      Object arg1)

Specified by:
getCommonPropertyType in class ELResolver

getFeatureDescriptors

public Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext arg0,
                                                         Object arg1)

Specified by:
getFeatureDescriptors in class ELResolver

getType

public Class<?> getType(ELContext arg0,
                        Object arg1,
                        Object arg2)
                 throws NullPointerException,
                        PropertyNotFoundException,
                        ELException

Specified by:
getType in class ELResolver
Throws:
NullPointerException
PropertyNotFoundException
ELException

getValue

public Object getValue(ELContext context,
                       Object obj,
                       Object property)
                throws NullPointerException,
                       PropertyNotFoundException,
                       ELException

Specified by:
getValue in class ELResolver
Throws:
NullPointerException
PropertyNotFoundException
ELException

isReadOnly

public boolean isReadOnly(ELContext arg0,
                          Object arg1,
                          Object arg2)
                   throws NullPointerException,
                          PropertyNotFoundException,
                          ELException

Specified by:
isReadOnly in class ELResolver
Throws:
NullPointerException
PropertyNotFoundException
ELException

setValue

public void setValue(ELContext arg0,
                     Object arg1,
                     Object arg2,
                     Object arg3)
              throws NullPointerException,
                     PropertyNotFoundException,
                     PropertyNotWritableException,
                     ELException

Specified by:
setValue in class ELResolver
Throws:
NullPointerException
PropertyNotFoundException
PropertyNotWritableException
ELException


Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.