Class ConfigValueInjector

java.lang.Object
tech.guilhermekaua.spigotboot.config.injector.ConfigValueInjector
All Implemented Interfaces:
CustomInjector

public class ConfigValueInjector extends Object implements CustomInjector
Custom injector that wires ConfigValue onto fields and constructor parameters of DI-managed beans.

supports(InjectionPoint) matches strictly on the presence of ConfigValue so it never hijacks unrelated injection points. resolve(InjectionPoint) always returns a handled result (or throws) — it never returns not-handled, because that would let the framework fall back to by-type bean resolution and silently mis-inject or null the field.