org.codehaus.xfire.util
Class LoggingHandler

java.lang.Object
  extended by org.codehaus.xfire.handler.AbstractHandler
      extended by org.codehaus.xfire.util.LoggingHandler
All Implemented Interfaces:
Handler

public class LoggingHandler
extends AbstractHandler

Logs a message to a commons logging Log at the INFO level. This requires DOM to be activated for the particular flow. This can be done with the DOMInHandler or DOMOutHandler.

Author:
Dan Diephouse
See Also:
DOMOutHandler, DOMInHandler

Field Summary
 
Fields inherited from interface org.codehaus.xfire.handler.Handler
ROLE
 
Constructor Summary
LoggingHandler()
           
 
Method Summary
 void invoke(MessageContext context)
          Invoke a handler.
 
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

LoggingHandler

public LoggingHandler()
Method Detail

invoke

public void invoke(MessageContext context)
            throws java.lang.Exception
Description copied from interface: Handler
Invoke a handler. If a fault occurs it will be handled via the handleFault method.

Throws:
java.lang.Exception


Copyright © 2004-2011. All Rights Reserved.