private static void manageLifecycleAnnotation ( final Component < ? > component , final MultiMap < String , Method > lifecycleMethod , final Class < ? extends Annotation > annotationClass ) { for ( final Method method : ClassUtility . getAnnotatedMethods ( component . getClass ( ) , annotationClass ) ) { // Add a method to the multimap entry // TODO sort lifecycleMethod . add ( annotationClass . getName ( ) , method ) ; } }
Store annotated method related to a lifecycle phase .