/**
  * Monitors the Transition and calls the TransitionEventHandler whenever the Transition changes
  * its state.
  *
  * @param transition The Transition to be monitored.
  * @param transitionEventHandler The TransitionEventHandler to be called when changes were
  *     detected.
  */
 @SuppressWarnings("rawtypes")
 public void handle(Transition transition, TransitionEventHandler transitionEventHandler) {
   TransitionMonitorProcessor transitionMonitorProcessor = monitorProcessorPool.newObject();
   transitionMonitorProcessor.process(transition, transitionEventHandler);
   transitionMonitorProcessors.add(transitionMonitorProcessor);
 }