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

All Superinterfaces:
CallbackContext, InvocationContext, MutableInvocationContext

public interface MutableCallbackContext
extends CallbackContext, MutableInvocationContext

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


Method Summary
 void setFault(boolean isFault)
          Sets whether the message send with the callback is a fault
 void setFault(javax.xml.namespace.QName faultName)
          Sets whether the message send with the callback is a fault with the given fault name.
 void setFault(javax.xml.namespace.QName faultName, java.lang.String reason)
          Sets whether the message send with the callback is a fault with the given fault name and reason.
 
Methods inherited from interface com.tibco.amf.platform.runtime.extension.context.CallbackContext
getCallbackID, getContentLength, getFaultName, getFaultReason, getRequestContext, getSecuritySubject, getTimeStamp, isFault
 
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
getContextID, getCorrelationID, getInterface, getOperationName, getParameter, getParameter, getParameters, getParentContextID, getServiceName
 

Method Detail

setFault

void setFault(boolean isFault)
Sets whether the message send with the callback is a fault

Parameters:
isFault - true if the message send with the callback is a fault

setFault

void setFault(javax.xml.namespace.QName faultName)
Sets whether the message send with the callback is a fault with the given fault name. The message is a fault if the given fault name is not null.

Parameters:
fault - name not null if the message send with the callback is a fault

setFault

void setFault(javax.xml.namespace.QName faultName,
              java.lang.String reason)
Sets whether the message send with the callback is a fault with the given fault name and reason. The message is a fault if the given fault name is not null.

Parameters:
fault - name not null if the message send with the callback is a fault
reason - the reason of the fault


Copyright © 2010 TIBCO Software Inc. All Rights Reserved.