@FunctionalInterface public interface BeanPropertyPostProcessor
BeanIntrospector to process detected BeanPropertys
before returning the bean properties set, for example to setup the property configuration.
BeanPropertyPostProcessor registration can be performed also using default Java extension through
ServiceLoader, providing a com.holonplatform.core.beans.BeanPropertyPostProcessor file in
META-INF/services containing the BeanPropertyPostProcessor concrete class names to register.
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PRIORITY
Default
BeanPropertyPostProcessor priority if not specified using Priority annotation. |
| Modifier and Type | Method and Description |
|---|---|
BeanProperty.Builder<?> |
processBeanProperty(BeanProperty.Builder<?> property,
Class<?> beanOrNestedClass)
Process given
property. |
static final int DEFAULT_PRIORITY
BeanPropertyPostProcessor priority if not specified using Priority annotation.BeanProperty.Builder<?> processBeanProperty(BeanProperty.Builder<?> property, Class<?> beanOrNestedClass)
property.property - Property to processbeanOrNestedClass - Main or nested bean class to which property belongsBeanIntrospector.BeanIntrospectionException - If an error occurredCopyright © 2019 The Holon Platform. All rights reserved.