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.
 
Interface for an optimization which will be injected via
 service loading.
- Since:
 - 3.3.0
 
- 
Method Summary
 
- 
Method Details
- 
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.
 
 
 -