public synchronized void addListener(final T listener){
  listeners.add(listener);
}

public synchronized void addListener ( final T listener ) { listeners . add ( listener ) ; }
registers the listener for event notifications .
