|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.jbi.management.CachedAttribute
public class CachedAttribute
A simple holder for an Attribute and a PropertyDescriptor
| Constructor Summary | |
|---|---|
CachedAttribute(Attribute attr)
Constructor |
|
| Method Summary | |
|---|---|
Attribute |
getAttribute()
|
MBeanAttributeInfo |
getAttributeInfo()
|
Object |
getBean()
|
String |
getName()
|
PropertyDescriptor |
getPropertyDescriptor()
|
void |
setAttribute(Attribute attribute)
Set the Attribute |
void |
setAttributeInfo(MBeanAttributeInfo attributeInfo)
|
void |
setBean(Object bean)
|
void |
setName(String name)
|
void |
setPropertyDescriptor(PropertyDescriptor propertyDescriptor)
|
void |
updateAttribute(org.apache.commons.beanutils.PropertyUtilsBean beanUtils,
Attribute attr)
Update the Attribute |
void |
updateAttributeValue(Object value)
Update that attribute value |
void |
updateValue(org.apache.commons.beanutils.PropertyUtilsBean beanUtil)
Ensdure attribute value is up to date |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CachedAttribute(Attribute attr)
attr - | Method Detail |
|---|
public String getName()
public void setName(String name)
name - The name to set.public Attribute getAttribute()
public void setAttribute(Attribute attribute)
attribute -
public void updateValue(org.apache.commons.beanutils.PropertyUtilsBean beanUtil)
throws MBeanException
beanUtil -
MBeanException
public void updateAttribute(org.apache.commons.beanutils.PropertyUtilsBean beanUtils,
Attribute attr)
throws IllegalAccessException,
InvocationTargetException,
NoSuchMethodException
beanUtils - attr - The attribute to set.
IllegalAccessException
InvocationTargetException
NoSuchMethodExceptionpublic void updateAttributeValue(Object value)
value - public Object getBean()
public void setBean(Object bean)
bean - The bean to set.public PropertyDescriptor getPropertyDescriptor()
public void setPropertyDescriptor(PropertyDescriptor propertyDescriptor)
propertyDescriptor - The propertyDescriptor to set.public MBeanAttributeInfo getAttributeInfo()
public void setAttributeInfo(MBeanAttributeInfo attributeInfo)
attributeInfo - The attributeInfo to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||