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

org.directwebremoting.event.ScriptSessionEvent Maven / Gradle / Ivy

Go to download

DWR is easy Ajax for Java. It makes it simple to call Java code directly from Javascript. It gets rid of almost all the boilerplate code between the web browser and your Java code. This version 4.0.2 works with Jakarta Servlet 4.0.2.

There is a newer version: 5.0.0
Show newest version
package org.directwebremoting.event;

import java.util.EventObject;

import org.directwebremoting.ScriptSession;

/**
 * This is the class representing event notifications for changes to script
 * sessions within a web application.
 * @author Joe Walker [joe at getahead dot ltd dot uk]
 */
public class ScriptSessionEvent extends EventObject
{
    /**
     * Construct a session event from the given source.
     * @param source The ScriptSession that is being created/destroyed
     */
    public ScriptSessionEvent(ScriptSession source)
    {
        super(source);
    }

    /**
     * Return the session that changed.
     * @return The newly created/destroyed ScriptSession
     */
    public ScriptSession getSession()
    {
        return (ScriptSession) super.getSource();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy