Module io.helidon.builder.api
Package io.helidon.builder.api
Interface Prototype.BuilderInterceptor<T>
- Type Parameters:
T- the type of the bean builder to intercept
- Enclosing class:
Prototype
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Provides a contract by which the
Prototype.Blueprint
annotated type can be intercepted (i.e., including decoration or
mutation).
The implementation class type must provide a no-arg accessible constructor available to the generated class
Note that when intercepting config, you may get null even for required types, as these may be configured
by your very builder interceptor.
- See Also:
-
Method Summary
-
Method Details
-
intercept
Provides the ability to intercept (i.e., including decoration or mutation) the target.- Parameters:
target- the target being intercepted- Returns:
- the mutated or replaced target (must not be null)
-