Uses of Interface
org.springframework.boot.bootstrap.BootstrapRegistry.InstanceSupplier
Packages that use BootstrapRegistry.InstanceSupplier
Package
Description
Bootstrap concerns to support the creation of potentially expensive singletons while
the application starts.
-
Uses of BootstrapRegistry.InstanceSupplier in org.springframework.boot.bootstrap
Methods in org.springframework.boot.bootstrap that return BootstrapRegistry.InstanceSupplierModifier and TypeMethodDescriptionstatic <T> BootstrapRegistry.InstanceSupplier<T> Factory method that can be used to create anBootstrapRegistry.InstanceSupplierfrom aSupplier.<T> @Nullable BootstrapRegistry.InstanceSupplier<T> BootstrapRegistry.getRegisteredInstanceSupplier(Class<T> type) Return any existingBootstrapRegistry.InstanceSupplierfor the given type.<T> @Nullable BootstrapRegistry.InstanceSupplier<T> DefaultBootstrapContext.getRegisteredInstanceSupplier(Class<T> type) static <T> BootstrapRegistry.InstanceSupplier<T> BootstrapRegistry.InstanceSupplier.of(@Nullable 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.bootstrap 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)