SMILA (incubation) API documentation

org.eclipse.smila.management.jmx
Class AgentMBean

java.lang.Object
  extended by org.eclipse.smila.management.jmx.AgentMBean
All Implemented Interfaces:
javax.management.DynamicMBean

public class AgentMBean
extends java.lang.Object
implements javax.management.DynamicMBean

The Class LocalMBean.


Constructor Summary
AgentMBean(javax.management.modelmbean.ModelMBeanInfo beanInfo, ManagementAgent agent)
          Instantiates a new local m bean.
 
Method Summary
 java.lang.Object getAttribute(java.lang.String attribute)
          
 javax.management.AttributeList getAttributes(java.lang.String[] attributes)
          
 javax.management.MBeanInfo getMBeanInfo()
          
 java.lang.Object invoke(java.lang.String actionName, java.lang.Object[] params, java.lang.String[] signature)
          
 void setAttribute(javax.management.Attribute attribute)
          
 javax.management.AttributeList setAttributes(javax.management.AttributeList attributes)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentMBean

public AgentMBean(javax.management.modelmbean.ModelMBeanInfo beanInfo,
                  ManagementAgent agent)
Instantiates a new local m bean.

Parameters:
beanInfo - the bean info
agent - the agent
Method Detail

getMBeanInfo

public javax.management.MBeanInfo getMBeanInfo()

Specified by:
getMBeanInfo in interface javax.management.DynamicMBean
See Also:
DynamicMBean.getMBeanInfo()

getAttribute

public java.lang.Object getAttribute(java.lang.String attribute)
                              throws javax.management.AttributeNotFoundException,
                                     javax.management.MBeanException,
                                     javax.management.ReflectionException

Specified by:
getAttribute in interface javax.management.DynamicMBean
Throws:
javax.management.AttributeNotFoundException
javax.management.MBeanException
javax.management.ReflectionException
See Also:
DynamicMBean.getAttribute(java.lang.String)

invoke

public java.lang.Object invoke(java.lang.String actionName,
                               java.lang.Object[] params,
                               java.lang.String[] signature)
                        throws javax.management.MBeanException,
                               javax.management.ReflectionException

Specified by:
invoke in interface javax.management.DynamicMBean
Throws:
javax.management.MBeanException
javax.management.ReflectionException
See Also:
DynamicMBean.invoke(java.lang.String, java.lang.Object[], java.lang.String[])

setAttribute

public void setAttribute(javax.management.Attribute attribute)
                  throws javax.management.AttributeNotFoundException,
                         javax.management.InvalidAttributeValueException,
                         javax.management.MBeanException,
                         javax.management.ReflectionException

Specified by:
setAttribute in interface javax.management.DynamicMBean
Throws:
javax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionException
See Also:
DynamicMBean.setAttribute(javax.management.Attribute)

getAttributes

public javax.management.AttributeList getAttributes(java.lang.String[] attributes)

Specified by:
getAttributes in interface javax.management.DynamicMBean
See Also:
DynamicMBean.getAttributes(java.lang.String[])

setAttributes

public javax.management.AttributeList setAttributes(javax.management.AttributeList attributes)

Specified by:
setAttributes in interface javax.management.DynamicMBean
See Also:
DynamicMBean.setAttributes(javax.management.AttributeList)

SMILA (incubation) API documentation