当前位置: 首页>>代码示例>>Java>>正文


Java ELContextListener类代码示例

本文整理汇总了Java中javax.el.ELContextListener的典型用法代码示例。如果您正苦于以下问题:Java ELContextListener类的具体用法?Java ELContextListener怎么用?Java ELContextListener使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


ELContextListener类属于javax.el包,在下文中一共展示了ELContextListener类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: addELContextListener

import javax.el.ELContextListener; //导入依赖的package包/类
@Override
public void addELContextListener(ELContextListener listener) {
    if (listener == null) {
        throw new IllegalArgumentException("ELConextListener was null");
    }
    this.contextListeners.add(listener);
}
 
开发者ID:liaokailin,项目名称:tomcat7,代码行数:8,代码来源:JspApplicationContextImpl.java

示例2: addELContextListener

import javax.el.ELContextListener; //导入依赖的package包/类
@Override
public void addELContextListener(ELContextListener listener) {
	if (listener == null) {
		throw new IllegalArgumentException("ELContextListener was null");
	}
	this.contextListeners.add(listener);
}
 
开发者ID:how2j,项目名称:lazycat,代码行数:8,代码来源:JspApplicationContextImpl.java

示例3: createELContext

import javax.el.ELContextListener; //导入依赖的package包/类
protected ELContext createELContext(ELResolver resolver) {

        ELContext elContext = new ELContextImpl(resolver);

        // Notify the listeners
        Iterator<ELContextListener> iter = listeners.iterator();
        while (iter.hasNext()) {
            ELContextListener elcl = iter.next();
            elcl.contextCreated(new ELContextEvent(elContext));
        }
        return elContext;
    }
 
开发者ID:eclipse,项目名称:packagedrone,代码行数:13,代码来源:JspApplicationContextImpl.java

示例4: addELContextListener

import javax.el.ELContextListener; //导入依赖的package包/类
public void addELContextListener(ELContextListener listener) {
	if (listener == null) {
		throw new IllegalArgumentException("ELConextListener was null");
	}
	this.contextListeners.add(listener);
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:7,代码来源:JspApplicationContextImpl.java

示例5: addELContextListener

import javax.el.ELContextListener; //导入依赖的package包/类
public void addELContextListener(ELContextListener listener) {
    listeners.add(listener);
}
 
开发者ID:eclipse,项目名称:packagedrone,代码行数:4,代码来源:JspApplicationContextImpl.java

示例6: addELContextListener

import javax.el.ELContextListener; //导入依赖的package包/类
/**
 * Registers an <code>ELContextListener</code> that will be notified
 * whenever a new <code>ELContext</code> is created.
 * <p>
 * At the very least, any <code>ELContext</code> instantiated will have
 * reference to the <code>JspContext</code> under
 * <code>JspContext.class</code>.
 * 
 * @param listener The listener to add
 */
public void addELContextListener(ELContextListener listener);
 
开发者ID:liaokailin,项目名称:tomcat7,代码行数:12,代码来源:JspApplicationContext.java

示例7: addELContextListener

import javax.el.ELContextListener; //导入依赖的package包/类
/**
 * Registers a <code>ELContextListener</code>s so that context objects
 * can be added whenever a new <code>ELContext</code> is created.
 *
 * <p>At a minimum, the <code>ELContext</code> objects created will
 * contain a reference to the <code>JspContext</code> for this request,
 * which is added by the JSP container.
 * This is sufficient for all the
 * default <code>ELResolver</code>s listed in {@link #addELResolver}.
 * Note that <code>JspContext.class</code> is used as the key to ELContext.putContext()
 * for the <code>JspContext</code> object reference.</p>
 *
 * <p>This method is generally used by frameworks and applications that
 * register their own <code>ELResolver</code> that needs context other
 * than <code>JspContext</code>. The listener will typically add the
 * necessary context to the <code>ELContext</code> provided in the
 * event object. Registering a listener that adds context allows the
 * <code>ELResolver</code>s in the stack to access the context they
 * need when they do a resolution.</p>
 *
 * @param listener The listener to be notified when a new
 *     <code>ELContext</code> is created.
 */
public void addELContextListener(ELContextListener listener);
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:25,代码来源:JspApplicationContext.java

示例8: addELContextListener

import javax.el.ELContextListener; //导入依赖的package包/类
/**
 * Registers an <code>ELContextListener</code> that will be notified
 * whenever a new <code>ELContext</code> is created.
 * <p>
 * At the very least, any <code>ELContext</code> instantiated will have
 * reference to the <code>JspContext</code> under
 * <code>JspContext.class</code>.
 * 
 * @param listener
 *            The listener to add
 */
public void addELContextListener(ELContextListener listener);
 
开发者ID:how2j,项目名称:lazycat,代码行数:13,代码来源:JspApplicationContext.java

示例9: addELContextListener

import javax.el.ELContextListener; //导入依赖的package包/类
/**
 * Registers an <code>ELContextListener</code> that will be notified
 * whenever a new <code>ELContext</code> is created.
 * <p>
 * At the very least, any <code>ELContext</code> instantiated will have
 * reference to the <code>JspContext</code> under
 * <code>JspContext.class</code>.
 *
 * @param listener The listener to add
 */
public void addELContextListener(ELContextListener listener);
 
开发者ID:nkasvosve,项目名称:beyondj,代码行数:12,代码来源:JspApplicationContext.java

示例10: addELContextListener

import javax.el.ELContextListener; //导入依赖的package包/类
/**
 * <p>
 * Registers an <code>ELContextListener</code> that will notified whenever a
 * new <code>ELContext</code> is created.
 * </p>
 * <p>
 * At the very least, any <code>ELContext</code> instantiated will have
 * reference to the <code>JspContext</code> under
 * <code>JspContext.class</code>.
 * </p>
 * 
 * @param listener
 */
public void addELContextListener(ELContextListener listener);
 
开发者ID:deathspeeder,项目名称:class-guard,代码行数:15,代码来源:JspApplicationContext.java


注:本文中的javax.el.ELContextListener类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。