/** * Notifies all of the listeners to this manager that the set of defined * context identifiers has changed. * * @param event * The event to send to all of the listeners; must not be * <code>null</code>. */ private final void fireContextManagerChanged(final ContextManagerEvent event) { if (event == null) { throw new NullPointerException(); } final Object[] listeners = getListeners(); for (int i = 0; i < listeners.length; i++) { final IContextManagerListener listener = (IContextManagerListener) listeners[i]; listener.contextManagerChanged(event); } }
/** * Notifies all of the listeners to this manager that the set of defined * context identifiers has changed. * * @param event * The event to send to all of the listeners; must not be * <code>null</code>. */ private final void fireContextManagerChanged(final ContextManagerEvent event) { if (event == null) { throw new NullPointerException(); } for (Object listener : getListeners()) { final IContextManagerListener contextManagerListener = (IContextManagerListener) listener; contextManagerListener.contextManagerChanged(event); } }
/** * Notifies all of the listeners to this manager that the set of defined * context identifiers has changed. * * @param event * The event to send to all of the listeners; must not be * <code>null</code>. */ private final void fireContextManagerChanged(final ContextManagerEvent event) { if (event == null) { throw new NullPointerException(); } final Object[] listeners = getListeners(); for (int i = 0; i < listeners.length; i++) { final IContextManagerListener listener = (IContextManagerListener) listeners[i]; listener.contextManagerChanged(event); } }