code: public void addNamedEvent (String shortName, Class<? extends ComponentSystemEvent> cls)
      {
          String key = shortName;
          Collection<Class<? extends ComponentSystemEvent>> eventList;
          
          // Per the spec, if the short name is missing, generate one.
          
          if (shortName == null)
          {
              key = getFixedName (cls);
          }
          
          eventList = events.get (key);
          
          if (eventList == null)
          {
              // First event registered to this short name.
              
              eventList = new LinkedList<Class<? extends ComponentSystemEvent>>();
              
              events.put (key, eventList);
          }
          
          eventList.add (cls);
      }
docs: Registers a named event.
  
  @param shortName a String containing the short name for the event, from the @NamedEvent.shortName()
  attribute.
  @param cls the event class to register.