|
Oracle Application Server Web Services Java API Reference 10g Release 3 (10.1.3) B25988-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Context for reliable interactions. Used to set reliability characteristics of messages that are sent within the scope of the context. Also used to demarcate groups of ordered messages.
| Field Summary | |
static int |
ACKNOWLEDGMENT_TYPE_CALLBACKThe 'asynchronous' acknowledgment type (0). |
static int |
ACKNOWLEDGMENT_TYPE_CONFIGThe acknowledgment type will be taken from the management config file if it exists (3). |
static int |
ACKNOWLEDGMENT_TYPE_POLLThe 'poll' acknowledgment type (2). |
static int |
ACKNOWLEDGMENT_TYPE_SYNCHRONOUSThe 'synchronous' acknowledgment type (1). |
| Method Summary | |
void |
addReliabilityListener(ReliabilityListener listener)Adds a reliability listener to the Global Callback. |
void |
destroy()Destroys the current context |
void |
endMessageOrdering()Ends message ordering on the current group in the context |
int |
getAcknowledgmentType()Gets the type of acknowledgement expected; synchronous, asynchronous or poll. |
long |
getExpiryTime()Gets the expiry time for messages in this context |
String |
getGroupId()Gets the current group id |
long |
getGroupMaxExpiryTime()Gets the max expiry time for messages in a group |
long |
getGroupMaxIdleTime()Gets the max idle time for messages in a group |
String |
getReplyToURL()Gets the URL to which replies will be sent. |
long |
getSequenceNumber()Gets the sequence number of the next message. |
boolean |
isDuplicateEliminationEnabled()Determines if duplicate elimination is enabled for this context. |
boolean |
isGuaranteedDeliveryEnabled()Determines if guaranteed delivery is enabled for this context. |
boolean |
isMessageOrdering()Determines if the context is in a message ordered group |
boolean |
isSendingLastMessageInGroup()Determines if the next message is flagged to be the last in the group. |
void |
removeReliabilityListener(ReliabilityListener listener)Removes a reliability listener from the Global Callback. |
void |
sendingLastMessageInGroup(boolean flag)Flags the next message as the last in the group. |
void |
setAcknowledgmentType(int acknowledgmentType)Sets the type of acknowledgement, sync, async or poll |
void |
setDuplicateEliminationEnabled(boolean enable)Enables duplicate elimination for this context |
void |
setExpiryTime(long expiryTime)Sets the expiry time for messages in this context |
void |
setGroupMaxExpiryTime(long groupMaxExpiryTime)Sets the max expiry time for messages in a group |
void |
setGroupMaxIdleTime(long groupMaxIdleTime)Sets the max idle time for messages in a group |
void |
setGuaranteedDeliveryEnabled(boolean enable)Enables guaranteed delivery for this context |
void |
setReplyToURL(String replyToURL)Sets the URL to which asynchronous replies will be sent. |
String |
startMessageOrdering()Creates a new group in which message ordering is enabled. |
| Field Detail |
public static final int ACKNOWLEDGMENT_TYPE_CALLBACK
public static final int ACKNOWLEDGMENT_TYPE_SYNCHRONOUS
public static final int ACKNOWLEDGMENT_TYPE_POLL
public static final int ACKNOWLEDGMENT_TYPE_CONFIG
| Method Detail |
public int getAcknowledgmentType()
public void setAcknowledgmentType(int acknowledgmentType)
acknowledgmentType -public String getReplyToURL()
public void setReplyToURL(String replyToURL)
replyToURL -public long getExpiryTime()
public void setExpiryTime(long expiryTime)
expiryTime - the expiry time for messagespublic boolean isGuaranteedDeliveryEnabled()
public void setGuaranteedDeliveryEnabled(boolean enable)
enable - true to enablepublic boolean isDuplicateEliminationEnabled()
public void setDuplicateEliminationEnabled(boolean enable)
enable - true to enablepublic boolean isMessageOrdering()
public String startMessageOrdering()
public void endMessageOrdering()
public void sendingLastMessageInGroup(boolean flag)
flag - true, sets the next message as the last in the grouppublic boolean isSendingLastMessageInGroup()
public String getGroupId()
public long getSequenceNumber()
public long getGroupMaxExpiryTime()
public void setGroupMaxExpiryTime(long groupMaxExpiryTime)
groupMaxExpiryTime - the expiry time for messagespublic long getGroupMaxIdleTime()
public void setGroupMaxIdleTime(long groupMaxIdleTime)
groupMaxIdleTime - the max idle timepublic void destroy()
public void addReliabilityListener(ReliabilityListener listener)
listener - the reliability listener to be addedpublic void removeReliabilityListener(ReliabilityListener listener)
listener - the listener to be removed.
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||