org.apache.camel.guice.impl
Class ProduceInjector

java.lang.Object
  extended by org.apache.camel.impl.CamelPostProcessorHelper
      extended by org.apache.camel.guice.impl.ProduceInjector
All Implemented Interfaces:
org.apache.camel.CamelContextAware, org.guiceyfruit.support.AnnotationMemberProvider<org.apache.camel.Produce>

public class ProduceInjector
extends org.apache.camel.impl.CamelPostProcessorHelper
implements org.guiceyfruit.support.AnnotationMemberProvider<org.apache.camel.Produce>

Injects values into the Produce injection point

Version:

Constructor Summary
ProduceInjector(org.apache.camel.CamelContext camelContext)
           
 
Method Summary
 boolean isNullParameterAllowed(org.apache.camel.Produce produce, Method method, Class<?> aClass, int index)
           
 Object provide(org.apache.camel.Produce inject, com.google.inject.TypeLiteral<?> typeLiteral, Field field)
           
 Object provide(org.apache.camel.Produce inject, com.google.inject.TypeLiteral<?> typeLiteral, Method method, Class<?> aClass, int index)
           
 
Methods inherited from class org.apache.camel.impl.CamelPostProcessorHelper
consumerInjection, createConsumerProcessor, createInjectionConsumerTemplate, createInjectionPollingConsumer, createInjectionProducer, createInjectionProducerTemplate, createProxyInstantiationRuntimeException, getCamelContext, getEndpointInjection, getInjectionValue, isSingleton, matchContext, setCamelContext, startService, subscribeMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProduceInjector

@Inject
public ProduceInjector(org.apache.camel.CamelContext camelContext)
Method Detail

isNullParameterAllowed

public boolean isNullParameterAllowed(org.apache.camel.Produce produce,
                                      Method method,
                                      Class<?> aClass,
                                      int index)
Specified by:
isNullParameterAllowed in interface org.guiceyfruit.support.AnnotationMemberProvider<org.apache.camel.Produce>

provide

public Object provide(org.apache.camel.Produce inject,
                      com.google.inject.TypeLiteral<?> typeLiteral,
                      Field field)
Specified by:
provide in interface org.guiceyfruit.support.AnnotationMemberProvider<org.apache.camel.Produce>

provide

public Object provide(org.apache.camel.Produce inject,
                      com.google.inject.TypeLiteral<?> typeLiteral,
                      Method method,
                      Class<?> aClass,
                      int index)
Specified by:
provide in interface org.guiceyfruit.support.AnnotationMemberProvider<org.apache.camel.Produce>


Apache CAMEL