org.mortbay.util
Interface EventProvider

All Known Implementing Classes:
Container, HttpContext, HttpServer, PlusWebAppContext, Server, Server, ServletHandler, ServletHttpContext, WebApplicationContext, WebApplicationHandler

public interface EventProvider

Source of EventObjects for registered EventListeners. the actual implementation of EventProvider must define what types of EventListeners can be registered.

Author:
gregw

Method Summary
 void addEventListener(java.util.EventListener listener)
          Register an EventListener
 void removeEventListener(java.util.EventListener listener)
           
 

Method Detail

addEventListener

void addEventListener(java.util.EventListener listener)
                      throws java.lang.IllegalArgumentException
Register an EventListener

Parameters:
listener -
Throws:
java.lang.IllegalArgumentException - If the EventListener type is not supported.

removeEventListener

void removeEventListener(java.util.EventListener listener)


Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.