|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.xfire.handler.AbstractHandler com.atlassian.crowd.service.soap.xfire.XFireLoggingMethodHandler
public abstract class XFireLoggingMethodHandler
This class is used by the XFire SOAP framework when processing SOAP request, specific in and out message
processors handle the extraction of the message from the messageContext
provided by XFire.
This works by displaying the method and the value of the variables passed in or returned. This is useful in
debugging the communication between a client and server.
Field Summary |
---|
Fields inherited from interface org.codehaus.xfire.handler.Handler |
---|
ROLE |
Constructor Summary | |
---|---|
XFireLoggingMethodHandler()
|
Method Summary | |
---|---|
protected abstract org.slf4j.Logger |
getLogger()
The logger to use when output log message. |
protected abstract Object[] |
getMessageBodyObjects()
The objects that need to be processed for logging. |
void |
invoke(org.codehaus.xfire.MessageContext messageContext)
Processes the incoming SOAP message for logging. |
protected void |
logParameters(Object[] parameters,
StringBuffer logMessage)
Loops the object graph recursively until all objects have been appended to the logMessage . |
Methods inherited from class org.codehaus.xfire.handler.AbstractHandler |
---|
after, before, getAfter, getBefore, getPhase, getRoles, getUnderstoodHeaders, handleFault, setAfter, setBefore, setPhase |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XFireLoggingMethodHandler()
Method Detail |
---|
protected abstract Object[] getMessageBodyObjects()
protected abstract org.slf4j.Logger getLogger()
public void invoke(org.codehaus.xfire.MessageContext messageContext) throws Exception
messageContext
- The message.
Exception
- Runtime exception while processing the incoming SOAP message.protected void logParameters(Object[] parameters, StringBuffer logMessage)
logMessage
.
parameters
- The object graph provided by Xfire.logMessage
- The buffer to append the .toString()
too.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |