@ApplicationScoped public class BindingManagerImpl extends Object implements BindingManager
Constructor and Description |
---|
BindingManagerImpl() |
Modifier and Type | Method and Description |
---|---|
PropertyDefinition |
getPropertyDefinition(String propertyName,
Class clazz) |
PropertyDefinition |
getPropertyDefinition(String propertyName,
String className) |
Object |
getPropertyValue(Object obj,
String propName) |
boolean |
hasProperty(Object obj,
String propName) |
static BindingManagerImpl |
lookup() |
void |
setPropertyValue(Object destination,
String propName,
Object value) |
public PropertyDefinition getPropertyDefinition(String propertyName, String className) throws Exception
getPropertyDefinition
in interface BindingManager
Exception
public PropertyDefinition getPropertyDefinition(String propertyName, Class clazz) throws Exception
getPropertyDefinition
in interface BindingManager
Exception
public boolean hasProperty(Object obj, String propName)
hasProperty
in interface BindingManager
public Object getPropertyValue(Object obj, String propName)
getPropertyValue
in interface BindingManager
public void setPropertyValue(Object destination, String propName, Object value) throws NoSuchFieldException, NoSuchMethodException, InvocationTargetException, IllegalAccessException
setPropertyValue
in interface BindingManager
NoSuchFieldException
NoSuchMethodException
InvocationTargetException
IllegalAccessException
public static BindingManagerImpl lookup()
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.