private static void addFeatures ( Featurable featurable , Services services , Setup setup ) { final List < Feature > rawFeatures = FeaturableConfig . getFeatures ( services , setup ) ; final int length = rawFeatures . size ( ) ; for ( int i = 0 ; i < length ; i ++ ) { final Feature feature = rawFeatures . get ( i ) ; featurable . addFeature ( feature ) ; } featurable . addAfter ( services , setup ) ; }
Add all features declared in configuration .