org.ow2.util.jmx.api
Interface IBaseModelMBeanExt

All Superinterfaces:
DynamicMBean, MBeanRegistration, ModelMBean, ModelMBeanNotificationBroadcaster, NotificationBroadcaster, PersistentMBean

public interface IBaseModelMBeanExt
extends ModelMBean, MBeanRegistration

Extends Commons Modeler BaseModelMBean class to allow adding attributes and operations at runtime.

Author:
missonng

Method Summary
 void addAttribute(IMBeanAttribute attribute)
          Add an attribute.
 void addOperation(IMBeanOperation operation)
          Add an operation.
 void removeAttribute(IMBeanAttribute attribute)
          Remove an attribute.
 void removeOperation(IMBeanOperation operation)
          Remove an operation.
 
Methods inherited from interface javax.management.modelmbean.ModelMBean
setManagedResource, setModelMBeanInfo
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, getMBeanInfo, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.PersistentMBean
load, store
 
Methods inherited from interface javax.management.modelmbean.ModelMBeanNotificationBroadcaster
addAttributeChangeNotificationListener, removeAttributeChangeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 

Method Detail

addAttribute

void addAttribute(IMBeanAttribute attribute)
Add an attribute.

Parameters:
attribute - The attribute to add.

removeAttribute

void removeAttribute(IMBeanAttribute attribute)
Remove an attribute.

Parameters:
attribute - The attribute to remove.

addOperation

void addOperation(IMBeanOperation operation)
Add an operation.

Parameters:
operation - The operation to add.

removeOperation

void removeOperation(IMBeanOperation operation)
Remove an operation.

Parameters:
operation - The operation to remove.


Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.