org.codehaus.xfire
Class MessageContext

java.lang.Object
  extended byorg.codehaus.xfire.AbstractContext
      extended byorg.codehaus.xfire.MessageContext

public class MessageContext
extends AbstractContext

Holds inforrmation about the message request and response.

Since:
Feb 13, 2004
Author:
Dan Diephouse

Constructor Summary
MessageContext()
           
 
Method Summary
 Binding getBinding()
           
 Client getClient()
           
 java.lang.Object getContextualProperty(java.lang.String key)
          Gets a propert by checking layered contexts.
 AbstractMessage getCurrentMessage()
           
 MessageExchange getExchange()
           
 InMessage getInMessage()
           
 HandlerPipeline getInPipeline()
           
 OutMessage getOutMessage()
           
 HandlerPipeline getOutPipeline()
           
 Service getService()
          The service being invoked.
 Session getSession()
          The session that this request is a part of.
 XFire getXFire()
           
 void setBinding(Binding binding)
           
 void setClient(Client client)
           
 void setCurrentMessage(AbstractMessage currentMessage)
           
 void setExchange(MessageExchange exchange)
           
 void setInPipeline(HandlerPipeline messagePipeline)
           
 void setOutPipeline(HandlerPipeline outPipeline)
           
 void setService(Service service)
           
 void setSession(Session session)
           
 void setXFire(XFire xfire)
           
 
Methods inherited from class org.codehaus.xfire.AbstractContext
getProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageContext

public MessageContext()
Method Detail

getXFire

public XFire getXFire()

setXFire

public void setXFire(XFire xfire)

getBinding

public Binding getBinding()

setBinding

public void setBinding(Binding binding)

getExchange

public MessageExchange getExchange()

setExchange

public void setExchange(MessageExchange exchange)

getOutMessage

public OutMessage getOutMessage()

getInMessage

public InMessage getInMessage()

getCurrentMessage

public AbstractMessage getCurrentMessage()

setCurrentMessage

public void setCurrentMessage(AbstractMessage currentMessage)

getSession

public Session getSession()
The session that this request is a part of.

Returns:

setSession

public void setSession(Session session)

getService

public Service getService()
The service being invoked.

Returns:

setService

public void setService(Service service)

getClient

public Client getClient()

setClient

public void setClient(Client client)

getInPipeline

public HandlerPipeline getInPipeline()

setInPipeline

public void setInPipeline(HandlerPipeline messagePipeline)

getOutPipeline

public HandlerPipeline getOutPipeline()

setOutPipeline

public void setOutPipeline(HandlerPipeline outPipeline)

getContextualProperty

public java.lang.Object getContextualProperty(java.lang.String key)
Gets a propert by checking layered contexts. Contexts are checked in the following order:


Copyright © 2004-2006 null. All Rights Reserved.