13231324132513261327132813291330133113321333
if (_comp == null) { _comp = inject.createInjectionTarget(servletClass); } CreationalContextImpl env = new OwnerCreationalContext(null); try { // server/1b40 if (_comp != null) { servlet = _comp.produce(env);
115116117118119120121122123124125
public T getLocalObject(Class<?> api) { SingletonProxyFactory factory = getSessionContext().getProxyFactory(api); if (factory != null) { CreationalContextImpl env = new CreationalContextImpl(); // XXX: should be bean return (T) factory.__caucho_createNew(null, env); } else return null; }
111112113114115116117118119120121122123124
if (value != null) return value; } cxt = new CreationalContextImpl(bean, cxt); } else { cxt = new CreationalContextImpl(bean, null); } Object result = webBeans.getReference(bean, bean.getBeanClass(), cxt); if (result != null) {
85868788899091929394
public Object eval(CreationalContext<T> parentEnv) { if (_bean == null) bind(); CreationalContext<T> beanEnv = new CreationalContextImpl(_bean, parentEnv); // XXX: getInstance for injection? return _beanManager.getReference(_bean, _type, beanEnv); }