Lines Matching refs:getInstance
34 * Collection of utility methods to facilitate implementing getInstance()
139 * For all the getInstance() methods below:
152 public static Instance getInstance(String type, Class clazz,
164 return getInstance(firstService, clazz);
176 return getInstance(s, clazz);
184 public static Instance getInstance(String type, Class clazz,
190 return getInstance(s, clazz, param);
203 public static Instance getInstance(String type, Class clazz,
206 return getInstance(getService(type, algorithm, provider), clazz);
209 public static Instance getInstance(String type, Class clazz,
212 return getInstance(getService(type, algorithm, provider), clazz, param);
215 public static Instance getInstance(String type, Class clazz,
218 return getInstance(getService(type, algorithm, provider), clazz);
221 public static Instance getInstance(String type, Class clazz,
224 return getInstance(getService(type, algorithm, provider), clazz, param);
228 * The two getInstance() methods below take a service. They are
234 public static Instance getInstance(Service s, Class clazz)
241 public static Instance getInstance(Service s, Class clazz,