Package org.apache.juneau.commons.inject
Interface ConfigPropertiesValidator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Post-bind extension seam for
ConfigPropertiesBinder.
The binder invokes validate(Object) once on each fully-bound target. NO_OP is the default and
performs no validation; supply a custom implementation to enforce constraints on a bound object without changing
ConfigPropertiesBinder's public shape.
- Since:
- 10.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ConfigPropertiesValidatorThe default: performs no validation. -
Method Summary
-
Field Details
-
NO_OP
The default: performs no validation.
-
-
Method Details
-
validate
Called once, after a target has been fully bound.Under nesting, this is called once per bound object — innermost (most deeply nested) first, then each enclosing object in turn as the recursive bind unwinds.
- Parameters:
target- The bound instance.
-