public class MBeanService
extends Object
A MBean service helper class which can register any
POJO object against an MBeanServer with using the ObjectName
specified.
This service supports the lifecycle of the Fungal kernel
Constructor Summary
Constructors
Method Summary
All Methods Instance Methods Concrete Methods
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Constructor Details
MBeanService
public MBeanService ()
Constructor
Method Details
setMBeanServer
Set the MBean server
Parameters:
v - The value
setObjectName
public void setObjectName (String v)
Set the object name
Parameters:
v - The value
setObject
public void setObject (Object v)
Set the object
Parameters:
v - The value
start
Start
Throws:
Throwable - Thrown in case of an error
stop
Stop
Throws:
Throwable - Thrown in case of an error