|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.statistics.beans.ProxiedDynamicMBean
public class ProxiedDynamicMBean
The ProxiedDynamicMBean. Supports truly dynamic mbeans in an easy manner.
| Constructor Summary | |
|---|---|
ProxiedDynamicMBean(String beanName,
String beanDescription,
Collection<AttributeProxy> attributeStandins)
Instantiates a new proxied dynamic m bean. |
|
| Method Summary | |
|---|---|
Object |
getAttribute(String name)
Get a specific attribtue |
AttributeList |
getAttributes(String[] names)
Get a list of attributes. |
String |
getBeanName()
Gets the bean name. |
MBeanInfo |
getMBeanInfo()
Accessor for mbean info |
void |
initialize(Collection<AttributeProxy> attributeStandins)
Initialize. |
Object |
invoke(String name,
Object[] args,
String[] sig)
Not implemented. |
void |
setAttribute(Attribute attribute)
Set an attribtue by name |
AttributeList |
setAttributes(AttributeList list)
Set an attribute list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProxiedDynamicMBean(String beanName,
String beanDescription,
Collection<AttributeProxy> attributeStandins)
beanName - the bean namebeanDescription - the bean descriptionattributeStandins - the attribute standins| Method Detail |
|---|
public void initialize(Collection<AttributeProxy> attributeStandins)
attributeStandins - the attribute standinspublic String getBeanName()
public Object getAttribute(String name)
throws AttributeNotFoundException
getAttribute in interface DynamicMBeanAttributeNotFoundException
public void setAttribute(Attribute attribute)
throws InvalidAttributeValueException,
MBeanException,
AttributeNotFoundException
setAttribute in interface DynamicMBeanInvalidAttributeValueException
MBeanException
AttributeNotFoundExceptionpublic AttributeList getAttributes(String[] names)
getAttributes in interface DynamicMBeanpublic AttributeList setAttributes(AttributeList list)
setAttributes in interface DynamicMBean
public Object invoke(String name,
Object[] args,
String[] sig)
throws MBeanException,
ReflectionException
invoke in interface DynamicMBeanMBeanException
ReflectionExceptionpublic MBeanInfo getMBeanInfo()
getMBeanInfo in interface DynamicMBean
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||