WeldBootstrap bootstrap = weldDeployer.getBootstrapForApp(bundle.getApplication());
BeanManager beanManager = bootstrap.getManager(bda);
AnnotatedType annotatedType = beanManager.createAnnotatedType(managedObject.getClass());
InjectionTarget it = beanManager.createInjectionTarget(annotatedType);
CreationalContext cc = beanManager.createCreationalContext(null);
it.inject(managedObject, cc);
}
@SuppressWarnings({ "unchecked", "rawtypes" })
public JCDIInjectionContext createManagedObject(Class managedClass, BundleDescriptor bundle,
boolean invokePostConstruct) {