[jboss-cvs] JBoss Messaging SVN: r1819 - trunk/src/main/org/jboss/jms/client/container

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Dec 19 00:54:20 EST 2006


Author: ovidiu.feodorov at jboss.com
Date: 2006-12-19 00:54:19 -0500 (Tue, 19 Dec 2006)
New Revision: 1819

Modified:
   trunk/src/main/org/jboss/jms/client/container/HAAspect.java
Log:
reduced HAAspect's INFO verbosity a bit

Modified: trunk/src/main/org/jboss/jms/client/container/HAAspect.java
===================================================================
--- trunk/src/main/org/jboss/jms/client/container/HAAspect.java	2006-12-19 05:47:54 UTC (rev 1818)
+++ trunk/src/main/org/jboss/jms/client/container/HAAspect.java	2006-12-19 05:54:19 UTC (rev 1819)
@@ -59,8 +59,6 @@
 import org.jboss.jms.server.endpoint.DeliveryRecovery;
 import org.jboss.jms.tx.ResourceManager;
 import org.jboss.logging.Logger;
-import org.jboss.remoting.Client;
-import org.jboss.remoting.ConnectionListener;
 
 /**
  *
@@ -225,22 +223,6 @@
       }
    }
 
-   // Debug information about interceptors
-   protected void printInterceptors(Interceptor interceptors[])
-    {
-       if (interceptors==null || interceptors.length==0)
-       {
-          log.info("Interceptor chain is empty");
-       }
-       else
-       {
-          for (int i=0; i<interceptors.length; i++)
-          {
-             log.info("Interceptor[" + i + "] = " + interceptors[i].getName() + " className= " + interceptors[i].getClass().getName());
-          }
-       }
-    }
-   
    /** The valve aspect needs to stay after ExceptionInterceptor, and before DelegateSupport.
     *  This method will place the aspect on the proper place */
    protected void installValveAspect(DelegateSupport delegate, Interceptor interceptor)
@@ -248,10 +230,8 @@
       Advised advised = (Advised)delegate;
       Interceptor interceptors[] = advised._getInstanceAdvisor().getInterceptors();
 
-      log.info("Installing interceptors");
-      printInterceptors(interceptors);
+      //printInterceptors(interceptors);
 
-
       Interceptor delegateInterceptorFound = null;
 
       for (int i=0;i<interceptors.length;i++)
@@ -275,8 +255,7 @@
          advised._getInstanceAdvisor().appendInterceptor(delegateInterceptorFound);
       }
 
-      log.info("Interceptors after installation:");
-      printInterceptors(advised._getInstanceAdvisor().getInterceptors());
+      //printInterceptors(advised._getInstanceAdvisor().getInterceptors());
 
    }
    
@@ -684,6 +663,22 @@
 
    }
 
+   // Debug information about interceptors
+   private void printInterceptors(Interceptor interceptors[])
+    {
+       if (interceptors==null || interceptors.length==0)
+       {
+          log.info("Interceptor chain is empty");
+       }
+       else
+       {
+          for (int i=0; i<interceptors.length; i++)
+          {
+             log.info("Interceptor[" + i + "] = " + interceptors[i].getName() + " className= " + interceptors[i].getClass().getName());
+          }
+       }
+    }
+
 }
 
 




More information about the jboss-cvs-commits mailing list