Lines Matching defs:providers

46  * and subclass the classes defined in the service itself.  Service providers
87 * service loader maintains a cache of the providers that have been loaded so
91 * providers, adding each one to the cache in turn. The cache can be cleared
116 * does not support the given encoding. Typical providers support more than
138 * factory method which iterates through the known and available providers,
140 * providers.
190 // The class loader used to locate, load, and instantiate providers
193 // Cached providers, in instantiation order
194 private LinkedHashMap<String,S> providers = new LinkedHashMap<>();
200 * Clear this loader's provider cache so that all providers will be
205 * providers from scratch, just as is done by a newly-created loader.
207 * <p> This method is intended for use in situations in which new providers
211 providers.clear();
266 if (!providers.containsKey(ln) && !names.contains(ln))
275 // The service type for which providers are being sought;
374 providers.put(cn, p);
391 * Lazily loads the available providers of this loader's service.
395 * loads and instantiates any remaining providers, adding each one to the
399 * provider-configuration files and instantiating providers must be done by
427 * @return An iterator that lazily loads providers for this loader's
434 = providers.entrySet().iterator();
516 * <p> This method is intended for use when only installed providers are
517 * desired. The resulting service will only find and load providers that
518 * have been installed into the current Java virtual machine; providers on