示例#1
0
 /** Update sequence numbers of all providers. */
 private static void renumProviders() {
   Provider[] p = Services.getProviders();
   for (int i = 0; i < p.length; i++) {
     p[i].setProviderNumber(i + 1);
   }
 }
示例#2
0
 /**
  * Returns an array containing all installed providers. The providers are ordered according their
  * preference order.
  *
  * @return an array containing all installed providers.
  */
 public static synchronized Provider[] getProviders() {
   return Services.getProviders();
 }