Uses of Interface
org.springframework.boot.BootstrapRegistry.InstanceSupplier
Packages that use BootstrapRegistry.InstanceSupplier
-
Uses of BootstrapRegistry.InstanceSupplier in org.springframework.boot
Methods in org.springframework.boot that return BootstrapRegistry.InstanceSupplierModifier and TypeMethodDescriptionstatic <T> BootstrapRegistry.InstanceSupplier<T>Factory method that can be used to create anBootstrapRegistry.InstanceSupplierfrom aSupplier.BootstrapRegistry.getRegisteredInstanceSupplier(Class<T> type) Return any existingBootstrapRegistry.InstanceSupplierfor the given type.DefaultBootstrapContext.getRegisteredInstanceSupplier(Class<T> type) static <T> BootstrapRegistry.InstanceSupplier<T>BootstrapRegistry.InstanceSupplier.of(T instance) Factory method that can be used to create anBootstrapRegistry.InstanceSupplierfor a given instance.default BootstrapRegistry.InstanceSupplier<T>BootstrapRegistry.InstanceSupplier.withScope(BootstrapRegistry.Scope scope) Return a newBootstrapRegistry.InstanceSupplierwith an updatedBootstrapRegistry.Scope.Methods in org.springframework.boot with parameters of type BootstrapRegistry.InstanceSupplierModifier and TypeMethodDescription<T> voidBootstrapRegistry.register(Class<T> type, BootstrapRegistry.InstanceSupplier<T> instanceSupplier) Register a specific type with the registry.<T> voidDefaultBootstrapContext.register(Class<T> type, BootstrapRegistry.InstanceSupplier<T> instanceSupplier) <T> voidBootstrapRegistry.registerIfAbsent(Class<T> type, BootstrapRegistry.InstanceSupplier<T> instanceSupplier) Register a specific type with the registry if one is not already present.<T> voidDefaultBootstrapContext.registerIfAbsent(Class<T> type, BootstrapRegistry.InstanceSupplier<T> instanceSupplier)