org.apache.synapse.handler.util
Class HandlerUtil
java.lang.Object
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
|
Method Summary |
static void |
doHandlerLogging(org.apache.commons.logging.Log log,
org.apache.axis2.context.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,
org.apache.axis2.context.MessageContext messageContext,
org.apache.synapse.MessageContext synCtx)
|
static boolean |
mediateOutMessage(org.apache.commons.logging.Log log,
org.apache.axis2.context.MessageContext messageContext,
org.apache.synapse.MessageContext synCtx)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HandlerUtil
public HandlerUtil()
doHandlerLogging
public static void doHandlerLogging(org.apache.commons.logging.Log log,
org.apache.axis2.context.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 logsmessageContext - - MessageContext which will be logged
mediateInMessage
public static boolean mediateInMessage(org.apache.commons.logging.Log log,
org.apache.axis2.context.MessageContext messageContext,
org.apache.synapse.MessageContext synCtx)
throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
mediateOutMessage
public static boolean mediateOutMessage(org.apache.commons.logging.Log log,
org.apache.axis2.context.MessageContext messageContext,
org.apache.synapse.MessageContext synCtx)
throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
Copyright © 2005–2015 Apache Software Foundation. All rights reserved.