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

All Superinterfaces:
InvocationContext, org.osoa.sca.RequestContext
All Known Subinterfaces:
MutableRequestContext

public interface RequestContext
extends org.osoa.sca.RequestContext, InvocationContext

Extends the SCA RequestContext.


Method Summary
 MutableCallbackContext createCallbackContext()
          Provides a MutableCallbackContext that can be used to call back the requester.
 byte[] getAsBytes()
          Get the Byte Array representation of the RequestContext
 CallbackContext getCallbackContext()
          Returns the CallbackContext that can be used to retrieve context information for the reply of this request.
 Conversation getConversation()
          Returns the conversation associated with the invocation.
<E> EndpointReference<E>
getEndpointReference(java.lang.Class<E> elementType)
          Provides the EndpointReference of the request.
<E> EndpointReference<E>
getFaultEndpointReference(java.lang.Class<E> elementType)
          Provides the EndpointReference of the reply in case of fault.
 RequestContext getParentRequestContext()
          Returns the parent request context for this request context
<E> EndpointReference<E>
getReplyEndpointReference(java.lang.Class<E> elementType)
          Provides the EndpointReference of the reply.
 java.lang.String getSourceNodeName()
          Get the Source Node name
 java.lang.String getSourceSCAAddress()
          Get the SCA address for the source
 
Methods inherited from interface org.osoa.sca.RequestContext
getCallback, getCallbackReference, getSecuritySubject, getServiceName, getServiceReference
 
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

getEndpointReference

<E> EndpointReference<E> getEndpointReference(java.lang.Class<E> elementType)
Provides the EndpointReference of the request.

Returns:
the EndpointReference of the request

getReplyEndpointReference

<E> EndpointReference<E> getReplyEndpointReference(java.lang.Class<E> elementType)
Provides the EndpointReference of the reply.

Returns:
the EndpointReference for the reply

getFaultEndpointReference

<E> EndpointReference<E> getFaultEndpointReference(java.lang.Class<E> elementType)
Provides the EndpointReference of the reply in case of fault.

Returns:
the EndpointReference of the reply in case of fault

createCallbackContext

MutableCallbackContext createCallbackContext()
Provides a MutableCallbackContext that can be used to call back the requester.

Returns:
a MutableCallbackContext that can be used to call back the requester

getCallbackContext

CallbackContext getCallbackContext()
Returns the CallbackContext that can be used to retrieve context information for the reply of this request.

Returns:
the MutableCallbackContext

getParentRequestContext

RequestContext getParentRequestContext()
Returns the parent request context for this request context

Returns:
the parent RequestContext if one exists

getAsBytes

byte[] getAsBytes()
                  throws java.lang.Exception
Get the Byte Array representation of the RequestContext

Returns:
array of bytes for this RequestContext
Throws:
java.lang.Exception

getSourceSCAAddress

java.lang.String getSourceSCAAddress()
Get the SCA address for the source

Returns:
source SCA address String

getConversation

Conversation getConversation()
Returns the conversation associated with the invocation. Returns null if no conversation is associated with the invocation.

Returns:
the conversation associated with the invocation; may be null

getSourceNodeName

java.lang.String getSourceNodeName()
Get the Source Node name

Returns:
node name for the source


Copyright © 2010 TIBCO Software Inc. All Rights Reserved.