org.objectweb.joram.mom.messages
Class MessageJMXWrapper
java.lang.Object
org.objectweb.joram.mom.messages.MessageJMXWrapper
public class MessageJMXWrapper
- extends java.lang.Object
Field Summary |
static java.lang.String[] |
itemDescs
|
static java.lang.String[] |
itemNames
|
static javax.management.openmbean.OpenType[] |
itemTypes
|
Method Summary |
static javax.management.openmbean.CompositeData |
createCompositeDataSupport(Message msg)
Returns the description of a message. |
static javax.management.openmbean.TabularData |
createTabularDataSupport(java.util.Enumeration messages)
Returns the description of an enumeration of messages. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
itemNames
public static final java.lang.String[] itemNames
itemDescs
public static final java.lang.String[] itemDescs
itemTypes
public static final javax.management.openmbean.OpenType[] itemTypes
MessageJMXWrapper
public MessageJMXWrapper()
createCompositeDataSupport
public static javax.management.openmbean.CompositeData createCompositeDataSupport(Message msg)
throws java.lang.Exception
- Returns the description of a message.
The description includes the type and priority of the message.
- Parameters:
msg
- The message to describe.
- Returns:
- The message description.
- Throws:
java.lang.Exception
createTabularDataSupport
public static javax.management.openmbean.TabularData createTabularDataSupport(java.util.Enumeration messages)
throws java.lang.Exception
- Returns the description of an enumeration of messages.
The description includes the type and priority of the message.
- Parameters:
msg
- The enumeration of messages to describe.
- Returns:
- The messages description.
- Throws:
java.lang.Exception
Copyright © 2000 - 2009 Scalagent D.T. - All rights reserved