if ( annotation.incremental() ) {
registry = new IncrementalRefreshableRegistry<>( resolvableType,
annotation.includeModuleInternals() );
}
else {
registry = new RefreshableRegistry<>( resolvableType, annotation.includeModuleInternals() );
}
autowireBean( registry );
registerSingleton( RefreshableRegistry.class.getName() + "~" + UUID.randomUUID().toString(), registry );