You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by st...@apache.org on 2009/06/25 22:41:04 UTC

svn commit: r788501 - /incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/enterprise/inject/spi/InjectionPoint.java

Author: struberg
Date: Thu Jun 25 20:41:04 2009
New Revision: 788501

URL: http://svn.apache.org/viewvc?rev=788501&view=rev
Log:
OWB-108 JavaDoc 
@deprecated old method declarations

Modified:
    incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/enterprise/inject/spi/InjectionPoint.java

Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/enterprise/inject/spi/InjectionPoint.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/enterprise/inject/spi/InjectionPoint.java?rev=788501&r1=788500&r2=788501&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/enterprise/inject/spi/InjectionPoint.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/enterprise/inject/spi/InjectionPoint.java Thu Jun 25 20:41:04 2009
@@ -18,7 +18,18 @@
 import java.lang.reflect.Type;
 import java.util.Set;
 
-
+/**
+ * An InjectionPoint object provides metadata information about an injection point.
+ * An instance of InjectionPoint may represent one of the following types:
+ * <ul>
+ *  <li>an injected field</li>
+ *  <li>a parameter of a bean constructor</li>
+ *  <li>an initializer method</li>
+ *  <li>a producer method</li>
+ *  <li>a disposer method</li>
+ *  <li>an observer method</li>
+ * </ul>
+ */
 public interface InjectionPoint
 {
     public Type getType();
@@ -29,10 +40,13 @@
 
     public Member getMember();
 
+    /** @deprecated old signatures have to be dropped */
     public <T extends Annotation> T getAnnotation(Class<T> annotationType);
 
+    /** @deprecated old signatures have to be dropped */
     public Annotation[] getAnnotations();
 
+    /** @deprecated old signatures have to be dropped */
     public boolean isAnnotationPresent(Class<? extends Annotation> annotationType);
 
 }