net.sf.juffrou.reflect.BeanInstanceBuilder 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.reflect;
import net.sf.juffrou.reflect.error.BeanInstanceBuilderException;
/**
* Used by the {@link BeanWrapperContext#newBeanInstance()} to instantiate the wrapped bean when necessary.
* Implement this interface and {@link BeanWrapperContext#setBeanInstanceCreator(BeanInstanceCreator)} to handle
* bean instatiation.
* @author cemartins
*/
public interface BeanInstanceBuilder {
@SuppressWarnings("rawtypes")
public Object build(Class clazz) throws BeanInstanceBuilderException ;
}