code: @Override
      public void addAction(final LifecycleStage stage, final LifecycleAction<T> action)
      {
          stageEvents.add(new StageEvent(stage, action));
      }
docs: Add a lifecycle Action to this provider. The action will called back when the lifecycle stage is
  hit and contain an object that was created by the provider.