org.mule.impl
Class RequestContext

java.lang.Object
  extended byorg.mule.impl.RequestContext

public class RequestContext
extends java.lang.Object

RequestContext is a thread context where components can get the current event or set response properties that will be sent on the outgoing message.

Version:
$Revision: 1.4 $
Author:
Ross Mason

Constructor Summary
RequestContext()
           
 
Method Summary
static void clear()
           
static java.util.Map clearProperties()
           
static UMOEvent getEvent()
           
static UMOEventContext getEventContext()
           
static UMOExceptionPayload getExceptionPayload()
           
static java.util.Map getProperties()
           
static java.lang.Object getProperty(java.lang.String key)
           
static void rewriteEvent(UMOMessage message)
           
static void setEvent(UMOEvent event)
           
static void setExceptionPayload(UMOExceptionPayload exceptionPayload)
           
static void setProperty(java.lang.String key, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestContext

public RequestContext()
Method Detail

getEventContext

public static UMOEventContext getEventContext()

getEvent

public static UMOEvent getEvent()

setEvent

public static void setEvent(UMOEvent event)

setProperty

public static void setProperty(java.lang.String key,
                               java.lang.Object value)

getProperties

public static java.util.Map getProperties()

getProperty

public static java.lang.Object getProperty(java.lang.String key)

rewriteEvent

public static void rewriteEvent(UMOMessage message)

clearProperties

public static java.util.Map clearProperties()

clear

public static void clear()

setExceptionPayload

public static void setExceptionPayload(UMOExceptionPayload exceptionPayload)

getExceptionPayload

public static UMOExceptionPayload getExceptionPayload()


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.