public class EndpointInjector extends org.apache.camel.impl.CamelPostProcessorHelper implements AnnotationMemberProvider<org.apache.camel.EndpointInject>
EndpointInject injection point| Constructor and Description |
|---|
EndpointInjector(org.apache.camel.CamelContext camelContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isNullParameterAllowed(org.apache.camel.EndpointInject endpointInject,
Method method,
Class<?> aClass,
int index)
Returns true if the given parameter on the annotated method can be null
|
Object |
provide(org.apache.camel.EndpointInject inject,
com.google.inject.TypeLiteral<?> typeLiteral,
Field field)
Returns the value to be injected for the given annotated field
|
Object |
provide(org.apache.camel.EndpointInject inject,
com.google.inject.TypeLiteral<?> typeLiteral,
Method method,
Class<?> aClass,
int index)
Returns the value to be injected for the given annotated method parameter
value
|
consumerInjection, createConsumerProcessor, createInjectionConsumerTemplate, createInjectionPollingConsumer, createInjectionProducer, createInjectionProducerTemplate, createProxyInstantiationRuntimeException, getCamelContext, getEndpointInjection, getInjectionBeanValue, getInjectionPropertyValue, getInjectionValue, isSingleton, matchContext, setCamelContext, startService, subscribeMethod@Inject public EndpointInjector(org.apache.camel.CamelContext camelContext)
public Object provide(org.apache.camel.EndpointInject inject, com.google.inject.TypeLiteral<?> typeLiteral, Field field)
AnnotationMemberProviderprovide in interface AnnotationMemberProvider<org.apache.camel.EndpointInject>public Object provide(org.apache.camel.EndpointInject inject, com.google.inject.TypeLiteral<?> typeLiteral, Method method, Class<?> aClass, int index)
AnnotationMemberProviderprovide in interface AnnotationMemberProvider<org.apache.camel.EndpointInject>public boolean isNullParameterAllowed(org.apache.camel.EndpointInject endpointInject,
Method method,
Class<?> aClass,
int index)
AnnotationMemberProviderisNullParameterAllowed in interface AnnotationMemberProvider<org.apache.camel.EndpointInject>Apache Camel