| Modifier and Type | Field and Description |
|---|---|
| private static final String[] | |
| private static volatile ProviderList | |
| private static final ThreadLocal | |
| private static volatile int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static synchronized ProviderList | |
| private static void | |
| private static void | |
| public static synchronized void | |
| public static ProviderList | getFullProviderList()
Get the full provider list with invalid providers (those that could not be loaded) removed. |
| public static ProviderList | |
| public static Provider | |
| private static ProviderList | |
| public static ProviderList | |
| public static void | |
| private static void | |
| public static Object | |
| public static void |
| jarVerificationProviders | back to summary |
|---|---|
| private static final String[] jarVerificationProviders | |
| providerList | back to summary |
|---|---|
| private static volatile ProviderList providerList | |
| threadLists | back to summary |
|---|---|
| private static final ThreadLocal<ProviderList> threadLists | |
| threadListsUsed | back to summary |
|---|---|
| private static volatile int threadListsUsed | |
| Providers | back to summary |
|---|---|
| private Providers() | |
| beginThreadProviderList | back to summary |
|---|---|
| public static synchronized ProviderList beginThreadProviderList(ProviderList list) Methods to manipulate the thread local provider list. It is for use by JAR verification (see above). It should be used as follows: ProviderList list = ...; ProviderList oldList = Providers.beginThreadProviderList(list); try { // code that needs thread local provider list } finally { Providers.endThreadProviderList(oldList); } | |
| changeThreadProviderList | back to summary |
|---|---|
| private static void changeThreadProviderList(ProviderList list) | |
| clearCachedValues | back to summary |
|---|---|
| private static void clearCachedValues() Clears the cached provider-list-specific values. These values need to be re-generated whenever provider list is changed. The logic for generating them is in the respective classes. | |
| endThreadProviderList | back to summary |
|---|---|
| public static synchronized void endThreadProviderList(ProviderList list) | |
| getFullProviderList | back to summary |
|---|---|
| public static ProviderList getFullProviderList() Get the full provider list with invalid providers (those that could not be loaded) removed. This is the list we need to present to applications. | |
| getProviderList | back to summary |
|---|---|
| public static ProviderList getProviderList() Return the current ProviderList. If the thread-local list is set, it is returned. Otherwise, the system-wide list is returned. | |
| getSunProvider | back to summary |
|---|---|
| public static Provider getSunProvider() | |
| getSystemProviderList | back to summary |
|---|---|
| private static ProviderList getSystemProviderList() | |
| getThreadProviderList | back to summary |
|---|---|
| public static ProviderList getThreadProviderList() | |
| setProviderList | back to summary |
|---|---|
| public static void setProviderList(ProviderList newList) Set the current ProviderList. Affects the thread-local list if set, otherwise the system-wide list. | |
| setSystemProviderList | back to summary |
|---|---|
| private static void setSystemProviderList(ProviderList list) | |
| startJarVerification | back to summary |
|---|---|
| public static Object startJarVerification() Start JAR verification. This sets a special provider list for the current thread. You MUST save the return value from this method, and you MUST call stopJarVerification() with that object once you are done. | |
| stopJarVerification | back to summary |
|---|---|
| public static void stopJarVerification(Object obj) Stop JAR verification. Call once you have completed JAR verification. | |