org.ow2.easybeans.component.itf
Interface EZBJmxComponent

All Superinterfaces:
EZBComponent

public interface EZBJmxComponent
extends EZBComponent

Interface for the EasyBeans JMX component.

Author:
missonng

Method Summary
 void registerJ2EEManagedObject(EZBJ2EEManagedObject object, org.ow2.util.jmx.api.IBaseModelMBeanExt mbean)
          Register a new J2EE managed object.
If a J2EE managed object with the same id is already registered, it will be unregistered first.
 void registerMBeanAttribute(EZBMBeanAttribute mbeanAttribute)
          Register a new mbean attribute.
The attribute will automatically be register with each MBean matching his filter.
 void registerMBeanOperation(EZBMBeanOperation mbeanOperation)
          Register a new mbean operation.
The operation will automatically be register with each MBean matching his filter.
 void unregisterJ2EEManagedObject(EZBJ2EEManagedObject object)
          Unregister a J2EE managed object.
 void unregisterMBeanAttribute(EZBMBeanAttribute mbeanAttribute)
          Unregister a mbean attribute.
 void unregisterMBeanOperation(EZBMBeanOperation mbeanOperation)
          Unregister a mbean operation.
 
Methods inherited from interface org.ow2.easybeans.component.api.EZBComponent
init, start, stop
 

Method Detail

registerJ2EEManagedObject

void registerJ2EEManagedObject(EZBJ2EEManagedObject object,
                               org.ow2.util.jmx.api.IBaseModelMBeanExt mbean)
Register a new J2EE managed object.
If a J2EE managed object with the same id is already registered, it will be unregistered first.

Parameters:
object - The J2EE managed object to register.
mbean - the BaseModelMBean for this J2EE managed object.

unregisterJ2EEManagedObject

void unregisterJ2EEManagedObject(EZBJ2EEManagedObject object)
Unregister a J2EE managed object.

Parameters:
object - The J2EE managed object to unregister.

registerMBeanAttribute

void registerMBeanAttribute(EZBMBeanAttribute mbeanAttribute)
Register a new mbean attribute.
The attribute will automatically be register with each MBean matching his filter.

Parameters:
mbeanAttribute - The mbean attribute to register.

unregisterMBeanAttribute

void unregisterMBeanAttribute(EZBMBeanAttribute mbeanAttribute)
Unregister a mbean attribute.

Parameters:
mbeanAttribute - The mbean attribute to unregister.

registerMBeanOperation

void registerMBeanOperation(EZBMBeanOperation mbeanOperation)
Register a new mbean operation.
The operation will automatically be register with each MBean matching his filter.

Parameters:
mbeanOperation - The mbean operation to register.

unregisterMBeanOperation

void unregisterMBeanOperation(EZBMBeanOperation mbeanOperation)
Unregister a mbean operation.

Parameters:
mbeanOperation - The mbean operation to unregister.


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