Author: covener
Date: Thu Feb 25 21:31:52 2010
New Revision: 916466
URL: http://svn.apache.org/viewvc?rev=916466&view=rev
Log:
tweak javadoc to clarify invocationContext/definedInInterceptor
Modified:
openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/WebBeansUtil.java
Modified:
openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/WebBeansUtil.java
URL:
http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/WebBeansUtil.java?rev=916466&r1=916465&r2=916466&view=diff
==============================================================================
---
openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/WebBeansUtil.java
(original)
+++
openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/WebBeansUtil.java
Thu Feb 25 21:31:52 2010
@@ -802,6 +802,8 @@
*
* @param clazz checked class
* @param commonAnnotation post construct or predestroy annotation
+ * @param invocationContext whether the takes an invocationContext, as in
+ * interceptors defiend outside of the bean class.
* @return post construct or predestroy method
*/
public static Method checkCommonAnnotationCriterias(Class<?> clazz,
Class<? extends Annotation> commonAnnotation, boolean invocationContext)
@@ -1066,7 +1068,7 @@
* @param clazz interceptor class
* @param annotation annotation type
* @param definedInInterceptorClass check if annotation is defined in
- * interceptor class
+ * interceptor class (as opposed to bean class)
* @param definedInMethod check if the interceptor is defined in the comp.
* method
* @param stack interceptor stack