org.sblim.wbem.util
Class GlobalProperties

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<java.lang.Object,java.lang.Object>
          extended by java.util.Properties
              extended by org.sblim.wbem.util.GlobalProperties
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,java.lang.Object>

Deprecated. Use the global properties instance offered by the SessionProperties class instead

public class GlobalProperties
extends java.util.Properties

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:
SessionProperties.getGlobalProperties(), Serialized Form

Field Summary
static int DOM_PARSER
          Deprecated.  
static int PULL_PARSER
          Deprecated.  
static int SAX_PARSER
          Deprecated.  
 
Fields inherited from class java.util.Properties
defaults
 
Method Summary
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_password()
          Deprecated.  
static java.lang.String getTruststore()
          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.util.Properties properties)
          Deprecated.  
static boolean loadProperties(java.lang.String propertyFile)
          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_password(char[] pNewPassword)
          Deprecated.  
static void setKeystore(java.lang.String pKeystore)
          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_password(char[] pNewPassword)
          Deprecated.  
static void setTruststore_password(java.lang.String pNewPassword)
          Deprecated.  
static void setTruststore(java.lang.String pTruststore)
          Deprecated.  
static void setXmlParser(int parsingMode)
          Deprecated.  
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

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. 
See Also:
SessionProperties.getBooleanProperty(String, boolean)

getConnectionPoolSize

public static int getConnectionPoolSize()
Deprecated. 
See Also:
SessionProperties.getConnectionPoolSize()

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. 
See Also:
SessionProperties.getDefaultCredentials()

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. 
See Also:
SessionProperties.getIntProperty(String, int)

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. 
See Also:
SessionProperties.getLevelProperty(String, Level)

getLogger

public static java.util.logging.Logger getLogger()
Deprecated. 
See Also:
SessionProperties.getLogger()

getLoggerConsoleLevel

public static java.util.logging.Level getLoggerConsoleLevel()
Deprecated. 
See Also:
SessionProperties.getLoggerConsoleLevel()

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. 
See Also:
SessionProperties.getStringProperty(String, String)

getTruststore_password

public static java.lang.String getTruststore_password()
Deprecated. 
See Also:
SessionProperties.getTruststore_password()

getTruststore

public static java.lang.String getTruststore()
Deprecated. 
See Also:
SessionProperties.getTruststore()

getTruststorePassword

public static char[] getTruststorePassword()
Deprecated. 
See Also:
SessionProperties.getTruststorePassword()

getXmlParser

public static int getXmlParser()
Deprecated. 
See Also:
SessionProperties.getXmlParser()

isContentLengthRetryEnabled

public static boolean isContentLengthRetryEnabled()
Deprecated. 
See Also:
SessionProperties.isContentLengthRetryEnabled()

isCredentialsDefaultEnabled

public static boolean isCredentialsDefaultEnabled()
Deprecated. 
See Also:
SessionProperties.isCredentialsDefaultEnabled()

isDebugHttpConnectionPool

public static boolean isDebugHttpConnectionPool()
Deprecated. 
See Also:
SessionProperties.isDebugHttpConnectionPool()

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. 
See Also:
SessionProperties.loadProperties(Properties)

loadProperties

public static boolean loadProperties(java.lang.String propertyFile)
Deprecated. 
See Also:
SessionProperties.loadProperties(String)

setConnectionPoolSize

public static void setConnectionPoolSize(int poolSize)
Deprecated. 
See Also:
SessionProperties.setConnectionPoolSize(int)

setContentLength

public static void setContentLength(int pContentLength)
Deprecated. 
See Also:
SessionProperties.setContentLength(int)

setContentLengthRetry

public static void setContentLengthRetry(boolean pEnableContentCheck)
Deprecated. 
See Also:
SessionProperties.setContentLengthRetry(boolean)

setCredentialsDefaultEnabled

public static void setCredentialsDefaultEnabled(boolean pCredentialsDefaultEnabled)
Deprecated. 
See Also:
SessionProperties.setCredentialsDefaultEnabled(boolean)

setDebugHttpConnectionPool

public static void setDebugHttpConnectionPool(boolean pEnableDebugHTTPPool)
Deprecated. 
See Also:
SessionProperties.setDebugHttpConnectionPool(boolean)

setDebugInputStream

public static void setDebugInputStream(boolean pEnableDebugInputStream)
Deprecated. 
See Also:
SessionProperties.setDebugInputStream(boolean)

setDebugOutputStream

public static void setDebugOutputStream(java.io.OutputStream pOutputStream)
Deprecated. 
See Also:
SessionProperties.setDebugOutputStream(OutputStream)

setDebugXMLInput

public static void setDebugXMLInput(boolean pEnableDebugXMLInput)
Deprecated. 
See Also:
SessionProperties.setDebugXMLInput(boolean)

setDebugXMLOutput

public static void setDebugXMLOutput(boolean pEnableDebugXMLOutput)
Deprecated. 
See Also:
SessionProperties.setDebugXMLOutput(boolean)

setDefaultCredentials

public static void setDefaultCredentials(java.lang.String pCredentialsPassword)
Deprecated. 
See Also:
SessionProperties.setDefaultCredentials(String)

setDefaultPrincipal

public static void setDefaultPrincipal(java.lang.String pCredentialsUser)
Deprecated. 
See Also:
SessionProperties.setDefaultPrincipal(String)

setHttpTimeOut

public static void setHttpTimeOut(int pTimeOut)
Deprecated. 
See Also:
SessionProperties.setHttpTimeOut(int)

setJSSECertificate

public static void setJSSECertificate(java.lang.String pJsseCertificateMgr)
Deprecated. 
See Also:
SessionProperties.setJSSECertificate(String)

setJSSEProvider

public static void setJSSEProvider(java.lang.String providerClassName)
Deprecated. 
See Also:
SessionProperties.setJSSEProvider(String)

setKeystore_password

public static void setKeystore_password(char[] pNewPassword)
Deprecated. 
See Also:
SessionProperties.setKeystore_password(char[])

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. 
See Also:
SessionProperties.setLoggerConsoleLevel(Level)

setLoggerFileLevel

public static void setLoggerFileLevel(java.util.logging.Level pLoggerFileLevel)
Deprecated. 
See Also:
SessionProperties.setLoggerFileLevel(Level)

setLoggerNameSpace

public static void setLoggerNameSpace(java.lang.String pLoggerNameSpace)
Deprecated. 
See Also:
SessionProperties.setLoggerNameSpace(String)

setLoggerOutputFile

public static void setLoggerOutputFile(java.lang.String pLoggerOutputFile)
Deprecated. 
See Also:
SessionProperties.setLoggerOutputFile(String)

setLoggingEnabled

public static void setLoggingEnabled(boolean pEnableLogging)
Deprecated. 
See Also:
SessionProperties.setLoggingEnabled(boolean)

setRetriesNumber

public static void setRetriesNumber(int pRetries)
Deprecated. 
See Also:
SessionProperties.setRetriesNumber(int)

setTruststore_password

public static void setTruststore_password(char[] pNewPassword)
Deprecated. 
See Also:
SessionProperties.setTruststore_password(char[])

setTruststore_password

public static void setTruststore_password(java.lang.String pNewPassword)
Deprecated. 
See Also:
SessionProperties.setTruststore_password(String)

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. 


Copyright © 2005, 2007 IBM Corporation. All Rights Reserved.