org.apache.axis2.jaxws.handler
Class MEPContext

java.lang.Object
  extended by org.apache.axis2.jaxws.handler.MEPContext

public class MEPContext
extends java.lang.Object

The MEPContext is the version of the MessageContext that will be given to application handlers as the handler list is traversed. It is only to be used by application handlers. The MEPContext object is constructed using a non-null request context. Once the request has been fully processed in the JAX-WS engine, the response context should be set on this. Since the response context is always last, it takes priority in all MEPContext methods.


Field Summary
protected  MessageContext requestMC
           
protected  MessageContext responseMC
           
 
Constructor Summary
MEPContext(MessageContext requestMsgCtx)
           
 
Method Summary
 void clear()
           
 boolean containsKey(java.lang.Object key)
           
 boolean containsValue(java.lang.Object value)
           
 java.util.Set entrySet()
           
 java.lang.Object get(java.lang.Object keyObject)
           
 java.util.Map<java.lang.String,java.lang.Object> getApplicationScopedProperties()
          The returned tempMap should be used as a read-only map as changes to it will not propogate into the requestMC or responseMC Watch out for infinite loop if you call another method in this class that uses this method.
 EndpointDescription getEndpointDesc()
           
 MessageContext getMessageContext()
           
 Message getMessageObject()
           
 MessageContext getRequestMessageContext()
           
 MessageContext getResponseMessageContext()
           
 Scope getScope(java.lang.String s)
           
 boolean isApplicationAccessLocked()
           
 boolean isEmpty()
           
 java.util.Set keySet()
           
 java.lang.Object put(java.lang.String key, java.lang.Object value)
           
 void putAll(java.util.Map t)
           
 java.lang.Object remove(java.lang.Object key)
           
 void setApplicationAccessLocked(boolean applicationAccessLocked)
           
 void setMessage(Message msg)
           
 void setResponseMessageContext(MessageContext responseMC)
           
 void setScope(java.lang.String s, Scope scope)
           
 int size()
           
 java.util.Collection values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

requestMC

protected MessageContext requestMC

responseMC

protected MessageContext responseMC
Constructor Detail

MEPContext

public MEPContext(MessageContext requestMsgCtx)
Method Detail

getEndpointDesc

public EndpointDescription getEndpointDesc()

getRequestMessageContext

public MessageContext getRequestMessageContext()

getResponseMessageContext

public MessageContext getResponseMessageContext()

getMessageContext

public MessageContext getMessageContext()

setResponseMessageContext

public void setResponseMessageContext(MessageContext responseMC)

setMessage

public void setMessage(Message msg)

getScope

public Scope getScope(java.lang.String s)

setScope

public void setScope(java.lang.String s,
                     Scope scope)

clear

public void clear()

containsKey

public boolean containsKey(java.lang.Object key)

containsValue

public boolean containsValue(java.lang.Object value)

entrySet

public java.util.Set entrySet()

get

public java.lang.Object get(java.lang.Object keyObject)

isEmpty

public boolean isEmpty()

keySet

public java.util.Set keySet()

put

public java.lang.Object put(java.lang.String key,
                            java.lang.Object value)

putAll

public void putAll(java.util.Map t)

remove

public java.lang.Object remove(java.lang.Object key)

size

public int size()

values

public java.util.Collection values()

getMessageObject

public Message getMessageObject()

isApplicationAccessLocked

public boolean isApplicationAccessLocked()

setApplicationAccessLocked

public void setApplicationAccessLocked(boolean applicationAccessLocked)

getApplicationScopedProperties

public java.util.Map<java.lang.String,java.lang.Object> getApplicationScopedProperties()
The returned tempMap should be used as a read-only map as changes to it will not propogate into the requestMC or responseMC Watch out for infinite loop if you call another method in this class that uses this method.

Returns:


Copyright © 2007 Apache Web Services Project. All Rights Reserved.