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

org.jdesktop.el.ELContextEvent Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (C) 2007 Sun Microsystems, Inc. All rights reserved. Use is
 * subject to license terms.
 */

package org.jdesktop.el;

/**
 * An event which indicates that an {@link ELContext} has been created.
 * The source object is the ELContext that was created.
 *
 * @see ELContext
 * @see ELContextListener
 * @since JSP 2.1
 */
public class ELContextEvent extends java.util.EventObject {

    /**
     * Constructs an ELContextEvent object to indicate that an 
     * ELContext has been created.
     *
     * @param source the ELContext that was created.
     */
    public ELContextEvent(ELContext source) {
        super(source);
    }

    /**
     * Returns the ELContext that was created.
     * This is a type-safe equivalent of the {@link #getSource} method.
     *
     * @return the ELContext that was created.
     */
    public ELContext getELContext() {
        return (ELContext) getSource();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy