| Modifier and Type | Field and Description |
|---|---|
| public static final String | EMULATE_ORACLE
If set the provider will attempt, where possible, to behave the same way as the oracle one. |
| private static final ThreadLocal |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static BigInteger | Returns: value of property as a BigInteger, null if not defined.name of property. propertyName)Return propertyName as a BigInteger. |
| public static int | |
| public static Set | |
| public static String | Returns: value of property as a String, null if not defined.name of property. propertyName)Return the String value of the property propertyName. |
| public static String | |
| public static boolean | Returns: true if the property is set to "true", false otherwise.the property name for the override. propertyName)Return whether a particular override has been set to true. |
| public static boolean | Returns: true if the property is set to "true", false otherwise.the property name for the override. propertyName, boolean defIsTrue)Return whether a particular override has been set to true. |
| public static boolean | Returns: true if the property is set to the value of isTrue, false otherwise.the property name for the override. propertyName, boolean true if the override should be true, false otherwise. isTrue)Return whether a particular override has been set to false. |
| private static boolean | |
| private static boolean | |
| public static boolean | Returns: true if the override was already set true in thread local, false otherwise.the property name for the override. propertyName)Remove any value for the specified override property for the current thread only. |
| public static boolean | Returns: true if the override was already set true, false otherwise.the property name for the override. propertyName, boolean true if the override should be enabled, false if it should be disabled. enable)Enable the specified override property for the current thread only. |
| EMULATE_ORACLE | back to summary |
|---|---|
| public static final String EMULATE_ORACLE If set the provider will attempt, where possible, to behave the same way as the oracle one. | |
| threadProperties | back to summary |
|---|---|
| private static final ThreadLocal<T> threadProperties | |
| Properties | back to summary |
|---|---|
| private Properties() | |
| asBigInteger | back to summary |
|---|---|
| public static BigInteger asBigInteger(String propertyName) Return propertyName as a BigInteger.
| |
| asInteger | back to summary |
|---|---|
| public static int asInteger(String propertyName, int defaultValue) Return propertyName as an integer, defaultValue used if not defined.
| |
| asKeySet | back to summary |
|---|---|
| public static Set | |
| getPropertyValue | back to summary |
|---|---|
| public static String getPropertyValue(final String propertyName) Return the String value of the property propertyName. Property valuation starts with java.security, then thread local, then system properties. | |
| getPropertyValue | back to summary |
|---|---|
| public static String getPropertyValue(final String propertyName, String defValue) | |
| isOverrideSet | back to summary |
|---|---|
| public static boolean isOverrideSet(String propertyName) Return whether a particular override has been set to true.
| |
| isOverrideSet | back to summary |
|---|---|
| public static boolean isOverrideSet(String propertyName, boolean defIsTrue) Return whether a particular override has been set to true.
| |
| isOverrideSetTo | back to summary |
|---|---|
| public static boolean isOverrideSetTo(String propertyName, boolean isTrue) Return whether a particular override has been set to false.
| |
| isSetFalse | back to summary |
|---|---|
| private static boolean isSetFalse(String p) | |
| isSetTrue | back to summary |
|---|---|
| private static boolean isSetTrue(String p) | |
| removeThreadOverride | back to summary |
|---|---|
| public static boolean removeThreadOverride(String propertyName) Remove any value for the specified override property for the current thread only.
| |
| setThreadOverride | back to summary |
|---|---|
| public static boolean setThreadOverride(String propertyName, boolean enable) Enable the specified override property for the current thread only.
| |