IBM WebSphere Application ServerTM
Release 8

com.ibm.websphere.sib.mediation.messagecontext
Interface SIMessageContext

All Superinterfaces:
javax.xml.rpc.handler.MessageContext
All Known Subinterfaces:
SIMediationBeanMessageContext

public interface SIMessageContext
extends javax.xml.rpc.handler.MessageContext

This is the object that is passed to a MediationHandler. It provide references to an SIMessage and an SIMediationSession. The SIMessage is the message being processed by the MediationHandler. The SIMediationSession is a handle to runtime resources provided to the mediation.


Method Summary
 SIMediationSession getSession()
          This method returns an SIMediationSession object which is a handle to the runtime resources provided to the mediation.
 SIMessage getSIMessage()
          This method returns the message being mediated.
 
Methods inherited from interface javax.xml.rpc.handler.MessageContext
containsProperty, getProperty, getPropertyNames, removeProperty, setProperty
 

Method Detail

getSIMessage

SIMessage getSIMessage()
This method returns the message being mediated.

Returns:
SIMessage The message being mediated.

getSession

SIMediationSession getSession()
This method returns an SIMediationSession object which is a handle to the runtime resources provided to the mediation.

Returns:
SIMediationSession A handle to runtime resources.

IBM WebSphere Application ServerTM
Release 8