Lines Matching refs:provider
51 public final Provider provider;
53 private Instance(Provider provider, Object impl) {
54 this.provider = provider;
60 return new Object[] {impl, provider};
76 String provider) throws NoSuchAlgorithmException,
78 if ((provider == null) || (provider.length() == 0)) {
79 throw new IllegalArgumentException("missing provider");
81 Provider p = Providers.getProviderList().getProvider(provider);
83 throw new NoSuchProviderException("no such provider: " + provider);
88 + algorithm + " for provider " + provider);
94 Provider provider) throws NoSuchAlgorithmException {
95 if (provider == null) {
96 throw new IllegalArgumentException("missing provider");
98 Service s = provider.getService(type, algorithm);
101 + algorithm + " for provider " + provider.getName());
145 * @param provider the provider (String or Provider object)
168 // if we cannot get the service from the prefered provider,
204 String algorithm, String provider) throws NoSuchAlgorithmException,
206 return getInstance(getService(type, algorithm, provider), clazz);
210 String algorithm, Object param, String provider)
212 return getInstance(getService(type, algorithm, provider), clazz, param);
216 String algorithm, Provider provider)
218 return getInstance(getService(type, algorithm, provider), clazz);
222 String algorithm, Object param, Provider provider)
224 return getInstance(getService(type, algorithm, provider), clazz, param);
230 * because they implement delayed provider selection like the