/**
* Lets perform injection of all beans which use Camel annotations
*/
public void onInjectionTarget(@Observes ProcessInjectionTarget<?> event) {
final InjectionTarget injectionTarget = event.getInjectionTarget();
AnnotatedType annotatedType = event.getAnnotatedType();
final Class<Object> beanClass = annotatedType.getJavaClass();
// TODO this is a bit of a hack - what should the bean name be?
final String beanName = injectionTarget.toString();
ContextName contextName = annotatedType.getAnnotation(ContextName.class);
final BeanAdapter adapter = createBeanAdapter(beanClass, contextName);
if (!adapter.isEmpty()) {
DelegateInjectionTarget newTarget = new DelegateInjectionTarget(injectionTarget) {