|
xmlBlaster 2.2.0 client API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xmlBlaster.util.admin.extern.JmxLogLevel
public class JmxLogLevel
Definition of a dynamic MBean which exports the logging properties. The "JmxLogLevel" dynamic MBean exposes management attributes and operations, at runtime, by implementing the "javax.management.DynamicMBean" interface. This MBean exposes for management all Logger values. - the read/write attribute, - the "reset()" operation. It does so by putting this information in an MBeanInfo object that is returned by the getMBeanInfo() method of the DynamicMBean interface. It implements the access to its attributes through the getAttribute(), getAttributes(), setAttribute(), and setAttributes() methods of the DynamicMBean interface. It implements the invocation of its reset() operation through the invoke() method of the DynamicMBean interface. Note that as "JmxLogLevel" explicitly defines one constructor, this constructor must be public and exposed for management through the MBeanInfo object.
Constructor Summary | |
---|---|
JmxLogLevel()
Export all log-level settings. |
|
JmxLogLevel(Global glob)
Export all log-level settings. |
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)
Enables the to get the values of several attributes of the Dynamic MBean. |
javax.management.MBeanInfo |
getMBeanInfo()
This method provides the exposed attributes and operations of the Dynamic MBean. |
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. |
java.lang.String |
reset()
Operation: reset to their initial values |
void |
setAttribute(javax.management.Attribute attribute)
Sets the value of the specified attribute of the Dynamic MBean. |
javax.management.AttributeList |
setAttributes(javax.management.AttributeList attributes)
Sets the values of several attributes of the Dynamic MBean, and returns the list of attributes that have been set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JmxLogLevel()
public JmxLogLevel(Global glob)
Method Detail |
---|
public java.lang.Object getAttribute(java.lang.String attribute_name) throws javax.management.AttributeNotFoundException, javax.management.MBeanException, javax.management.ReflectionException
getAttribute
in interface javax.management.DynamicMBean
javax.management.AttributeNotFoundException
javax.management.MBeanException
javax.management.ReflectionException
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 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 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
public java.lang.String reset()
|
xmlBlaster 2.2.0 client API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |