@ Override public void registerBlueprint ( Object blueprint ) throws RegisterBlueprintException { SpringBlueprint springBlueprint = blueprint . getClass ( ) . getAnnotation ( SpringBlueprint . class ) ; if ( springBlueprint != null && springBlueprint . autowire ( ) ) { logger . debug ( "Autowiring blueprint {}" , blueprint ) ; beanFactory . autowireBean ( blueprint ) ; } super . registerBlueprint ( blueprint ) ; }
Register Blueprints autowire them from Spring Context if they have the SpringBlueprint annotation