Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.aspects.jmx
Class JmxIntrospectingMixin

    java.lang.Object
      org.jboss.aspects.jmx.JmxIntrospectingMixin

All Implemented Interfaces:
  javax.management.DynamicMBean

public class JmxIntrospectingMixin
extends Object
implements javax.management.DynamicMBean

Introspects a class to provide the JMX management interface. The class does not have to follow any pattern.

public get/set methods will create mbean attributes, all other public methods will be operations.

Version:
  $Revision: 1.1.8.4 $
Author:
  Bill Burke

Nested Class Summary
`class` | `JmxIntrospectingMixin.OpsKey`

Constructor Summary
`JmxIntrospectingMixin(Object target)`

Method Summary
`Object` | `getAttribute(String attribute)`
`javax.management.AttributeList` | `getAttributes(String[] attributes)`
`javax.management.MBeanInfo` | `getMBeanInfo()`
`Object` | `invoke(String actionName, Object[] params, 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

### JmxIntrospectingMixin

    public JmxIntrospectingMixin(Object target)

Method Detail

### getAttribute

    public Object getAttribute(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`

### 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`

### getAttributes

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

  Specified by:
    `getAttributes` in interface `javax.management.DynamicMBean`

### setAttributes

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

  Specified by:
    `setAttributes` in interface `javax.management.DynamicMBean`

### invoke

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

  Specified by:
    `invoke` in interface `javax.management.DynamicMBean`
  Throws:
    `javax.management.MBeanException`
    `javax.management.ReflectionException`

### getMBeanInfo

    public javax.management.MBeanInfo getMBeanInfo()

  Specified by:
    `getMBeanInfo` in interface `javax.management.DynamicMBean`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 JBoss Group, LLC. All Rights Reserved.