public class BeanWrapper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BeanWrapper.Property |
Constructor and Description |
---|
BeanWrapper(Class<?> forClass) |
Modifier and Type | Method and Description |
---|---|
Object |
bind(String name,
Type type,
Map<String,String[]> params,
String prefix,
Annotation[] annotations) |
Object |
bind(String name,
Type type,
Map<String,String[]> params,
String prefix,
Object instance,
Annotation[] annotations) |
Collection<BeanWrapper.Property> |
getWrappers() |
protected Object |
newBeanInstance() |
void |
set(String name,
Object instance,
Object value) |
public BeanWrapper(Class<?> forClass)
public Collection<BeanWrapper.Property> getWrappers()
protected Object newBeanInstance() throws InstantiationException, IllegalAccessException, NoSuchMethodException, InvocationTargetException
public Object bind(String name, Type type, Map<String,String[]> params, String prefix, Annotation[] annotations) throws Exception
Exception
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly