2 Replies Latest reply on Aug 28, 2006 8:18 AM by alesj

    Lifecycle default method name

    alesj

      I added an additional condition check


      if (lifecycle != null && lifecycle.getMethodName() != null)
      return lifecycle.getMethodName();
      return "create";

      in these classes
      - GenericBeanFactory
      - CreateDestroyLifecycleAction
      - StartStopLifecycleAction

      Since I got 'IllegalArgumentException("Null name")' in Configurator.findMethod from LifecycleAction when method name in LifecycleMetaData wasn't set - expecting to use default one.

      Is this ok?

      Lifecycle tests pass.