public abstract class AnnotationMemberProviderSupport<A extends Annotation> extends Object implements AnnotationMemberProvider<A>
Constructor and Description |
---|
AnnotationMemberProviderSupport() |
Modifier and Type | Method and Description |
---|---|
protected abstract Object |
provide(A annotation,
Member member,
com.google.inject.TypeLiteral<?> requiredType,
Class<?> memberType,
Annotation[] annotations)
The default method to create a value for the named member of the
requested type
|
Object |
provide(A annotation,
com.google.inject.TypeLiteral<?> type,
Field field)
Returns the value to be injected for the given annotated field
|
Object |
provide(A annotation,
com.google.inject.TypeLiteral<?> type,
Method method,
Class<?> parameterType,
int parameterIndex)
Returns the value to be injected for the given annotated method parameter
value
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isNullParameterAllowed
public Object provide(A annotation, com.google.inject.TypeLiteral<?> type, Field field)
AnnotationMemberProvider
provide
in interface AnnotationMemberProvider<A extends Annotation>
public Object provide(A annotation, com.google.inject.TypeLiteral<?> type, Method method, Class<?> parameterType, int parameterIndex)
AnnotationMemberProvider
provide
in interface AnnotationMemberProvider<A extends Annotation>
protected abstract Object provide(A annotation, Member member, com.google.inject.TypeLiteral<?> requiredType, Class<?> memberType, Annotation[] annotations)
Apache Camel