net.sf.juffrou.util.reflect.BeanContextBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of juffrou-reflect Show documentation
Show all versions of juffrou-reflect Show documentation
Performant java bean access through property names. If you are serious about bean handling, this is for you.
package net.sf.juffrou.util.reflect;
import java.lang.reflect.Type;
/**
* Used by the {@link BeanWrapper} to created contexts for its nested bean wrappers.
* Implement this interface if you want bean contexts to hold more bean metadata than the one used by bean wrapper.
* @author cemartins
*/
public interface BeanContextBuilder {
/**
* Called by the BeanWrapperFactory to instantiate a new BeanWrapperContext
* @param bwFactory
* @param clazz
* @param types
* @return
*/
@SuppressWarnings("rawtypes")
public BeanWrapperContext build(BeanWrapperFactory bwFactory, Class clazz, Type...types);
}