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 DynamicMBean
AttributeNotFoundException
public void setAttribute(Attribute attribute) throws InvalidAttributeValueException, MBeanException, AttributeNotFoundException
setAttribute
in interface DynamicMBean
InvalidAttributeValueException
MBeanException
AttributeNotFoundException
public AttributeList getAttributes(String[] names)
getAttributes
in interface DynamicMBean
public AttributeList setAttributes(AttributeList list)
setAttributes
in interface DynamicMBean
public Object invoke(String name, Object[] args, String[] sig) throws MBeanException, ReflectionException
invoke
in interface DynamicMBean
MBeanException
ReflectionException
public MBeanInfo getMBeanInfo()
getMBeanInfo
in interface DynamicMBean
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.