All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.weld.environment.servlet.util.TransparentELResolver Maven / Gradle / Ivy

Go to download

This jar bundles all the bits of Weld and CDI required for running in a Servlet container.

There is a newer version: 6.0.0.Beta4
Show newest version
package org.jboss.weld.environment.servlet.util;

import javax.el.ELContext;
import javax.el.ELResolver;
import java.beans.FeatureDescriptor;
import java.util.Iterator;

/**
 * An ELResolver that behaves as though it is invisible, meaning it's
 * idempotent to the chain and the next ELResolver in the line will be
 * consulted.
 *
 * @author Dan Allen
 */
public class TransparentELResolver extends ELResolver {
    @Override
    public Class getCommonPropertyType(ELContext arg0, Object arg1) {
        return null;
    }

    @Override
    public Iterator getFeatureDescriptors(ELContext arg0, Object arg1) {
        return null;
    }

    @Override
    public Class getType(ELContext arg0, Object arg1, Object arg2) {
        return null;
    }

    @Override
    public Object getValue(ELContext arg0, Object arg1, Object arg2) {
        return null;
    }

    @Override
    public boolean isReadOnly(ELContext arg0, Object arg1, Object arg2) {
        return false;
    }

    @Override
    public void setValue(ELContext arg0, Object arg1, Object arg2, Object arg3) {
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy