public class ProduceInjector extends org.apache.camel.impl.CamelPostProcessorHelper implements AnnotationMemberProvider<org.apache.camel.Produce>
Produce injection point| Constructor and Description |
|---|
ProduceInjector(org.apache.camel.CamelContext camelContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isNullParameterAllowed(org.apache.camel.Produce produce,
Method method,
Class<?> aClass,
int index)
Returns true if the given parameter on the annotated method can be null
|
Object |
provide(org.apache.camel.Produce inject,
com.google.inject.TypeLiteral<?> typeLiteral,
Field field)
Returns the value to be injected for the given annotated field
|
Object |
provide(org.apache.camel.Produce 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 ProduceInjector(org.apache.camel.CamelContext camelContext)
public boolean isNullParameterAllowed(org.apache.camel.Produce produce,
Method method,
Class<?> aClass,
int index)
AnnotationMemberProviderisNullParameterAllowed in interface AnnotationMemberProvider<org.apache.camel.Produce>public Object provide(org.apache.camel.Produce inject, com.google.inject.TypeLiteral<?> typeLiteral, Field field)
AnnotationMemberProviderprovide in interface AnnotationMemberProvider<org.apache.camel.Produce>public Object provide(org.apache.camel.Produce inject, com.google.inject.TypeLiteral<?> typeLiteral, Method method, Class<?> aClass, int index)
AnnotationMemberProviderprovide in interface AnnotationMemberProvider<org.apache.camel.Produce>Apache Camel