org.apache.camel.guice.impl
Class ConsumerInjection<I>

java.lang.Object
  extended by org.apache.camel.impl.CamelPostProcessorHelper
      extended by org.apache.camel.guice.impl.ConsumerInjection<I>
All Implemented Interfaces:
org.apache.camel.CamelContextAware, MethodHandler<I,org.apache.camel.Consume>

public class ConsumerInjection<I>
extends org.apache.camel.impl.CamelPostProcessorHelper
implements MethodHandler<I,org.apache.camel.Consume>

Version:

Constructor Summary
ConsumerInjection()
           
 
Method Summary
 void afterInjection(I injectee, org.apache.camel.Consume consume, Method method)
          Process the given method which is annotated with the annotation on the injectee after the injectee has been injected
 org.apache.camel.CamelContext getCamelContext()
           
 void setCamelContext(org.apache.camel.CamelContext camelContext)
           
 
Methods inherited from class org.apache.camel.impl.CamelPostProcessorHelper
consumerInjection, createConsumerProcessor, createInjectionConsumerTemplate, createInjectionPollingConsumer, createInjectionProducer, createInjectionProducerTemplate, createProxyInstantiationRuntimeException, getEndpointInjection, getInjectionBeanValue, getInjectionPropertyValue, getInjectionValue, isSingleton, matchContext, startService, subscribeMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsumerInjection

public ConsumerInjection()
Method Detail

afterInjection

public void afterInjection(I injectee,
                           org.apache.camel.Consume consume,
                           Method method)
                    throws InvocationTargetException,
                           IllegalAccessException
Description copied from interface: MethodHandler
Process the given method which is annotated with the annotation on the injectee after the injectee has been injected

Specified by:
afterInjection in interface MethodHandler<I,org.apache.camel.Consume>
Throws:
InvocationTargetException
IllegalAccessException

getCamelContext

public org.apache.camel.CamelContext getCamelContext()
Specified by:
getCamelContext in interface org.apache.camel.CamelContextAware
Overrides:
getCamelContext in class org.apache.camel.impl.CamelPostProcessorHelper

setCamelContext

@Inject
public void setCamelContext(org.apache.camel.CamelContext camelContext)
Specified by:
setCamelContext in interface org.apache.camel.CamelContextAware
Overrides:
setCamelContext in class org.apache.camel.impl.CamelPostProcessorHelper


Apache Camel