Class WebBeansELResolver


  • public class WebBeansELResolver
    extends javax.el.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: 1307826 $ $Date: 2012-03-31 18:24:37 +0300 (Sat, 31 Mar 2012) $
    • Constructor Detail

      • WebBeansELResolver

        public WebBeansELResolver()
    • Method Detail

      • getCommonPropertyType

        public Class<?> getCommonPropertyType​(javax.el.ELContext arg0,
                                              Object arg1)
        Specified by:
        getCommonPropertyType in class javax.el.ELResolver
      • getFeatureDescriptors

        public Iterator<FeatureDescriptor> getFeatureDescriptors​(javax.el.ELContext arg0,
                                                                 Object arg1)
        Specified by:
        getFeatureDescriptors in class javax.el.ELResolver
      • getType

        public Class<?> getType​(javax.el.ELContext arg0,
                                Object arg1,
                                Object arg2)
                         throws javax.el.ELException
        Specified by:
        getType in class javax.el.ELResolver
        Throws:
        javax.el.ELException
      • getValue

        public Object getValue​(javax.el.ELContext context,
                               Object base,
                               Object property)
                        throws javax.el.ELException
        Specified by:
        getValue in class javax.el.ELResolver
        Throws:
        javax.el.ELException
      • getNormalScopedContextualInstance

        protected Object getNormalScopedContextualInstance​(org.apache.webbeans.container.BeanManagerImpl manager,
                                                           org.apache.webbeans.el.ELContextStore store,
                                                           javax.el.ELContext context,
                                                           javax.enterprise.inject.spi.Bean<?> bean,
                                                           String beanName)
      • getDependentContextualInstance

        protected Object getDependentContextualInstance​(org.apache.webbeans.container.BeanManagerImpl manager,
                                                        org.apache.webbeans.el.ELContextStore store,
                                                        javax.el.ELContext context,
                                                        javax.enterprise.inject.spi.Bean<?> bean)
      • isReadOnly

        public boolean isReadOnly​(javax.el.ELContext arg0,
                                  Object arg1,
                                  Object arg2)
                           throws javax.el.ELException
        Specified by:
        isReadOnly in class javax.el.ELResolver
        Throws:
        javax.el.ELException
      • setValue

        public void setValue​(javax.el.ELContext arg0,
                             Object arg1,
                             Object arg2,
                             Object arg3)
                      throws javax.el.ELException
        Specified by:
        setValue in class javax.el.ELResolver
        Throws:
        javax.el.ELException