public class ConversationUtils extends ConversationUtils2
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
CONVERSATION_ID |
Deprecated.
|
static java.lang.String |
SERVER_NAME |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
static void |
continueConversation(javax.xml.rpc.Stub stub,
java.util.Map props) |
Deprecated.
Continue a conversation on a stub that wasn't originally in the conversation.
|
static java.lang.String |
getConversationAppVersion(WlMessageContext wlmc) |
Deprecated.
|
static java.lang.String |
getConversationId(javax.xml.rpc.Stub stub) |
Deprecated.
This method gets the conversation id on the stub.
|
static int |
getConversationMethodBlockTimeout(javax.xml.rpc.Stub stub) |
Deprecated.
This method gets the previously set block timeout.
|
static java.lang.Integer |
getConversationVersion(javax.xml.rpc.Stub stub) |
Deprecated.
This method gets the current conversation version.
|
static void |
renewStub(javax.xml.rpc.Stub stub) |
Deprecated.
Renew a stub so it can be used to start a new conversation.
|
static void |
setConversationId(javax.xml.rpc.Stub stub,
java.lang.String id) |
Deprecated.
This method sets conversation id on the stub.
|
static void |
setConversationMethodBlockTimeout(javax.xml.rpc.Stub stub,
int numsecs) |
Deprecated.
Set how long a conversational continue method should block while waiting for
the server to assign a conversation id.
|
static void |
setConversationVersionOne(javax.xml.rpc.Stub stub) |
Deprecated.
Use version one converation (client assigned conversation id)
|
static void |
setConversationVersionTwo(javax.xml.rpc.Stub stub) |
Deprecated.
Use version two converation (server assigned conversation id) This is the default
when no version property is set.
|
isConversationalpublic static final java.lang.String SERVER_NAME
public static final java.lang.String CONVERSATION_ID
public static java.lang.String getConversationId(javax.xml.rpc.Stub stub)
throws ConversationIdNotYetAvailableException
stub - The jaxrpc stub that's used to carry the conversational invoke.ConversationIdNotYetAvailableException - The stub is still waiting for server to
assign the conversation id.public static void setConversationId(javax.xml.rpc.Stub stub,
java.lang.String id)
stub - The jaxrpc stub that's used to carry the conversational invoke.id - The conversation id to be set.public static void setConversationVersionTwo(javax.xml.rpc.Stub stub)
stub - The jaxrpc stub that's used to carry the conversational invoke.public static java.lang.Integer getConversationVersion(javax.xml.rpc.Stub stub)
stub - The jaxrpc stub that's used to carry the conversational invoke.public static void setConversationMethodBlockTimeout(javax.xml.rpc.Stub stub,
int numsecs)
stub - The jaxrpc stub that's used to carry the conversational invoke.numsecs - The number of seconds to wait.public static int getConversationMethodBlockTimeout(javax.xml.rpc.Stub stub)
stub - The jaxrpc stub that's used to carry the conversational invoke.public static java.lang.String getConversationAppVersion(WlMessageContext wlmc)
public static void setConversationVersionOne(javax.xml.rpc.Stub stub)
stub - The jaxrpc stub that's used to carry the conversational invoke.public static void renewStub(javax.xml.rpc.Stub stub)
stub - The stub to be renewed.public static void continueConversation(javax.xml.rpc.Stub stub,
java.util.Map props)
stub - The stub.props - The properties required to continue a conversation.