[webbeans-commits] Webbeans SVN: r657 - ri/trunk/webbeans-api/src/main/java/javax/webbeans.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Sun Dec 21 22:36:48 EST 2008


Author: gavin.king at jboss.com
Date: 2008-12-21 22:36:48 -0500 (Sun, 21 Dec 2008)
New Revision: 657

Added:
   ri/trunk/webbeans-api/src/main/java/javax/webbeans/InjectionPoint.java
Log:
Add InjectionPoint API

Added: ri/trunk/webbeans-api/src/main/java/javax/webbeans/InjectionPoint.java
===================================================================
--- ri/trunk/webbeans-api/src/main/java/javax/webbeans/InjectionPoint.java	                        (rev 0)
+++ ri/trunk/webbeans-api/src/main/java/javax/webbeans/InjectionPoint.java	2008-12-22 03:36:48 UTC (rev 657)
@@ -0,0 +1,19 @@
+package javax.webbeans;
+
+import java.lang.annotation.Annotation;
+import java.lang.reflect.Member;
+import java.lang.reflect.Type;
+import java.util.Set;
+
+import javax.webbeans.manager.Bean;
+
+public interface InjectionPoint { 
+	public Type getType(); 
+	public Set<Annotation> getBindingTypes(); 
+	public Object getInstance(); 
+	public Bean<?> getBean(); 
+	public Member getMember();
+	public <T extends Annotation> T getAnnotation(Class<T> annotationType); 
+	public Annotation[] getAnnotations(); 
+	public boolean isAnnotationPresent(Class<? extends Annotation> annotationType); 
+} 




More information about the weld-commits mailing list