/*
- * jSite2 - RequestListener.java -
- * Copyright © 2008 David Roden
+ * jSite-next - RequestListener.java -
+ * Copyright © 2009 David Roden
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
import java.util.EventListener;
/**
- * Interface for objects that want to be notified on request events.
- *
- * @author David ‘Bombe’ Roden <bombe@freenetproject.org>
- * @version $Id$
+ * Listener interface for objects that want to be notified about {@link Request}
+ * events that are emitteed by the {@link RequestManager}.
+ *
+ * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
public interface RequestListener extends EventListener {
/**
- * Notifies a listener that a request was added to a node.
- *
- * @param node
- * The node the request was added to
+ * Notifies a listener that a request was added, either by a user request or
+ * by loading the configuration.
+ *
* @param request
- * The request that was added
+ * The added request
*/
- public void requestAdded(Node node, Request request);
+ public void requestAdded(Request request);
}