|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.easybeans.component.jmx.JmxComponent
public class JmxComponent
Implementation of the EasyBeans JMX component.
Constructor Summary | |
---|---|
JmxComponent()
|
Method Summary | |
---|---|
void |
init()
Init method. This method is called before the start method. |
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 |
setCommonsModelerExtService(org.ow2.util.jmx.api.ICommonsModelerExtService service)
Set the CommonsModelerExtService to use. |
void |
start()
Start method. This method is called after the init method. |
void |
stop()
Stop method. This method is called when component needs to be stopped. |
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 class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JmxComponent()
Method Detail |
---|
public void init() throws EZBComponentException
init
in interface EZBComponent
EZBComponentException
- if the initialization has failed.public void start() throws EZBComponentException
start
in interface EZBComponent
EZBComponentException
- if the start has failed.public void stop() throws EZBComponentException
stop
in interface EZBComponent
EZBComponentException
- if the stop is failing.public void setCommonsModelerExtService(org.ow2.util.jmx.api.ICommonsModelerExtService service)
service
- The CommonsModelerExtService to use.public void registerJ2EEManagedObject(EZBJ2EEManagedObject object, org.ow2.util.jmx.api.IBaseModelMBeanExt mbean)
registerJ2EEManagedObject
in interface EZBJmxComponent
object
- The J2EE managed object to register.mbean
- the BaseModelMBean for this J2EE managed object.public void unregisterJ2EEManagedObject(EZBJ2EEManagedObject object)
unregisterJ2EEManagedObject
in interface EZBJmxComponent
object
- The J2EE managed object to unregister.public void registerMBeanAttribute(EZBMBeanAttribute mbeanAttribute)
registerMBeanAttribute
in interface EZBJmxComponent
mbeanAttribute
- The mbean attribute to register.public void unregisterMBeanAttribute(EZBMBeanAttribute mbeanAttribute)
unregisterMBeanAttribute
in interface EZBJmxComponent
mbeanAttribute
- The mbean attribute to unregister.public void registerMBeanOperation(EZBMBeanOperation mbeanOperation)
registerMBeanOperation
in interface EZBJmxComponent
mbeanOperation
- The mbean operation to register.public void unregisterMBeanOperation(EZBMBeanOperation mbeanOperation)
unregisterMBeanOperation
in interface EZBJmxComponent
mbeanOperation
- The mbean operation to unregister.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |