Skip to content

Commit

Permalink
Add InjectionPoint API
Browse files Browse the repository at this point in the history
git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@657 1c488680-804c-0410-94cd-c6b725194a0e
  • Loading branch information
Gavin King authored and gavin.king@gmail.com committed Dec 22, 2008
1 parent 7eba494 commit ee83ab8
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions webbeans-api/src/main/java/javax/webbeans/InjectionPoint.java
@@ -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);
}

0 comments on commit ee83ab8

Please sign in to comment.