You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2005/11/24 01:25:44 UTC
svn commit: r348598 -
/webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/sample/handlers/LoggingHandler.java
Author: dims
Date: Wed Nov 23 16:25:26 2005
New Revision: 348598
URL: http://svn.apache.org/viewcvs?rev=348598&view=rev
Log:
Clean up a bit
Modified:
webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/sample/handlers/LoggingHandler.java
Modified: webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/sample/handlers/LoggingHandler.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/sample/handlers/LoggingHandler.java?rev=348598&r1=348597&r2=348598&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/sample/handlers/LoggingHandler.java (original)
+++ webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/sample/handlers/LoggingHandler.java Wed Nov 23 16:25:26 2005
@@ -26,20 +26,15 @@
public class LoggingHandler extends AbstractHandler {
- private Log log = LogFactory.getLog(getClass());
- /* (non-Javadoc)
- * @see org.apache.axis2.engine.Handler#invoke(org.apache.axis2.context.MessageContext)
- */
+ private Log log = LogFactory.getLog(getClass());
+ public void invoke(MessageContext msgContext) throws AxisFault {
+ log.info("Incoming message From " + msgContext.getTo().getAddress());
+ }
-
- public void invoke(MessageContext msgContext) throws AxisFault {
- log.info("Incomming message Frrom "+msgContext.getTo().getAddress());
- }
-
- public void revoke(MessageContext msgContext){
- log.info("Incomming message Revovked at the server "+msgContext.getTo().getAddress() );
- }
+ public void revoke(MessageContext msgContext) {
+ log.info("Incoming message Revoked at the server " + msgContext.getTo().getAddress());
+ }
}