com.ibm.websphere.sib.wsn

Class GetMessagesResponse



  • public class GetMessagesResponse
    extends AnyElemAnyAttrType
    A class which represents the GetMessagesResponse element in the WS-Notification Base Notification schema. This class allows custom elements and attributes to be set.
    See Also:
    AnyElemAnyAttrType
    • Constructor Detail

      • GetMessagesResponse

        public GetMessagesResponse(NotificationMessage[] messages)
        Create an instance without user defined elements
        Parameters:
        messages - The notification messages being returned
      • GetMessagesResponse

        public GetMessagesResponse(NotificationMessage[] messages,
                           javax.xml.soap.SOAPElement[] elements)
        Create an instance with user defined elements
        Parameters:
        messages - The notification messages being returned
        elements - User defined SOAPElements
    • Method Detail

      • getMessages

        public NotificationMessage[] getMessages()
        Get the notification messages returned
        Returns:
        Returns the messages
      • setMessages

        public void setMessages(NotificationMessage[] messages)
        Set the notification messages to return
        Parameters:
        messages - The messages
IBM WebSphere Application ServerTM
Release 9.0