public interface BeanDefinitionValidator
BeanContext.| Modifier and Type | Field and Description | 
|---|---|
static BeanDefinitionValidator | 
DEFAULT
A default no-op validator. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
default <T> void | 
validateBean(BeanResolutionContext resolutionContext,
            BeanDefinition<T> definition,
            T bean)
Validates the given bean after it has been constructor. 
 | 
default <T> void | 
validateBeanArgument(BeanResolutionContext resolutionContext,
                    InjectionPoint injectionPoint,
                    Argument<T> argument,
                    int index,
                    T value)
Validates the given bean after it has been constructor. 
 | 
static final BeanDefinitionValidator DEFAULT
default <T> void validateBeanArgument(@NonNull BeanResolutionContext resolutionContext, @NonNull InjectionPoint injectionPoint, @NonNull Argument<T> argument, int index, @Nullable T value) throws BeanInstantiationException
T - The bean typeresolutionContext - The resolution contextinjectionPoint - The injection pointargument - The argumentindex - The argument indexvalue - The valueBeanInstantiationException - if the bean is invaliddefault <T> void validateBean(@NonNull BeanResolutionContext resolutionContext, @NonNull BeanDefinition<T> definition, @NonNull T bean) throws BeanInstantiationException
T - The bean typeresolutionContext - The resolution contextdefinition - The definitionbean - The bean to validateBeanInstantiationException - if the bean is invalid