|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable<java.lang.Object,java.lang.Object>
java.util.Properties
org.sblim.wbem.util.GlobalProperties
public class GlobalProperties
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.
SessionProperties.getGlobalProperties()
,
Serialized FormField 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, loadFromXML, propertyNames, save, setProperty, store, storeToXML, storeToXML |
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 |
---|
public static final int DOM_PARSER
public static final int SAX_PARSER
public static final int PULL_PARSER
Method Detail |
---|
public static boolean getBooleanProperty(java.lang.String pKey, boolean pDefaultValue)
SessionProperties.getBooleanProperty(String, boolean)
public static int getConnectionPoolSize()
SessionProperties.getConnectionPoolSize()
public static int getContentLength()
SessionProperties.getContentLength()
public static java.io.OutputStream getDebugOutputStream()
SessionProperties.getDebugOutputStream()
public static java.lang.String getDefaultCredentials()
SessionProperties.getDefaultCredentials()
public static java.lang.String getDefaultPrincipal()
SessionProperties.getDefaultPrincipal()
public static int getHttpTimeOut()
SessionProperties.getHttpTimeOut()
public static int getIntProperty(java.lang.String pKey, int pDefaultValue)
SessionProperties.getIntProperty(String, int)
public static java.lang.String getJSSECertificate()
SessionProperties.getJSSECertificate()
public static java.lang.String getJSSEProvider()
SessionProperties.getJSSEProvider()
public static java.lang.String getKeystore()
SessionProperties.getKeystore()
public static char[] getKeystorePassword()
SessionProperties.getKeystorePassword()
public static java.util.logging.Level getLevelProperty(java.lang.String pKey, java.util.logging.Level pDefaultValue)
SessionProperties.getLevelProperty(String, Level)
public static java.util.logging.Logger getLogger()
SessionProperties.getLogger()
public static java.util.logging.Level getLoggerConsoleLevel()
SessionProperties.getLoggerConsoleLevel()
public static java.util.logging.Level getLoggerFileLevel()
SessionProperties.getLoggerFileLevel()
public static java.lang.String getLoggerNameSpace()
SessionProperties.getLoggerNameSpace()
public static java.lang.String getLoggerOutputFile()
SessionProperties.getLoggerOutputFile()
public static int getRetriesNumber()
SessionProperties.getRetriesNumber()
public static java.lang.String getStringProperty(java.lang.String pKey, java.lang.String pDefaultValue)
SessionProperties.getStringProperty(String, String)
public static java.lang.String getTruststore_password()
SessionProperties.getTruststore_password()
public static java.lang.String getTruststore()
SessionProperties.getTruststore()
public static char[] getTruststorePassword()
SessionProperties.getTruststorePassword()
public static int getXmlParser()
SessionProperties.getXmlParser()
public static boolean isContentLengthRetryEnabled()
SessionProperties.isContentLengthRetryEnabled()
public static boolean isCredentialsDefaultEnabled()
SessionProperties.isCredentialsDefaultEnabled()
public static boolean isDebugHttpConnectionPool()
SessionProperties.isDebugHttpConnectionPool()
public static boolean isDebugInputStream()
SessionProperties.isDebugInputStream()
public static boolean isDebugXMLInput()
SessionProperties.isDebugXMLInput()
public static boolean isDebugXMLOutput()
SessionProperties.isDebugXMLOutput()
public static boolean isLoggingEnabled()
SessionProperties.isLoggingEnabled()
public static boolean loadProperties()
SessionProperties.loadProperties()
public static boolean loadProperties(java.util.Properties properties)
SessionProperties.loadProperties(Properties)
public static boolean loadProperties(java.lang.String propertyFile)
SessionProperties.loadProperties(String)
public static void setConnectionPoolSize(int poolSize)
SessionProperties.setConnectionPoolSize(int)
public static void setContentLength(int pContentLength)
SessionProperties.setContentLength(int)
public static void setContentLengthRetry(boolean pEnableContentCheck)
SessionProperties.setContentLengthRetry(boolean)
public static void setCredentialsDefaultEnabled(boolean pCredentialsDefaultEnabled)
SessionProperties.setCredentialsDefaultEnabled(boolean)
public static void setDebugHttpConnectionPool(boolean pEnableDebugHTTPPool)
SessionProperties.setDebugHttpConnectionPool(boolean)
public static void setDebugInputStream(boolean pEnableDebugInputStream)
SessionProperties.setDebugInputStream(boolean)
public static void setDebugOutputStream(java.io.OutputStream pOutputStream)
SessionProperties.setDebugOutputStream(OutputStream)
public static void setDebugXMLInput(boolean pEnableDebugXMLInput)
SessionProperties.setDebugXMLInput(boolean)
public static void setDebugXMLOutput(boolean pEnableDebugXMLOutput)
SessionProperties.setDebugXMLOutput(boolean)
public static void setDefaultCredentials(java.lang.String pCredentialsPassword)
SessionProperties.setDefaultCredentials(String)
public static void setDefaultPrincipal(java.lang.String pCredentialsUser)
SessionProperties.setDefaultPrincipal(String)
public static void setHttpTimeOut(int pTimeOut)
SessionProperties.setHttpTimeOut(int)
public static void setJSSECertificate(java.lang.String pJsseCertificateMgr)
SessionProperties.setJSSECertificate(String)
public static void setJSSEProvider(java.lang.String providerClassName)
SessionProperties.setJSSEProvider(String)
public static void setKeystore_password(char[] pNewPassword)
SessionProperties.setKeystore_password(char[])
public static void setKeystore(java.lang.String pKeystore)
SessionProperties.setKeystore(String)
public static void setLogger(java.util.logging.Logger pNewLogger)
SessionProperties.setLogger(Logger)
public static void setLoggerConsoleLevel(java.util.logging.Level pLoggerConsoleLevel)
SessionProperties.setLoggerConsoleLevel(Level)
public static void setLoggerFileLevel(java.util.logging.Level pLoggerFileLevel)
SessionProperties.setLoggerFileLevel(Level)
public static void setLoggerNameSpace(java.lang.String pLoggerNameSpace)
SessionProperties.setLoggerNameSpace(String)
public static void setLoggerOutputFile(java.lang.String pLoggerOutputFile)
SessionProperties.setLoggerOutputFile(String)
public static void setLoggingEnabled(boolean pEnableLogging)
SessionProperties.setLoggingEnabled(boolean)
public static void setRetriesNumber(int pRetries)
SessionProperties.setRetriesNumber(int)
public static void setTruststore_password(char[] pNewPassword)
SessionProperties.setTruststore_password(char[])
public static void setTruststore_password(java.lang.String pNewPassword)
SessionProperties.setTruststore_password(String)
public static void setTruststore(java.lang.String pTruststore)
SessionProperties.setTruststore(String)
public static void setXmlParser(int parsingMode)
SessionProperties.setXmlParser(int)
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |