org.openqa.jetty.util
Interface EventProvider
- All Known Implementing Classes:
- Container, HttpContext, HttpServer, 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
addEventListener
void addEventListener(EventListener listener)
throws IllegalArgumentException
- Register an EventListener
- Parameters:
listener
-
- Throws:
IllegalArgumentException
- If the EventListener type is not supported.
removeEventListener
void removeEventListener(EventListener listener)
Copyright © 2012. All Rights Reserved.