public void broadcast(BehaviorEvent event)
        throws AbortProcessingException {

        if (null == event) {
            throw new NullPointerException();
        }

        if (null != listeners) {
            for (BehaviorListener listener : listeners) {
                if (event.isAppropriateListener(listener)) {
                    event.processListener(listener);
                }
            }
        }
    }
public void broadcast ( BehaviorEvent event ) throws AbortProcessingException { if ( null == event ) { throw new NullPointerException ( ) ; } if ( null != listeners ) { for ( BehaviorListener listener : listeners ) { if ( event . isAppropriateListener ( listener ) ) { event . processListener ( listener ) ; } } } }
<p class="changed_added_2_0">Default implementation of
{@link Behavior#broadcast}.  Delivers the specified
{@link BehaviorEvent} to all registered {@link BehaviorListener}
event listeners who have expressed an interest in events of
this type.  Listeners are called in the order in which they were
registered (added).</p>

@param event The {@link BehaviorEvent} to be broadcast

@throws AbortProcessingException Signal the JavaServer Faces
implementation that no further processing on the current event
should be performed
@throws IllegalArgumentException if the implementation class
of this {@link BehaviorEvent} is not supported by this component
@throws NullPointerException if <code>event</code> is
<code>null</code>

@since 2.0