public class CLoggerMBean extends CLogger implements javax.management.DynamicMBean
| Constructor and Description |
|---|
CLoggerMBean() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
LogError, LogError, LogSystem, LogTrace, LogTrace, LogWarning, LogWarning, PostRollCategoryDefinitionsLoaded, LoggingLevelFromString, LoggingLevelNameFromValue, MailboxEmpty, MailboxInitializationBegun, MailboxInitializationFinished, MailboxShutdownBegun, MailboxShutdownFinished, MessageCategorized, MessageCategorized, MessageCount, MessageFetched, MessageProcessed, MessageProcessed, MessageProcessed, MessageSkipped, MessageSkipped, SkippedRemovedMessage, ThreadKilled, ThreadKilledpublic void Initialize(java.lang.String parameter)
throws ResponseMasterException
IConfigurableItemInitialize in interface IConfigurableItemInitialize in class CLoggerparameter - The parameter from the config file, Frequently, the parameter will be a file name.ResponseMasterException - for invalid parameters (and potentially other issues).public void Shutdown()
IConfigurableItemShutdown in interface IConfigurableItemShutdown in class CLoggerpublic javax.management.AttributeList getAttributes(java.lang.String[] attributeNames)
getAttributes in interface javax.management.DynamicMBeanpublic javax.management.AttributeList setAttributes(javax.management.AttributeList attributes)
setAttributes in interface javax.management.DynamicMBeanpublic java.lang.Object getAttribute(java.lang.String attribute_name)
throws javax.management.AttributeNotFoundException,
javax.management.MBeanException
getAttribute in interface javax.management.DynamicMBeanjavax.management.AttributeNotFoundExceptionjavax.management.MBeanExceptionpublic void setAttribute(javax.management.Attribute attribute)
throws javax.management.AttributeNotFoundException,
javax.management.InvalidAttributeValueException,
javax.management.MBeanException,
javax.management.ReflectionException
setAttribute in interface javax.management.DynamicMBeanjavax.management.AttributeNotFoundExceptionjavax.management.InvalidAttributeValueExceptionjavax.management.MBeanExceptionjavax.management.ReflectionExceptionpublic 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.DynamicMBeanjavax.management.MBeanExceptionjavax.management.ReflectionExceptionpublic javax.management.MBeanInfo getMBeanInfo()
getMBeanInfo in interface javax.management.DynamicMBean