com.tibco.amf.platform.runtime.extension.context
Interface MutableRequestContext

All Superinterfaces:
InvocationContext, MutableInvocationContext, org.osoa.sca.RequestContext

public interface MutableRequestContext
extends RequestContext, MutableInvocationContext

Interface that defines a mutable RequestContext. An instance of this interface is created through BaseContext.createMutableRequestContext().


Method Summary
<CB> void
setCallback(CB callback)
          Sets the Callback to use for this request
 void setConversation(Conversation conversation)
          Set a Conversation in the RequestContext
<T> void
setEndpointReference(EndpointReference<T> endpointReference)
          Sets the EndpointReference of the request.
<T> void
setEndpointReference(java.net.URI uri)
          Sets the EndpointReference of the request with the given URI.
<T> void
setFaultEndpointReference(EndpointReference<T> endpointReference)
          Sets the EndpointReference of the reply in case of fault.
<T> void
setFaultEndpointReference(java.net.URI uri)
          Sets the EndpointReference of the reply in case of fault with the given URI.
<T> void
setReplyEndpointReference(EndpointReference<T> endpointReference)
          Sets the EndpointReference of the reply.
<T> void
setReplyEndpointReference(java.net.URI uri)
          Sets the EndpointReference of the reply with the given URI.
 Conversation startConversation()
          Start and return a Conversation
 Conversation startConversation(java.lang.Object conversationID)
          Start and return a Conversation with a given ID.
 
Methods inherited from interface com.tibco.amf.platform.runtime.extension.context.RequestContext
createCallbackContext, getAsBytes, getCallbackContext, getConversation, getEndpointReference, getFaultEndpointReference, getParentRequestContext, getReplyEndpointReference, getSourceNodeName, getSourceSCAAddress
 
Methods inherited from interface org.osoa.sca.RequestContext
getCallback, getCallbackReference, getSecuritySubject, getServiceName, getServiceReference
 
Methods inherited from interface com.tibco.amf.platform.runtime.extension.context.MutableInvocationContext
addAllParameters, setContentLength, setParameter, setParameter, setSecuritySubject, setTimeStamp
 
Methods inherited from interface com.tibco.amf.platform.runtime.extension.context.InvocationContext
getContentLength, getContextID, getCorrelationID, getInterface, getOperationName, getParameter, getParameter, getParameters, getParentContextID, getSecuritySubject, getServiceName, getTimeStamp
 

Method Detail

setCallback

<CB> void setCallback(CB callback)
Sets the Callback to use for this request

Parameters:
callback - type-safe callback for the response

setEndpointReference

<T> void setEndpointReference(EndpointReference<T> endpointReference)
Sets the EndpointReference of the request.

Parameters:
endpointReference - the EndpointReference of the request

setEndpointReference

<T> void setEndpointReference(java.net.URI uri)
Sets the EndpointReference of the request with the given URI.

Parameters:
URI - the URI for the endpoint reference of the request

setReplyEndpointReference

<T> void setReplyEndpointReference(EndpointReference<T> endpointReference)
Sets the EndpointReference of the reply.

Parameters:
endpointReference - the EndpointReference of the reply

setReplyEndpointReference

<T> void setReplyEndpointReference(java.net.URI uri)
Sets the EndpointReference of the reply with the given URI.

Parameters:
URI - the URI for the endpoint reference of the reply

setFaultEndpointReference

<T> void setFaultEndpointReference(EndpointReference<T> endpointReference)
Sets the EndpointReference of the reply in case of fault.

Parameters:
endpointReference - the EndpointReference of the reply in case of fault

setFaultEndpointReference

<T> void setFaultEndpointReference(java.net.URI uri)
Sets the EndpointReference of the reply in case of fault with the given URI.

Parameters:
URI - the URI for the endpoint reference of the reply in case of fault

startConversation

Conversation startConversation()
Start and return a Conversation

Returns:
A newly created Conversation

startConversation

Conversation startConversation(java.lang.Object conversationID)
Start and return a Conversation with a given ID. This will create a new Conversation

Returns:
A newly created Conversation with a given Conversation ID

setConversation

void setConversation(Conversation conversation)
Set a Conversation in the RequestContext

Parameters:
conversation -


Copyright © 2010 TIBCO Software Inc. All Rights Reserved.