168169170171172173174175176177178
_bean = webBeans.createManagedBean(_beanClass); } InjectionTarget<T> injection = _bean.getInjectionTarget(); CreationalContext<T> env = webBeans.createCreationalContext(_bean); T bean = injection.produce(env); injection.inject(bean, env); if (_setParent != null
508509510511512513514515516517518
if (_bean == null) init(); InjectManager beanManager = InjectManager.create(); CreationalContext<?> env = beanManager.createCreationalContext(_bean); Class<?> type = _bean.getBeanClass(); return InjectManager.create().getReference(_bean, type, env); }
121122123124125126127128129130131
beans = beanManager.getBeans(_type); if (beans.iterator().hasNext()) { Bean bean = beanManager.resolve(beans); CreationalContext<?> env = beanManager.createCreationalContext(bean); value = beanManager.getReference(bean, _type, env); return value; }
122123124125126127128129130131132
325326327328329330331332333334335
if (bean == null) throw new ConfigException(L.l("ejb-ref '{0}' is an unknown bean", _type)); CreationalContext<?> cxt = injectManager.createCreationalContext(bean); return injectManager.getReference(bean, _type, cxt); /* if (_target == null) {