code: public void addEventListener(EventListener listener)
      	throws IllegalArgumentException
      {
         
          if (_eventListeners==null)
              _eventListeners=new ArrayList();
          
          if (listener instanceof ComponentListener ||
              listener instanceof LifeCycleListener )
          {
              if(log.isDebugEnabled())log.debug("addEventListener: "+listener);      
              _eventListeners=LazyList.add(_eventListeners,listener);
          }
        
      }
docs: Add a server event listener.
  @param listener ComponentEventListener or LifeCycleEventListener