org.apache.synapse.handler.util
Class HandlerUtil

java.lang.Object
  extended by org.apache.synapse.handler.util.HandlerUtil

public class HandlerUtil
extends Object

This is a helper class to get the loggin done in both in and out handlers


Constructor Summary
HandlerUtil()
           
 
Method Summary
static void doHandlerLogging(org.apache.commons.logging.Log log, MessageContext messageContext)
          Helper util method to get the logging done whenever injecting the message into synapse
static boolean mediateInMessage(org.apache.commons.logging.Log log, MessageContext messageContext, MessageContext synCtx)
           
static boolean mediateOutMessage(org.apache.commons.logging.Log log, MessageContext messageContext, MessageContext synCtx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandlerUtil

public HandlerUtil()
Method Detail

doHandlerLogging

public static void doHandlerLogging(org.apache.commons.logging.Log log,
                                    MessageContext messageContext)
Helper util method to get the logging done whenever injecting the message into synapse

Parameters:
log - - Log appender to be used to append logs
messageContext - - MessageContext which will be logged

mediateInMessage

public static boolean mediateInMessage(org.apache.commons.logging.Log log,
                                       MessageContext messageContext,
                                       MessageContext synCtx)
                                throws AxisFault
Throws:
AxisFault

mediateOutMessage

public static boolean mediateOutMessage(org.apache.commons.logging.Log log,
                                        MessageContext messageContext,
                                        MessageContext synCtx)
                                 throws AxisFault
Throws:
AxisFault


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.