Package io.micronaut.core.optim
Interface StaticOptimizations.Loader<T>
-
- Type Parameters:
T
- the type of the optimization
- Enclosing class:
- StaticOptimizations
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface StaticOptimizations.Loader<T>
Interface for an optimization which will be injected via service loading.- Since:
- 3.3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
load()
The static optimization to be injected.
-
-
-
Method Detail
-
load
T load()
The static optimization to be injected. TheStaticOptimizations.set(Object)
method will automatically be called with the value returned by this method.- Returns:
- the optimization value.
-
-