private void _process(String key, String[] classes, LifecycleEvent lifecycleEvent)
      throws ActionException {

    for (String className : classes) {
      if (Validator.isNull(className)) {
        return;
      }

      if (_log.isDebugEnabled()) {
        _log.debug("Process event " + className);
      }

      LifecycleAction lifecycleAction = (LifecycleAction) InstancePool.get(className);

      lifecycleAction.processLifecycleEvent(lifecycleEvent);
    }

    if (Validator.isNull(key)) {
      return;
    }

    for (LifecycleAction lifecycleAction : _instance._getLifecycleActions(key)) {

      lifecycleAction.processLifecycleEvent(lifecycleEvent);
    }
  }
  private void _processEvent(LifecycleAction lifecycleAction, LifecycleEvent lifecycleEvent)
      throws ActionException {

    lifecycleAction.processLifecycleEvent(lifecycleEvent);
  }