ch.syabru.nagios.broker.jmx
Class JmxMessage

java.lang.Object
  extended by ch.syabru.nagios.broker.jmx.JmxMessage
All Implemented Interfaces:
Message

public class JmxMessage
extends Object
implements Message

JMX message implementation.

Author:
Felix Roethenbacher

Constructor Summary
JmxMessage(Notification notification)
          Create a message from a JMX notification.
 
Method Summary
 String getClassName()
          Get class name.
 String getMessage()
          Get message.
 String getSource()
          Get message source.
 String getType()
          Get message type.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JmxMessage

public JmxMessage(Notification notification)
Create a message from a JMX notification.

Parameters:
notification - JMX notification.
Method Detail

getClassName

public String getClassName()
Description copied from interface: Message
Get class name.

Specified by:
getClassName in interface Message
Returns:
Class name.

getMessage

public String getMessage()
Description copied from interface: Message
Get message.

Specified by:
getMessage in interface Message
Returns:
Message.

getType

public String getType()
Description copied from interface: Message
Get message type.

Specified by:
getType in interface Message
Returns:
Message type.

getSource

public String getSource()
Description copied from interface: Message
Get message source.

Specified by:
getSource in interface Message
Returns:
Message source.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010-2011 Syabru. All Rights Reserved.