Package | Description |
---|---|
org.springframework.boot |
Core Spring Boot classes.
|
Modifier and Type | Method and Description |
---|---|
static <T> BootstrapRegistry.InstanceSupplier<T> |
BootstrapRegistry.InstanceSupplier.from(Supplier<T> supplier)
Factory method that can be used to create a
BootstrapRegistry.InstanceSupplier from a
Supplier . |
<T> BootstrapRegistry.InstanceSupplier<T> |
BootstrapRegistry.getRegisteredInstanceSupplier(Class<T> type)
Return any existing
BootstrapRegistry.InstanceSupplier for the given type. |
<T> BootstrapRegistry.InstanceSupplier<T> |
DefaultBootstrapContext.getRegisteredInstanceSupplier(Class<T> type) |
static <T> BootstrapRegistry.InstanceSupplier<T> |
BootstrapRegistry.InstanceSupplier.of(T instance)
Factory method that can be used to create a
BootstrapRegistry.InstanceSupplier for a
given instance. |
Modifier and Type | Method and Description |
---|---|
<T> void |
BootstrapRegistry.register(Class<T> type,
BootstrapRegistry.InstanceSupplier<T> instanceSupplier)
Register a specific type with the registry.
|
<T> void |
DefaultBootstrapContext.register(Class<T> type,
BootstrapRegistry.InstanceSupplier<T> instanceSupplier) |
<T> void |
BootstrapRegistry.registerIfAbsent(Class<T> type,
BootstrapRegistry.InstanceSupplier<T> instanceSupplier)
Register a specific type with the registry if one is not already present.
|
<T> void |
DefaultBootstrapContext.registerIfAbsent(Class<T> type,
BootstrapRegistry.InstanceSupplier<T> instanceSupplier) |