|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BeanPopulatorBaseSpi
The base interface of the Bean Populator SPI. This SPI provides various options to control the propagation behavior of JavaBean properties.
Method Summary | |
---|---|
BeanPopulationExceptionHandler |
getBeanPopulationExceptionHandler()
Returns the exception handler configured for bean population. |
BeanPopulatorBaseConfig |
getBeanPopulatorBaseConfig()
Returns the other configuration options as a single configuration object. |
BeanSourceHandler |
getBeanSourceHandler()
Returns the call-back configured that would be invoked after the property value has been retrieved from the source bean, but before being propagated across to the target bean. |
DetailedPropertyFilter |
getDetailedPropertyFilter()
Returns the detailed property filter configured. |
PropertyFilter |
getPropertyFilter()
Returns the property filter configured. |
BeanMethodFinder |
getReaderMethodFinder()
Returns the finder configured to find the property getter methods of a source JavaBean. |
BeanMethodCollector |
getSetterMethodCollector()
Returns the collector configured to collect the property setter methods of a target JavaBean. |
BeanPopulatorBaseSpi |
initBeanPopulationExceptionHandler(BeanPopulationExceptionHandler beanPopulationExceptionHandler)
Used to configure a handler to handle any exception thrown. |
BeanPopulatorBaseSpi |
initBeanPopulatorBaseConfig(BeanPopulatorBaseConfig baseConfig)
Used to conveniently provide all the other configuration options as a single configuration object. |
BeanPopulatorBaseSpi |
initBeanSourceHandler(BeanSourceHandler beanSourceHandler)
Used to configure a call-back (to produce whatever side-effects deemed necessary) that is invoked after the property value has been retrieved from the source bean, but before being propagated across to the target bean. |
BeanPopulatorBaseSpi |
initDebug(boolean debug)
Used to control whether debug messages should be logged. |
BeanPopulatorBaseSpi |
initDetailedPropertyFilter(DetailedPropertyFilter detailedPropertyFilter)
Used to configure a detailed prperty filter (which has more context information) to determine whether a specific property should be propagated from the source bean to the target bean. |
BeanPopulatorBaseSpi |
initPropertyFilter(PropertyFilter propertyFilter)
Used to configure a property filter to determine whether a specific property should be propagated from a source bean to a target bean. |
BeanPopulatorBaseSpi |
initReaderMethodFinder(BeanMethodFinder readerMethodFinder)
Used to configure a finder to find the property getter methods of a source JavaBean. |
BeanPopulatorBaseSpi |
initSetterMethodCollector(BeanMethodCollector setterMethodCollector)
Used to configure a collector to collect the property setter methods of a target JavaBean. |
boolean |
isDebug()
Returns true if debug message logging is on; false otherwise. |
Method Detail |
---|
BeanPopulatorBaseSpi initPropertyFilter(PropertyFilter propertyFilter)
propertyFilter
- is similar to DetailedPropertyFilter
but with a simpler API
that is used to control whether a specific property should be propagated
from a source bean to a target bean.
PropertyFilter getPropertyFilter()
BeanPopulatorBaseSpi initDetailedPropertyFilter(DetailedPropertyFilter detailedPropertyFilter)
detailedPropertyFilter
- is used to control whether a specific property
should be propagated from the source bean to the target bean.
DetailedPropertyFilter getDetailedPropertyFilter()
BeanPopulatorBaseSpi initBeanSourceHandler(BeanSourceHandler beanSourceHandler)
beanSourceHandler
- can be used to act as a call-back
(to produce whatever side-effects deemed necessary)
after the property value has been retrieved from the source bean,
but before being propagated across to the target bean.
BeanSourceHandler getBeanSourceHandler()
BeanPopulatorBaseSpi initReaderMethodFinder(BeanMethodFinder readerMethodFinder)
readerMethodFinder
- can be used to find the property getter methods of a source JavaBean.
BeanMethodFinder getReaderMethodFinder()
BeanPopulatorBaseSpi initSetterMethodCollector(BeanMethodCollector setterMethodCollector)
setterMethodCollector
- can be used to collect the property setter methods of a target JavaBean.
BeanMethodCollector getSetterMethodCollector()
BeanPopulatorBaseSpi initBeanPopulationExceptionHandler(BeanPopulationExceptionHandler beanPopulationExceptionHandler)
beanPopulationExceptionHandler
- can be used to handle any exception thrown.
BeanPopulationExceptionHandler getBeanPopulationExceptionHandler()
BeanPopulatorBaseSpi initDebug(boolean debug)
boolean isDebug()
BeanPopulatorBaseSpi initBeanPopulatorBaseConfig(BeanPopulatorBaseConfig baseConfig)
baseConfig
- is used to conveniently group all the other initializable options into a single unit.
BeanPopulatorBaseConfig getBeanPopulatorBaseConfig()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |