import java.util.logging.Level;
import java.util.logging.Logger;
-import net.pterodactylus.util.event.ListenerSupport;
+import net.pterodactylus.util.event.ListenerManager;
/**
* TODO
*
* @author David Roden <droden@gmail.com>
*/
-public class CoreListenerSupport extends ListenerSupport<CoreListener> {
+public class CoreListenerSupport extends ListenerManager<CoreListener> {
/** The logger. */
private static final Logger logger = Logger.getLogger(CoreListenerSupport.class.getName());
package net.pterodactylus.jsite.core;
-import net.pterodactylus.util.event.ListenerSupport;
+import net.pterodactylus.util.event.ListenerManager;
/**
* Helper class that fires {@link InsertListener} events.
*
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
-public class InsertListenerSupport extends ListenerSupport<InsertListener> {
+public class InsertListenerSupport extends ListenerManager<InsertListener> {
/**
* Notifies all listeners that the insert was added.
package net.pterodactylus.jsite.core;
-import net.pterodactylus.util.event.ListenerSupport;
+import net.pterodactylus.util.event.ListenerManager;
/**
* Listener support for {@link NodeListener} events.
*
* @author David Roden <droden@gmail.com>
*/
-public class NodeListenerSupport extends ListenerSupport<NodeListener> {
+public class NodeListenerSupport extends ListenerManager<NodeListener> {
/**
* Notifies all listeners that a node was added.
* The type of the listeners
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
-public class FixedSourceListenerSupport<S, L extends EventListener> extends ListenerSupport<L> {
+public class FixedSourceListenerManager<S, L extends EventListener> extends ListenerManager<L> {
/** The source of the events. */
private final S source;
/**
- * Creates a new listener support.
+ * Creates a new listener manager.
*
* @param source
* The source of all events
*/
- public FixedSourceListenerSupport(S source) {
+ public FixedSourceListenerManager(S source) {
this.source = source;
}