Interface FluxCapacitorCustomizer

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 interface FluxCapacitorCustomizer
Callback interface that can be implemented by Spring beans to customize the FluxCapacitorBuilder before it is used to build the main FluxCapacitor instance.

This allows applications to modularly apply configuration logic, such as registering additional components, setting default values, or modifying behaviors.

For example:


 @Component
 public class MyCustomizer implements FluxCapacitorCustomizer {
     @Override
     public FluxCapacitorBuilder customize(FluxCapacitorBuilder builder) {
         return builder.addParameterResolver(new CustomResolver());
     }
 }
 
See Also: