org.jboss.webbeans.injection
Class FieldInjectionPoint<T>
java.lang.Object
org.jboss.webbeans.introspector.ForwardingAnnotatedItem<T,S>
org.jboss.webbeans.introspector.ForwardingAnnotatedMember<T,java.lang.reflect.Field>
org.jboss.webbeans.introspector.ForwardingAnnotatedField<T>
org.jboss.webbeans.injection.FieldInjectionPoint<T>
- All Implemented Interfaces:
- InjectionPoint, AnnotatedInjectionPoint<T,java.lang.reflect.Field>, AnnotatedField<T>, AnnotatedItem<T,java.lang.reflect.Field>, AnnotatedMember<T,java.lang.reflect.Field>
public class FieldInjectionPoint<T>
- extends ForwardingAnnotatedField<T>
- implements AnnotatedInjectionPoint<T,java.lang.reflect.Field>
| Methods inherited from class org.jboss.webbeans.introspector.ForwardingAnnotatedItem |
equals, getActualTypeArguments, getAnnotation, getAnnotationsAsSet, getAnnotationStore, getBindingTypes, getBindingTypesAsArray, getDeclaredMetaAnnotations, getMetaAnnotations, getMetaAnnotationsAsArray, getName, getType, hashCode, isAnnotationPresent, isAssignableFrom, isAssignableFrom, isDeclaredAnnotationPresent, isFinal, isProxyable, isPublic, isStatic, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.webbeans.introspector.AnnotatedItem |
getActualTypeArguments, getAnnotation, getAnnotationsAsSet, getAnnotationStore, getBindingTypes, getBindingTypesAsArray, getDeclaredMetaAnnotations, getMetaAnnotations, getMetaAnnotationsAsArray, getName, getType, isAnnotationPresent, isAssignableFrom, isAssignableFrom, isDeclaredAnnotationPresent, isFinal, isProxyable, isPublic, isStatic |
FieldInjectionPoint
protected FieldInjectionPoint(Bean<?> declaringBean,
AnnotatedField<T> field)
of
public static <T> FieldInjectionPoint<T> of(Bean<?> declaringBean,
AnnotatedField<T> field)
delegate
protected AnnotatedField<T> delegate()
- Description copied from class:
ForwardingAnnotatedItem
- Gets the annotated item
- Specified by:
delegate in class ForwardingAnnotatedField<T>
- Returns:
- The annotated item
getAnnotations
public java.lang.annotation.Annotation[] getAnnotations()
- Specified by:
getAnnotations in interface InjectionPoint
getBean
public Bean<?> getBean()
- Specified by:
getBean in interface InjectionPoint
getBindings
public java.util.Set<java.lang.annotation.Annotation> getBindings()
- Specified by:
getBindings in interface InjectionPoint
inject
public void inject(java.lang.Object declaringInstance,
ManagerImpl manager,
CreationalContext<?> creationalContext)
inject
public void inject(java.lang.Object declaringInstance,
java.lang.Object value)
- Description copied from interface:
AnnotatedInjectionPoint
- Injects an instance
- Specified by:
inject in interface AnnotatedInjectionPoint<T,java.lang.reflect.Field>
- Parameters:
declaringInstance - The instance to inject intovalue - The value to inject
Copyright © 2008-2009. All Rights Reserved.