com.ibm.websphere.sib.wsn

Class NotificationMessage

  1. java.lang.Object
  2. extended bycom.ibm.websphere.sib.wsn.NotificationMessage

  1. public class NotificationMessage
  2. extends java.lang.Object
This class represents the NotificationMessageHolderType type in the WS-Notification Base Notification schema. The class encapsulates a notification message published by a WS-Notification producer. The notification message contains:

Constructor Summary

Constructor and Description
NotificationMessage(javax.xml.soap.SOAPElement messageContents)
Construct an instance with the specified message contents

Method Summary

Modifier and Type Method and Description
  1. javax.xml.soap.SOAPElement
getMessageContents()
Get the message contents as a SOAPElement
  1. EndpointReference
getProducerReference()
Get the endpoint reference for the producer associated with the message
  1. EndpointReference
getSubscriptionReference()
Get the endpoint reference for the subscription associated with the message
  1. TopicExpression
getTopic()
Get the topic expression associated with the message
  1. void
setMessageContents(javax.xml.soap.SOAPElement messageContents)
Set the message contents as a SOAPElement
  1. void
setProducerReference(EndpointReference producerReference)
Set the endpoint reference for the producer associated with the message
  1. void
setSubscriptionReference(EndpointReference subscriptionReference)
Set the endpoint reference for the subscription associated with the message
  1. void
setTopic(TopicExpression topic)
Set the topic expression associated with the message
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

NotificationMessage

  1. public NotificationMessage(javax.xml.soap.SOAPElement messageContents)
Construct an instance with the specified message contents
Parameters:
messageContents - The contents of the notification message as a SOAPElement

Method Detail

getSubscriptionReference

  1. public EndpointReference getSubscriptionReference( )
Get the endpoint reference for the subscription associated with the message
Returns:
The endpoint reference or null if not included in the notification message

setSubscriptionReference

  1. public void setSubscriptionReference( EndpointReference subscriptionReference)
Set the endpoint reference for the subscription associated with the message
Parameters:
subscriptionReference - The endpoint reference

getTopic

  1. public TopicExpression getTopic( )
Get the topic expression associated with the message
Returns:
The topic expression

setTopic

  1. public void setTopic(TopicExpression topic)
Set the topic expression associated with the message
Parameters:
topic - The topic expression

getProducerReference

  1. public EndpointReference getProducerReference( )
Get the endpoint reference for the producer associated with the message
Returns:
The endpoint reference or null if not included in the notification message

setProducerReference

  1. public void setProducerReference( EndpointReference producerReference)
Set the endpoint reference for the producer associated with the message
Parameters:
producerReference - The endpoint reference

getMessageContents

  1. public javax.xml.soap.SOAPElement getMessageContents( )
Get the message contents as a SOAPElement
Returns:
The message contents

setMessageContents

  1. public void setMessageContents( javax.xml.soap.SOAPElement messageContents)
Set the message contents as a SOAPElement
Parameters:
messageContents - The message contents