public class EndpointInjector extends org.apache.camel.impl.CamelPostProcessorHelper implements AnnotationMemberProvider<org.apache.camel.EndpointInject>
EndpointInject
injection pointConstructor 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)
AnnotationMemberProvider
provide
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)
AnnotationMemberProvider
provide
in interface AnnotationMemberProvider<org.apache.camel.EndpointInject>
public boolean isNullParameterAllowed(org.apache.camel.EndpointInject endpointInject, Method method, Class<?> aClass, int index)
AnnotationMemberProvider
isNullParameterAllowed
in interface AnnotationMemberProvider<org.apache.camel.EndpointInject>
Apache Camel