public synchronized void register(Registration registration) { if (!this.registrations.contains(registration)) { this.registrations.add(registration); fireListeners(); } }
public synchronized void register(Registration registration) { if (!this.registrations.contains(registration)) { this.registrations.add(registration); fireListeners(); } }
public synchronized void register(Registration registration) { if (!this.registrations.contains(registration)) { this.registrations.add(registration); fireListeners(); } }
public synchronized void unregisterAll(String sourceKey) { boolean removed = this.registrations.removeIf(e -> e.getSourceKey().equals(sourceKey)); if (removed) { fireListeners(); } }
public synchronized void unregister(Registration registration) { boolean removed = this.registrations.removeIf(e -> e.equals(registration)); if (removed) { fireListeners(); } }
public synchronized void unregister(Registration registration) { boolean removed = this.registrations.removeIf(e -> e.equals(registration)); if (removed) { fireListeners(); } }
public synchronized void unregisterAll(String sourceKey) { boolean removed = this.registrations.removeIf(e -> e.getSourceKey().equals(sourceKey)); if (removed) { fireListeners(); } }
public synchronized void unregisterAll(String sourceKey) { boolean removed = this.registrations.removeIf(e -> e.getSourceKey().equals(sourceKey)); if (removed) { fireListeners(); } }
public synchronized void unregister(Registration registration) { boolean removed = this.registrations.removeIf(e -> e.equals(registration)); if (removed) { fireListeners(); } }
public synchronized void unregisterAll(String sourceKey, String name) { boolean removed = this.registrations.removeIf(e -> e.getSourceKey().equals(sourceKey) && e.getName().equals(name)); if (removed) { fireListeners(); } }
public synchronized void unregisterAll(String sourceKey, String name) { boolean removed = this.registrations.removeIf(e -> e.getSourceKey().equals(sourceKey) && e.getName().equals(name)); if (removed) { fireListeners(); } }
public synchronized void unregisterAll(String sourceKey, String name) { boolean removed = this.registrations.removeIf(e -> e.getSourceKey().equals(sourceKey) && e.getName().equals(name)); if (removed) { fireListeners(); } }