org.objectweb.joram.mom.messages
Class MessageJMXWrapper

java.lang.Object
  extended by org.objectweb.joram.mom.messages.MessageJMXWrapper

public class MessageJMXWrapper
extends java.lang.Object


Constructor Summary
MessageJMXWrapper()
           
 
Method Summary
static javax.management.openmbean.CompositeData createCompositeDataSupport(Message msg)
          Returns the description of a message.
static javax.management.openmbean.TabularData createTabularDataSupport(java.util.Map messages, java.util.List ids)
          Returns the description of a subset of an hashtable of messages.
static javax.management.openmbean.TabularData createTabularDataSupport(java.util.Vector messages)
          Returns the description of a vector of messages.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageJMXWrapper

public MessageJMXWrapper()
Method Detail

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.Vector messages)
                                                                       throws java.lang.Exception
Returns the description of a vector of messages.

Parameters:
messages - The vector of messages to describe.
Returns:
The messages description.
Throws:
java.lang.Exception

createTabularDataSupport

public static javax.management.openmbean.TabularData createTabularDataSupport(java.util.Map messages,
                                                                              java.util.List ids)
                                                                       throws java.lang.Exception
Returns the description of a subset of an hashtable of messages.

Parameters:
messages - The hashtable of messages to describe.
Returns:
The messages description.
Throws:
java.lang.Exception


Copyright © 2011 ScalAgent D.T.. All Rights Reserved.