org.apache.camel.guice.impl
Class EndpointInjector

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

public class EndpointInjector
extends CamelPostProcessorHelper
implements org.guiceyfruit.support.AnnotationMemberProvider<EndpointInject>

Injects values into the EndpointInject injection point

Version:

Constructor Summary
EndpointInjector(CamelContext camelContext)
           
 
Method Summary
 boolean isNullParameterAllowed(EndpointInject endpointInject, Method method, Class<?> aClass, int index)
           
 Object provide(EndpointInject inject, com.google.inject.TypeLiteral<?> typeLiteral, Field field)
           
 Object provide(EndpointInject 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

EndpointInjector

@Inject
public EndpointInjector(CamelContext camelContext)
Method Detail

provide

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

provide

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

isNullParameterAllowed

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


Apache CAMEL