Package org.sblim.wbem.util
Class GlobalProperties
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<java.lang.Object,java.lang.Object>
-
- java.util.Properties
-
- org.sblim.wbem.util.GlobalProperties
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.Object,java.lang.Object>
public class GlobalProperties extends java.util.Properties
Deprecated.Use the global properties instance offered by the SessionProperties class insteadProvides 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.
-
-
Field Summary
Fields Modifier and Type Field Description static int
DOM_PARSER
Deprecated.static int
PULL_PARSER
Deprecated.static int
SAX_PARSER
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static boolean
getBooleanProperty(java.lang.String pKey, boolean pDefaultValue)
Deprecated.static int
getConnectionPoolSize()
Deprecated.static int
getContentLength()
Deprecated.static java.io.OutputStream
getDebugOutputStream()
Deprecated.static java.lang.String
getDefaultCredentials()
Deprecated.static java.lang.String
getDefaultPrincipal()
Deprecated.static int
getHttpTimeOut()
Deprecated.static int
getIntProperty(java.lang.String pKey, int pDefaultValue)
Deprecated.static java.lang.String
getJSSECertificate()
Deprecated.static java.lang.String
getJSSEProvider()
Deprecated.static java.lang.String
getKeystore()
Deprecated.static char[]
getKeystorePassword()
Deprecated.static java.util.logging.Level
getLevelProperty(java.lang.String pKey, java.util.logging.Level pDefaultValue)
Deprecated.static java.util.logging.Logger
getLogger()
Deprecated.static java.util.logging.Level
getLoggerConsoleLevel()
Deprecated.static java.util.logging.Level
getLoggerFileLevel()
Deprecated.static java.lang.String
getLoggerNameSpace()
Deprecated.static java.lang.String
getLoggerOutputFile()
Deprecated.static int
getRetriesNumber()
Deprecated.static java.lang.String
getStringProperty(java.lang.String pKey, java.lang.String pDefaultValue)
Deprecated.static java.lang.String
getTruststore()
Deprecated.static java.lang.String
getTruststore_password()
Deprecated.static char[]
getTruststorePassword()
Deprecated.static int
getXmlParser()
Deprecated.static boolean
isContentLengthRetryEnabled()
Deprecated.static boolean
isCredentialsDefaultEnabled()
Deprecated.static boolean
isDebugHttpConnectionPool()
Deprecated.static boolean
isDebugInputStream()
Deprecated.static boolean
isDebugXMLInput()
Deprecated.static boolean
isDebugXMLOutput()
Deprecated.static boolean
isLoggingEnabled()
Deprecated.static boolean
loadProperties()
Deprecated.static boolean
loadProperties(java.lang.String propertyFile)
Deprecated.static boolean
loadProperties(java.util.Properties properties)
Deprecated.static void
main(java.lang.String[] args)
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(java.io.OutputStream pOutputStream)
Deprecated.static void
setDebugXMLInput(boolean pEnableDebugXMLInput)
Deprecated.static void
setDebugXMLOutput(boolean pEnableDebugXMLOutput)
Deprecated.static void
setDefaultCredentials(java.lang.String pCredentialsPassword)
Deprecated.static void
setDefaultPrincipal(java.lang.String pCredentialsUser)
Deprecated.static void
setHttpTimeOut(int pTimeOut)
Deprecated.static void
setJSSECertificate(java.lang.String pJsseCertificateMgr)
Deprecated.static void
setJSSEProvider(java.lang.String providerClassName)
Deprecated.static void
setKeystore(java.lang.String pKeystore)
Deprecated.static void
setKeystore_password(char[] pNewPassword)
Deprecated.static void
setLogger(java.util.logging.Logger pNewLogger)
Deprecated.static void
setLoggerConsoleLevel(java.util.logging.Level pLoggerConsoleLevel)
Deprecated.static void
setLoggerFileLevel(java.util.logging.Level pLoggerFileLevel)
Deprecated.static void
setLoggerNameSpace(java.lang.String pLoggerNameSpace)
Deprecated.static void
setLoggerOutputFile(java.lang.String pLoggerOutputFile)
Deprecated.static void
setLoggingEnabled(boolean pEnableLogging)
Deprecated.static void
setRetriesNumber(int pRetries)
Deprecated.static void
setTruststore(java.lang.String pTruststore)
Deprecated.static void
setTruststore_password(char[] pNewPassword)
Deprecated.static void
setTruststore_password(java.lang.String pNewPassword)
Deprecated.static void
setXmlParser(int parsingMode)
Deprecated.-
Methods inherited from class java.util.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 Detail
-
DOM_PARSER
public static final int DOM_PARSER
Deprecated.- See Also:
- Constant Field Values
-
SAX_PARSER
public static final int SAX_PARSER
Deprecated.- See Also:
- Constant Field Values
-
PULL_PARSER
public static final int PULL_PARSER
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
getBooleanProperty
public static boolean getBooleanProperty(java.lang.String pKey, boolean pDefaultValue)
Deprecated.
-
getConnectionPoolSize
public static int getConnectionPoolSize()
Deprecated.
-
getContentLength
public static int getContentLength()
Deprecated.- See Also:
SessionProperties.getContentLength()
-
getDebugOutputStream
public static java.io.OutputStream getDebugOutputStream()
Deprecated.- See Also:
SessionProperties.getDebugOutputStream()
-
getDefaultCredentials
public static java.lang.String getDefaultCredentials()
Deprecated.
-
getDefaultPrincipal
public static java.lang.String getDefaultPrincipal()
Deprecated.- See Also:
SessionProperties.getDefaultPrincipal()
-
getHttpTimeOut
public static int getHttpTimeOut()
Deprecated.- See Also:
SessionProperties.getHttpTimeOut()
-
getIntProperty
public static int getIntProperty(java.lang.String pKey, int pDefaultValue)
Deprecated.
-
getJSSECertificate
public static java.lang.String getJSSECertificate()
Deprecated.- See Also:
SessionProperties.getJSSECertificate()
-
getJSSEProvider
public static java.lang.String getJSSEProvider()
Deprecated.- See Also:
SessionProperties.getJSSEProvider()
-
getKeystore
public static java.lang.String getKeystore()
Deprecated.- See Also:
SessionProperties.getKeystore()
-
getKeystorePassword
public static char[] getKeystorePassword()
Deprecated.- See Also:
SessionProperties.getKeystorePassword()
-
getLevelProperty
public static java.util.logging.Level getLevelProperty(java.lang.String pKey, java.util.logging.Level pDefaultValue)
Deprecated.
-
getLogger
public static java.util.logging.Logger getLogger()
Deprecated.- See Also:
SessionProperties.getLogger()
-
getLoggerConsoleLevel
public static java.util.logging.Level getLoggerConsoleLevel()
Deprecated.
-
getLoggerFileLevel
public static java.util.logging.Level getLoggerFileLevel()
Deprecated.- See Also:
SessionProperties.getLoggerFileLevel()
-
getLoggerNameSpace
public static java.lang.String getLoggerNameSpace()
Deprecated.- See Also:
SessionProperties.getLoggerNameSpace()
-
getLoggerOutputFile
public static java.lang.String getLoggerOutputFile()
Deprecated.- See Also:
SessionProperties.getLoggerOutputFile()
-
getRetriesNumber
public static int getRetriesNumber()
Deprecated.- See Also:
SessionProperties.getRetriesNumber()
-
getStringProperty
public static java.lang.String getStringProperty(java.lang.String pKey, java.lang.String pDefaultValue)
Deprecated.
-
getTruststore_password
public static java.lang.String getTruststore_password()
Deprecated.
-
getTruststore
public static java.lang.String getTruststore()
Deprecated.- See Also:
SessionProperties.getTruststore()
-
getTruststorePassword
public static char[] getTruststorePassword()
Deprecated.
-
getXmlParser
public static int getXmlParser()
Deprecated.- See Also:
SessionProperties.getXmlParser()
-
isContentLengthRetryEnabled
public static boolean isContentLengthRetryEnabled()
Deprecated.
-
isCredentialsDefaultEnabled
public static boolean isCredentialsDefaultEnabled()
Deprecated.
-
isDebugHttpConnectionPool
public static boolean isDebugHttpConnectionPool()
Deprecated.
-
isDebugInputStream
public static boolean isDebugInputStream()
Deprecated.- See Also:
SessionProperties.isDebugInputStream()
-
isDebugXMLInput
public static boolean isDebugXMLInput()
Deprecated.- See Also:
SessionProperties.isDebugXMLInput()
-
isDebugXMLOutput
public static boolean isDebugXMLOutput()
Deprecated.- See Also:
SessionProperties.isDebugXMLOutput()
-
isLoggingEnabled
public static boolean isLoggingEnabled()
Deprecated.- See Also:
SessionProperties.isLoggingEnabled()
-
loadProperties
public static boolean loadProperties()
Deprecated.- See Also:
SessionProperties.loadProperties()
-
loadProperties
public static boolean loadProperties(java.util.Properties properties)
Deprecated.
-
loadProperties
public static boolean loadProperties(java.lang.String propertyFile)
Deprecated.- See Also:
SessionProperties.loadProperties(String)
-
setConnectionPoolSize
public static void setConnectionPoolSize(int poolSize)
Deprecated.
-
setContentLength
public static void setContentLength(int pContentLength)
Deprecated.- See Also:
SessionProperties.setContentLength(int)
-
setContentLengthRetry
public static void setContentLengthRetry(boolean pEnableContentCheck)
Deprecated.
-
setCredentialsDefaultEnabled
public static void setCredentialsDefaultEnabled(boolean pCredentialsDefaultEnabled)
Deprecated.
-
setDebugHttpConnectionPool
public static void setDebugHttpConnectionPool(boolean pEnableDebugHTTPPool)
Deprecated.
-
setDebugInputStream
public static void setDebugInputStream(boolean pEnableDebugInputStream)
Deprecated.
-
setDebugOutputStream
public static void setDebugOutputStream(java.io.OutputStream pOutputStream)
Deprecated.
-
setDebugXMLInput
public static void setDebugXMLInput(boolean pEnableDebugXMLInput)
Deprecated.
-
setDebugXMLOutput
public static void setDebugXMLOutput(boolean pEnableDebugXMLOutput)
Deprecated.
-
setDefaultCredentials
public static void setDefaultCredentials(java.lang.String pCredentialsPassword)
Deprecated.
-
setDefaultPrincipal
public static void setDefaultPrincipal(java.lang.String pCredentialsUser)
Deprecated.
-
setHttpTimeOut
public static void setHttpTimeOut(int pTimeOut)
Deprecated.- See Also:
SessionProperties.setHttpTimeOut(int)
-
setJSSECertificate
public static void setJSSECertificate(java.lang.String pJsseCertificateMgr)
Deprecated.
-
setJSSEProvider
public static void setJSSEProvider(java.lang.String providerClassName)
Deprecated.
-
setKeystore_password
public static void setKeystore_password(char[] pNewPassword)
Deprecated.
-
setKeystore
public static void setKeystore(java.lang.String pKeystore)
Deprecated.- See Also:
SessionProperties.setKeystore(String)
-
setLogger
public static void setLogger(java.util.logging.Logger pNewLogger)
Deprecated.- See Also:
SessionProperties.setLogger(Logger)
-
setLoggerConsoleLevel
public static void setLoggerConsoleLevel(java.util.logging.Level pLoggerConsoleLevel)
Deprecated.
-
setLoggerFileLevel
public static void setLoggerFileLevel(java.util.logging.Level pLoggerFileLevel)
Deprecated.
-
setLoggerNameSpace
public static void setLoggerNameSpace(java.lang.String pLoggerNameSpace)
Deprecated.
-
setLoggerOutputFile
public static void setLoggerOutputFile(java.lang.String pLoggerOutputFile)
Deprecated.
-
setLoggingEnabled
public static void setLoggingEnabled(boolean pEnableLogging)
Deprecated.
-
setRetriesNumber
public static void setRetriesNumber(int pRetries)
Deprecated.- See Also:
SessionProperties.setRetriesNumber(int)
-
setTruststore_password
public static void setTruststore_password(char[] pNewPassword)
Deprecated.
-
setTruststore_password
public static void setTruststore_password(java.lang.String pNewPassword)
Deprecated.
-
setTruststore
public static void setTruststore(java.lang.String pTruststore)
Deprecated.- See Also:
SessionProperties.setTruststore(String)
-
setXmlParser
public static void setXmlParser(int parsingMode)
Deprecated.- See Also:
SessionProperties.setXmlParser(int)
-
main
public static void main(java.lang.String[] args)
Deprecated.
-
-