Lines Matching refs:refInfo
124 * @param refInfo The possibly null object for which to create an object.
133 * @param attrs The possibly null attributes associated with refInfo.
134 * This might not be the complete set of attributes for refInfo;
136 * @return An object created using <code>refInfo</code> and <tt>attrs</tt>; or
137 * <code>refInfo</code> if an object cannot be created by
154 getObjectInstance(Object refInfo, Name name, Context nameCtx,
163 factory = builder.createObjectFactory(refInfo, environment);
166 refInfo, name, nameCtx, environment, attrs);
168 return factory.getObjectInstance(refInfo, name, nameCtx,
175 if (refInfo instanceof Reference) {
176 ref = (Reference) refInfo;
177 } else if (refInfo instanceof Referenceable) {
178 ref = ((Referenceable)(refInfo)).getReference();
196 // No factory found, so return original refInfo.
199 return refInfo;
214 answer = createObjectFromFactories(refInfo, name, nameCtx,
216 return (answer != null) ? answer : refInfo;