|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.wsee.reliability.WsrmUtils
public class WsrmUtils
This class is a utility class for using Web Services Reliable Messaging (WSRM). It allows you to do common things such as setting configuration options, getting the sequence id, and terminating a reliable sequence.
Constructor Summary | |
---|---|
WsrmUtils()
|
Method Summary | |
---|---|
static Duration |
getExpires(Stub stub)
This method gets the expiration time that was previously set on the reliable sequence. |
static Duration |
getOfferExpires(Stub stub)
This method gets the expiration time that was previously set on the offered reliable sequence. |
static String |
getSequenceId(Stub stub)
This method is to obtain the sequence id on a |
static boolean |
isAnonymousAck(Stub stub)
This method determines whether anonymous acknowledgement is used. |
static boolean |
isLastMessage(Stub stub)
This method determines whether the last message property has been previously set. |
static void |
printSoapMsg(SOAPMessage msg)
|
static void |
sendEmptyLastMessage(Stub stub)
This method is used to send an empty last message according to the WSRM spec. |
static void |
setAnonymousAck(Stub stub)
This method allows to use anonymous acknowledgement according to the WSRM specification. |
static void |
setExpires(Stub stub,
Duration duration)
This method sets the expiration time of the reliable sequence on the client side. |
static void |
setLastMessage(Stub stub)
This method sets the next message sent to be the last message. |
static void |
setOfferExpires(Stub stub,
Duration duration)
This method sets the expiration time of the offered reliable sequence. |
static void |
terminateSequence(Stub stub)
This method is used to terminate a reliable sequence on the given stub. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WsrmUtils()
Method Detail |
---|
public static void sendEmptyLastMessage(Stub stub)
stub
- The jaxrpc stub that's used to carry the reliable sequence.
JAXRPCException
- This exception is thrown when there are errors in sending the
mesage.public static void terminateSequence(Stub stub)
stub
- The jaxrpc stub that's used to carry the reliable sequence.
JAXRPCException
- This exception is thrown when there are errors in terminating
the sequence.public static String getSequenceId(Stub stub)
stub
- The jaxrpc stub that's used to carry the reliable sequence.
JAXRPCException
- This exception is thrown when there are errors in getting the
reliable sequence id.public static void setExpires(Stub stub, Duration duration)
stub
- The jaxrpc stub that's used to carry the reliable sequence.duration
- The duration of the reliable sequence.public static Duration getExpires(Stub stub)
stub
- The jaxrpc stub that's used to carry the reliable sequence.
public static void setOfferExpires(Stub stub, Duration duration)
stub
- The jaxrpc stub that's used to carry the reliable sequence.duration
- The duration of the reliable sequence.public static Duration getOfferExpires(Stub stub)
stub
- The jaxrpc stub that's used to carry the reliable sequence.
public static void setAnonymousAck(Stub stub)
stub
- The jaxrpc stub that's used to carry the reliable sequence.public static boolean isAnonymousAck(Stub stub)
stub
- The jaxrpc stub that's used to carry the reliable sequence.
public static void setLastMessage(Stub stub)
stub
- The jaxrpc stub that's used to carry the reliable sequence.public static boolean isLastMessage(Stub stub)
stub
- The jaxrpc stub that's used to carry the reliable sequence.
public static void printSoapMsg(SOAPMessage msg)
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs92 Copyright 2006 BEA Systems Inc. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |