|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.extrememessaging.ResponseMaster.monitor.CMonitorBase com.extrememessaging.ResponseMaster.monitor.CLogger com.extrememessaging.ResponseMaster.monitor.CLoggerMBean
public class CLoggerMBean
Derived from Logger, just adds some management functions through JMX
Constructor Summary | |
---|---|
CLoggerMBean()
|
Method Summary | |
---|---|
java.lang.Object |
getAttribute(java.lang.String attribute_name)
Allows the value of the specified attribute of the Dynamic MBean to be obtained. |
javax.management.AttributeList |
getAttributes(java.lang.String[] attributeNames)
|
javax.management.MBeanInfo |
getMBeanInfo()
This method provides the exposed attributes and operations of the Dynamic MBean. |
void |
Initialize(java.lang.String parameter)
Initialize using the parameter from the config file. |
java.lang.Object |
invoke(java.lang.String operationName,
java.lang.Object[] params,
java.lang.String[] signature)
Allows an operation to be invoked on the Dynamic MBean. |
void |
setAttribute(javax.management.Attribute attribute)
Normally, sets the value of the specified attribute of the Dynamic MBean. |
javax.management.AttributeList |
setAttributes(javax.management.AttributeList attributes)
|
void |
Shutdown()
Cleanup any resources you allocated during construction or operation. |
Methods inherited from class com.extrememessaging.ResponseMaster.monitor.CLogger |
---|
LogError, LogError, LogSystem, LogTrace, LogTrace, LogWarning, LogWarning, PostRoll |
Methods inherited from class com.extrememessaging.ResponseMaster.monitor.CMonitorBase |
---|
CategoryDefinitionsLoaded, LoggingLevelFromString, LoggingLevelNameFromValue, MailboxEmpty, MailboxInitializationBegun, MailboxInitializationFinished, MailboxShutdownBegun, MailboxShutdownFinished, MessageCategorized, MessageProcessed, MessageSkipped, ThreadKilled |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CLoggerMBean()
Method Detail |
---|
public void Initialize(java.lang.String parameter) throws ResponseMasterException
IConfigurableItem
Initialize
in interface IConfigurableItem
Initialize
in class CLogger
ResponseMasterException
public void Shutdown()
IConfigurableItem
Shutdown
in interface IConfigurableItem
Shutdown
in class CLogger
public javax.management.AttributeList getAttributes(java.lang.String[] attributeNames)
getAttributes
in interface javax.management.DynamicMBean
public javax.management.AttributeList setAttributes(javax.management.AttributeList attributes)
setAttributes
in interface javax.management.DynamicMBean
public java.lang.Object getAttribute(java.lang.String attribute_name) throws javax.management.AttributeNotFoundException, javax.management.MBeanException
getAttribute
in interface javax.management.DynamicMBean
javax.management.AttributeNotFoundException
javax.management.MBeanException
public void setAttribute(javax.management.Attribute attribute) throws javax.management.AttributeNotFoundException, javax.management.InvalidAttributeValueException, javax.management.MBeanException, javax.management.ReflectionException
setAttribute
in interface javax.management.DynamicMBean
javax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionException
public java.lang.Object invoke(java.lang.String operationName, java.lang.Object[] params, java.lang.String[] signature) throws javax.management.MBeanException, javax.management.ReflectionException
invoke
in interface javax.management.DynamicMBean
javax.management.MBeanException
javax.management.ReflectionException
public javax.management.MBeanInfo getMBeanInfo()
getMBeanInfo
in interface javax.management.DynamicMBean
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |