| |
|
| java.lang.Object org.apache.harmony.security.fortress.Services
Services | public class Services (Code) | | This class contains information about all registered providers and preferred
implementations for all "serviceName.algName".
|
refreshNumber | static int refreshNumber(Code) | | Refresh number
|
getProvider | public static Provider getProvider(String name)(Code) | | Returns the provider with the specified name
Parameters: name - |
getProviders | public static Provider[] getProviders()(Code) | | Returns registered providers
|
getProvidersList | public static List<Provider> getProvidersList()(Code) | | Returns registered providers as List
|
initServiceInfo | public static void initServiceInfo(Provider p)(Code) | | Adds information about provider services into HashMap.
Parameters: p - |
insertProviderAt | public static int insertProviderAt(Provider provider, int position)(Code) | | Inserts a provider at a specified position
Parameters: provider - Parameters: position - |
isEmpty | public static boolean isEmpty()(Code) | | Returns true if services contain any provider information
|
printServices | public static void printServices()(Code) | | Prints Services content
|
refresh | public static void refresh()(Code) | | Refresh services info
|
removeProvider | public static void removeProvider(int providerNumber)(Code) | | Removes the provider
Parameters: providerNumber - |
setNeedRefresh | public static void setNeedRefresh()(Code) | | Set flag needRefresh
|
updateServiceInfo | public static void updateServiceInfo()(Code) | | Updates services hashtable for all registered providers
|
|
|
|