Lines Matching defs:refInfo
210 * <li>If <code>refInfo</code> is a <code>Reference</code>
213 * Return <code>refInfo</code> if the factory cannot be created.
219 * <li>If <tt>refInfo</tt> is a <tt>Reference</tt> or
234 * return <code>refInfo</code>.
262 * @param refInfo The possibly null object for which to create an object.
271 * @return An object created using <code>refInfo</code>; or
272 * <code>refInfo</code> if an object cannot be created using
288 getObjectInstance(Object refInfo, Name name, Context nameCtx,
299 factory = builder.createObjectFactory(refInfo, environment);
300 return factory.getObjectInstance(refInfo, name, nameCtx,
306 if (refInfo instanceof Reference) {
307 ref = (Reference) refInfo;
308 } else if (refInfo instanceof Referenceable) {
309 ref = ((Referenceable)(refInfo)).getReference();
324 // No factory found, so return original refInfo.
327 return refInfo;
342 createObjectFromFactories(refInfo, name, nameCtx, environment);
343 return (answer != null) ? answer : refInfo;
370 private static Object processURL(Object refInfo, Name name,
375 // If refInfo is a URL string, try to use its URL context factory
377 if (refInfo instanceof String) {
378 String url = (String)refInfo;
381 answer = getURLObject(scheme, refInfo, name, nameCtx,
389 // If refInfo is an array of URL strings,
392 if (refInfo instanceof String[]) {
393 String[] urls = (String[])refInfo;
397 answer = getURLObject(scheme, refInfo, name, nameCtx,