openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r940696 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/InterceptorDataImpl.java
Date Tue, 04 May 2010 01:07:10 GMT
Author: covener
Date: Tue May  4 01:07:10 2010
New Revision: 940696

URL: http://svn.apache.org/viewvc?rev=940696&view=rev
Log:
basic .toString for InterceptorDataImpl

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/InterceptorDataImpl.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/InterceptorDataImpl.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/InterceptorDataImpl.java?rev=940696&r1=940695&r2=940696&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/InterceptorDataImpl.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/InterceptorDataImpl.java
Tue May  4 01:07:10 2010
@@ -356,5 +356,17 @@ public class InterceptorDataImpl impleme
 
         return interceptor; 
     }
+    
+    @Override
+    public String toString()
+    {
+        StringBuilder sb = new StringBuilder();
+        sb.append("Class: [").append(webBeansInterceptor.getBeanClass()).append("]");
+        sb.append(" aroundInvoke [").append(aroundInvoke).append("]");
+        sb.append(" postConstruct [").append(postConstruct).append("]");
+        sb.append(" preDestroy [").append(preDestroy).append("]");
+
+        return sb.toString();
+    }
 
 }
\ No newline at end of file



Mime
View raw message