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 intDeprecated.static final intDeprecated.static final intDeprecated.Fields inherited from class Properties
defaults -
Method Summary
Modifier and TypeMethodDescriptionstatic booleangetBooleanProperty(String pKey, boolean pDefaultValue) Deprecated.static intDeprecated.static intDeprecated.static OutputStreamDeprecated.static StringDeprecated.static StringDeprecated.static intDeprecated.static intgetIntProperty(String pKey, int pDefaultValue) Deprecated.static StringDeprecated.static StringDeprecated.static StringDeprecated.static char[]Deprecated.static LevelgetLevelProperty(String pKey, Level pDefaultValue) Deprecated.static LoggerDeprecated.static LevelDeprecated.static LevelDeprecated.static StringDeprecated.static StringDeprecated.static intDeprecated.static StringgetStringProperty(String pKey, String pDefaultValue) Deprecated.static StringDeprecated.static StringDeprecated.static char[]Deprecated.static intDeprecated.static booleanDeprecated.static booleanDeprecated.static booleanDeprecated.static booleanDeprecated.static booleanDeprecated.static booleanDeprecated.static booleanDeprecated.static booleanDeprecated.static booleanloadProperties(String propertyFile) Deprecated.static booleanloadProperties(Properties properties) Deprecated.static voidDeprecated.static voidsetConnectionPoolSize(int poolSize) Deprecated.static voidsetContentLength(int pContentLength) Deprecated.static voidsetContentLengthRetry(boolean pEnableContentCheck) Deprecated.static voidsetCredentialsDefaultEnabled(boolean pCredentialsDefaultEnabled) Deprecated.static voidsetDebugHttpConnectionPool(boolean pEnableDebugHTTPPool) Deprecated.static voidsetDebugInputStream(boolean pEnableDebugInputStream) Deprecated.static voidsetDebugOutputStream(OutputStream pOutputStream) Deprecated.static voidsetDebugXMLInput(boolean pEnableDebugXMLInput) Deprecated.static voidsetDebugXMLOutput(boolean pEnableDebugXMLOutput) Deprecated.static voidsetDefaultCredentials(String pCredentialsPassword) Deprecated.static voidsetDefaultPrincipal(String pCredentialsUser) Deprecated.static voidsetHttpTimeOut(int pTimeOut) Deprecated.static voidsetJSSECertificate(String pJsseCertificateMgr) Deprecated.static voidsetJSSEProvider(String providerClassName) Deprecated.static voidsetKeystore(String pKeystore) Deprecated.static voidsetKeystore_password(char[] pNewPassword) Deprecated.static voidDeprecated.static voidsetLoggerConsoleLevel(Level pLoggerConsoleLevel) Deprecated.static voidsetLoggerFileLevel(Level pLoggerFileLevel) Deprecated.static voidsetLoggerNameSpace(String pLoggerNameSpace) Deprecated.static voidsetLoggerOutputFile(String pLoggerOutputFile) Deprecated.static voidsetLoggingEnabled(boolean pEnableLogging) Deprecated.static voidsetRetriesNumber(int pRetries) Deprecated.static voidsetTruststore(String pTruststore) Deprecated.static voidsetTruststore_password(char[] pNewPassword) Deprecated.static voidsetTruststore_password(String pNewPassword) Deprecated.static voidsetXmlParser(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.
-