public class ProxiedDynamicMBean extends Object implements DynamicMBean
| Constructor and Description |
|---|
ProxiedDynamicMBean(String beanName,
String beanDescription,
Collection<AttributeProxy> attributeStandins)
Instantiates a new proxied dynamic m bean.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public ProxiedDynamicMBean(String beanName, String beanDescription, Collection<AttributeProxy> attributeStandins)
beanName - the bean namebeanDescription - the bean descriptionattributeStandins - the attribute standinspublic void initialize(Collection<AttributeProxy> attributeStandins)
attributeStandins - the attribute standinspublic String getBeanName()
public Object getAttribute(String name) throws AttributeNotFoundException
getAttribute in interface DynamicMBeanAttributeNotFoundExceptionpublic void setAttribute(Attribute attribute) throws InvalidAttributeValueException, MBeanException, AttributeNotFoundException
setAttribute in interface DynamicMBeanInvalidAttributeValueExceptionMBeanExceptionAttributeNotFoundExceptionpublic AttributeList getAttributes(String[] names)
getAttributes in interface DynamicMBeanpublic AttributeList setAttributes(AttributeList list)
setAttributes in interface DynamicMBeanpublic Object invoke(String name, Object[] args, String[] sig) throws MBeanException, ReflectionException
invoke in interface DynamicMBeanMBeanExceptionReflectionExceptionpublic MBeanInfo getMBeanInfo()
getMBeanInfo in interface DynamicMBeanCopyright 2001-2021, Terracotta, Inc.