public class ReadJMXService extends GenericService implements RemoteJMX
config
Constructor and Description |
---|
ReadJMXService() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute(java.lang.String objectName,
java.lang.String attributeName)
Returns an attribute.
|
javax.management.MBeanInfo |
getMBeanInfo(java.lang.String objectName)
Returns the mbean info
|
void |
init()
Initialize the server.
|
void |
setMBeanServer(javax.management.MBeanServerConnection server)
Sets the mbean server.
|
destroy, getInitParameter, getObjectId, getRequest, getServiceId, getServiceName, getServletConfig, getServletContext, init, log
public void setMBeanServer(javax.management.MBeanServerConnection server)
public void init()
init
in class GenericService
public javax.management.MBeanInfo getMBeanInfo(java.lang.String objectName) throws javax.management.JMException, java.io.IOException
getMBeanInfo
in interface RemoteJMX
javax.management.JMException
java.io.IOException
public java.lang.Object getAttribute(java.lang.String objectName, java.lang.String attributeName) throws javax.management.JMException, java.io.IOException
getAttribute
in interface RemoteJMX
javax.management.JMException
java.io.IOException