jodd.bean.loader
Interface BeanLoader
- All Known Implementing Classes:
- MapBeanLoader, MultipartRequestBeanLoader, MultipartRequestWrapperBeanLoader, RequestBeanLoader, RequestParamBeanLoader, ResultSetBeanLoader, ServletContextBeanLoader, SessionBeanLoader
public interface BeanLoader
Bean Loaders know how to populate a bean from provided source.
Loaders are manager by BeanLoaderManager
.
However, they can be used directly like functors.
Method Summary |
void |
load(java.lang.Object destination,
java.lang.Object source)
Loads values from given source into the destination bean. |
load
void load(java.lang.Object destination,
java.lang.Object source)
- Loads values from given source into the destination bean.
All properties from source object will be iterated
to be set into the destination.
- Parameters:
destination
- instance that will be populatedsource
- object to populate from
Copyright ©2008 Jodd Team