Oracle Fusion Middleware User Messaging Service 11.1.1.7.0 Java API Reference
E14011-05

oracle.sdp.messaging.driver
Class StatusFactory

java.lang.Object
  extended by oracle.sdp.messaging.driver.StatusFactory

public final class StatusFactory
extends java.lang.Object

Status Factory available to drivers to create Status objects.

Since:
11.0.0

Constructor Summary
StatusFactory()
           
 
Method Summary
static Status createStatus()
          Create a new status object set with the current date.
static Status createStatus(Message message, Address recipientAddress, java.lang.String gatewayMessageId)
          Convenient factory method to create a new sending status object set with the current date, the message id of message, the recipientAddress and the specified gatewayMessageId.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatusFactory

public StatusFactory()
Method Detail

createStatus

public static Status createStatus()
Create a new status object set with the current date.

Returns:
a new status object.

createStatus

public static Status createStatus(Message message,
                                  Address recipientAddress,
                                  java.lang.String gatewayMessageId)
Convenient factory method to create a new sending status object set with the current date, the message id of message, the recipientAddress and the specified gatewayMessageId.

Parameters:
message - the message that this new status should refer to
recipientAddress - the recipient address for this status
gatewayMessageId - the unique gateway message id for this recipient.
Returns:
a new status object.

Oracle Fusion Middleware User Messaging Service 11.1.1.7.0 Java API Reference
E14011-05

Copyright © 2009, 2013 Oracle and/or its affiliates. All rights reserved.