|
Oracle Application Server Web Services Java API Reference 10g Release 3 (10.1.3.1.0) B28977-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReliabilityContext
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_CALLBACK The 'asynchronous' (callback) acknowledgment type (0). |
static int |
ACKNOWLEDGMENT_TYPE_CONFIG The acknowledgment type will be taken from the management config file if it exists (3). |
static int |
ACKNOWLEDGMENT_TYPE_POLL The 'poll' acknowledgment type (2). |
static int |
ACKNOWLEDGMENT_TYPE_SYNCHRONOUS The '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 (callback), 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: synchronous, asynchronous (callback), 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 |
---|
static final int ACKNOWLEDGMENT_TYPE_CALLBACK
static final int ACKNOWLEDGMENT_TYPE_SYNCHRONOUS
static final int ACKNOWLEDGMENT_TYPE_POLL
static final int ACKNOWLEDGMENT_TYPE_CONFIG
Method Detail |
---|
int getAcknowledgmentType()
void setAcknowledgmentType(int acknowledgmentType)
acknowledgmentType
-String getReplyToURL()
void setReplyToURL(String replyToURL)
replyToURL
-long getExpiryTime()
void setExpiryTime(long expiryTime)
expiryTime
- the expiry time for messagesboolean isGuaranteedDeliveryEnabled()
void setGuaranteedDeliveryEnabled(boolean enable)
enable
- true to enableboolean isDuplicateEliminationEnabled()
void setDuplicateEliminationEnabled(boolean enable)
enable
- true to enableboolean isMessageOrdering()
String startMessageOrdering()
void endMessageOrdering()
void sendingLastMessageInGroup(boolean flag)
flag
- true, sets the next message as the last in the groupboolean isSendingLastMessageInGroup()
String getGroupId()
long getSequenceNumber()
long getGroupMaxExpiryTime()
void setGroupMaxExpiryTime(long groupMaxExpiryTime)
groupMaxExpiryTime
- the expiry time for messageslong getGroupMaxIdleTime()
void setGroupMaxIdleTime(long groupMaxIdleTime)
groupMaxIdleTime
- the max idle timevoid destroy()
void addReliabilityListener(ReliabilityListener listener)
listener
- the reliability listener to be addedvoid 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 |