[weld-commits] Weld SVN: r4408 - api/trunk/cdi/src/main/java/javax/enterprise/inject/spi.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Thu Oct 29 13:41:57 EDT 2009


Author: gavin.king at jboss.com
Date: 2009-10-29 13:41:57 -0400 (Thu, 29 Oct 2009)
New Revision: 4408

Modified:
   api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/InterceptionType.java
   api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/Interceptor.java
Log:
sync with spec

Modified: api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/InterceptionType.java
===================================================================
--- api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/InterceptionType.java	2009-10-29 16:46:50 UTC (rev 4407)
+++ api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/InterceptionType.java	2009-10-29 17:41:57 UTC (rev 4408)
@@ -18,9 +18,10 @@
 package javax.enterprise.inject.spi;
 
 /**
- * Identifies the kind of lifecycle callback or business method
- * interceptor.
+ * <p>Identifies the kind of lifecycle callback, EJB timeout method or 
+ * business method interception.</p>
  * 
+ * @author Gavin King
  * @author Pete Muir
  *
  */

Modified: api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/Interceptor.java
===================================================================
--- api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/Interceptor.java	2009-10-29 16:46:50 UTC (rev 4407)
+++ api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/Interceptor.java	2009-10-29 17:41:57 UTC (rev 4408)
@@ -43,8 +43,8 @@
    public Set<Annotation> getInterceptorBindingTypes();
    
    /**
-    * <p>Determines if the interceptor intercepts callbacks or business methods of 
-    * the given type.</p>
+    * <p>Determines if the interceptor intercepts the specified 
+    * {@linkplain InterceptionType kind of lifecycle callback or method invocation}.</p>
     * 
     * @param type the type of interception
     * @return  returns <tt>true</tt> if the interceptor intercepts callbacks 
@@ -53,8 +53,8 @@
    public boolean intercepts(InterceptionType type); 
    
    /**
-    * <p>Invokes the specified kind of lifecycle callback or business method upon the 
-    * given interceptor instance.</p>
+    * <p>Invokes the specified {@linkplain InterceptionType kind of lifecycle 
+    * callback or method invocation interception} upon the given interceptor instance.</p>
     * 
     * @param type the interception type
     * @param instance the interceptor instance to invoke



More information about the weld-commits mailing list