Class GlobalProperties
- All Implemented Interfaces:
Serializable, Cloneable, Map<Object,
Object>
Deprecated.
Use the global properties instance offered by the SessionProperties class instead
Provides access to configuration properties which can affect the behavior of the CIM Client,
including control over logs/tracing info, connection pool handling, connection timeout,
JSSE providers, among others.
This class provides static access to the global properties singleton of the SessionProperties
class. It exists for backward compatiblity reasons only.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Deprecated.static final int
Deprecated.static final int
Deprecated.Fields inherited from class Properties
defaults
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
getBooleanProperty
(String pKey, boolean pDefaultValue) Deprecated.static int
Deprecated.static int
Deprecated.static OutputStream
Deprecated.static String
Deprecated.static String
Deprecated.static int
Deprecated.static int
getIntProperty
(String pKey, int pDefaultValue) Deprecated.static String
Deprecated.static String
Deprecated.static String
Deprecated.static char[]
Deprecated.static Level
getLevelProperty
(String pKey, Level pDefaultValue) Deprecated.static Logger
Deprecated.static Level
Deprecated.static Level
Deprecated.static String
Deprecated.static String
Deprecated.static int
Deprecated.static String
getStringProperty
(String pKey, String pDefaultValue) Deprecated.static String
Deprecated.static String
Deprecated.static char[]
Deprecated.static int
Deprecated.static boolean
Deprecated.static boolean
Deprecated.static boolean
Deprecated.static boolean
Deprecated.static boolean
Deprecated.static boolean
Deprecated.static boolean
Deprecated.static boolean
Deprecated.static boolean
loadProperties
(String propertyFile) Deprecated.static boolean
loadProperties
(Properties properties) Deprecated.static void
Deprecated.static void
setConnectionPoolSize
(int poolSize) Deprecated.static void
setContentLength
(int pContentLength) Deprecated.static void
setContentLengthRetry
(boolean pEnableContentCheck) Deprecated.static void
setCredentialsDefaultEnabled
(boolean pCredentialsDefaultEnabled) Deprecated.static void
setDebugHttpConnectionPool
(boolean pEnableDebugHTTPPool) Deprecated.static void
setDebugInputStream
(boolean pEnableDebugInputStream) Deprecated.static void
setDebugOutputStream
(OutputStream pOutputStream) Deprecated.static void
setDebugXMLInput
(boolean pEnableDebugXMLInput) Deprecated.static void
setDebugXMLOutput
(boolean pEnableDebugXMLOutput) Deprecated.static void
setDefaultCredentials
(String pCredentialsPassword) Deprecated.static void
setDefaultPrincipal
(String pCredentialsUser) Deprecated.static void
setHttpTimeOut
(int pTimeOut) Deprecated.static void
setJSSECertificate
(String pJsseCertificateMgr) Deprecated.static void
setJSSEProvider
(String providerClassName) Deprecated.static void
setKeystore
(String pKeystore) Deprecated.static void
setKeystore_password
(char[] pNewPassword) Deprecated.static void
Deprecated.static void
setLoggerConsoleLevel
(Level pLoggerConsoleLevel) Deprecated.static void
setLoggerFileLevel
(Level pLoggerFileLevel) Deprecated.static void
setLoggerNameSpace
(String pLoggerNameSpace) Deprecated.static void
setLoggerOutputFile
(String pLoggerOutputFile) Deprecated.static void
setLoggingEnabled
(boolean pEnableLogging) Deprecated.static void
setRetriesNumber
(int pRetries) Deprecated.static void
setTruststore
(String pTruststore) Deprecated.static void
setTruststore_password
(char[] pNewPassword) Deprecated.static void
setTruststore_password
(String pNewPassword) Deprecated.static void
setXmlParser
(int parsingMode) Deprecated.Methods inherited from class Properties
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, getProperty, getProperty, hashCode, isEmpty, keys, keySet, list, list, load, load, loadFromXML, merge, propertyNames, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
-
Field Details
-
DOM_PARSER
public static final int DOM_PARSERDeprecated.- See Also:
-
SAX_PARSER
public static final int SAX_PARSERDeprecated.- See Also:
-
PULL_PARSER
public static final int PULL_PARSERDeprecated.- See Also:
-
-
Method Details
-
getBooleanProperty
-
getConnectionPoolSize
public static int getConnectionPoolSize()Deprecated.- See Also:
-
getContentLength
public static int getContentLength()Deprecated.- See Also:
-
getDebugOutputStream
-
getDefaultCredentials
-
getDefaultPrincipal
-
getHttpTimeOut
public static int getHttpTimeOut()Deprecated.- See Also:
-
getIntProperty
-
getJSSECertificate
-
getJSSEProvider
-
getKeystore
-
getKeystorePassword
public static char[] getKeystorePassword()Deprecated.- See Also:
-
getLevelProperty
-
getLogger
-
getLoggerConsoleLevel
-
getLoggerFileLevel
-
getLoggerNameSpace
-
getLoggerOutputFile
-
getRetriesNumber
public static int getRetriesNumber()Deprecated.- See Also:
-
getStringProperty
-
getTruststore_password
-
getTruststore
-
getTruststorePassword
public static char[] getTruststorePassword()Deprecated.- See Also:
-
getXmlParser
public static int getXmlParser()Deprecated.- See Also:
-
isContentLengthRetryEnabled
public static boolean isContentLengthRetryEnabled()Deprecated.- See Also:
-
isCredentialsDefaultEnabled
public static boolean isCredentialsDefaultEnabled()Deprecated.- See Also:
-
isDebugHttpConnectionPool
public static boolean isDebugHttpConnectionPool()Deprecated.- See Also:
-
isDebugInputStream
public static boolean isDebugInputStream()Deprecated.- See Also:
-
isDebugXMLInput
public static boolean isDebugXMLInput()Deprecated.- See Also:
-
isDebugXMLOutput
public static boolean isDebugXMLOutput()Deprecated.- See Also:
-
isLoggingEnabled
public static boolean isLoggingEnabled()Deprecated.- See Also:
-
loadProperties
public static boolean loadProperties()Deprecated.- See Also:
-
loadProperties
-
loadProperties
-
setConnectionPoolSize
public static void setConnectionPoolSize(int poolSize) Deprecated.- See Also:
-
setContentLength
public static void setContentLength(int pContentLength) Deprecated.- See Also:
-
setContentLengthRetry
public static void setContentLengthRetry(boolean pEnableContentCheck) Deprecated.- See Also:
-
setCredentialsDefaultEnabled
public static void setCredentialsDefaultEnabled(boolean pCredentialsDefaultEnabled) Deprecated.- See Also:
-
setDebugHttpConnectionPool
public static void setDebugHttpConnectionPool(boolean pEnableDebugHTTPPool) Deprecated.- See Also:
-
setDebugInputStream
public static void setDebugInputStream(boolean pEnableDebugInputStream) Deprecated.- See Also:
-
setDebugOutputStream
-
setDebugXMLInput
public static void setDebugXMLInput(boolean pEnableDebugXMLInput) Deprecated.- See Also:
-
setDebugXMLOutput
public static void setDebugXMLOutput(boolean pEnableDebugXMLOutput) Deprecated.- See Also:
-
setDefaultCredentials
-
setDefaultPrincipal
-
setHttpTimeOut
public static void setHttpTimeOut(int pTimeOut) Deprecated.- See Also:
-
setJSSECertificate
-
setJSSEProvider
-
setKeystore_password
public static void setKeystore_password(char[] pNewPassword) Deprecated.- See Also:
-
setKeystore
-
setLogger
-
setLoggerConsoleLevel
-
setLoggerFileLevel
-
setLoggerNameSpace
-
setLoggerOutputFile
-
setLoggingEnabled
public static void setLoggingEnabled(boolean pEnableLogging) Deprecated.- See Also:
-
setRetriesNumber
public static void setRetriesNumber(int pRetries) Deprecated.- See Also:
-
setTruststore_password
public static void setTruststore_password(char[] pNewPassword) Deprecated.- See Also:
-
setTruststore_password
-
setTruststore
-
setXmlParser
public static void setXmlParser(int parsingMode) Deprecated.- See Also:
-
main
Deprecated.
-