code: @Override
      public void addConnectionEventListener( ConnectionEventListener listener ) {
          if (listener == null) {
              throw new IllegalArgumentException("Listener is null");
          }
          listeners.add(listener);
      }
docs: Adds a connection event listener to the ManagedConnection instance.
  
  @param listener A new ConnectionEventListener to be registered