public class WBEMConfiguration
extends java.lang.Object
Constructor and Description |
---|
WBEMConfiguration(java.util.Properties pDomainProperties)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getActiveConfigFullURL()
Returns the full URL of the active configuration file.
|
static java.lang.String |
getActiveConfigURL()
Returns the URL of the active configuration file.
|
java.lang.String |
getCimXmlEmbObjBuilder()
getCimXmlEmbObjBuilder
|
java.lang.String |
getCimXmlParser()
Return the XML parser to use for processing operation responses
|
java.lang.String |
getCimXmlTraceStream()
Returns the CIM-XML trace stream to be used if application does not set
one of its own
|
static java.lang.Exception |
getConfigurationLoadException()
Returns the exception caught during configuration load, load failed.
|
javax.net.SocketFactory |
getCustomSocketFactory()
Returns the custom socket factory
|
java.lang.String |
getDefaultCredentials()
getDefaultCredentials
|
java.lang.String |
getDefaultPrincipal()
getDefaultPrincipal
|
java.util.Properties |
getDomainProperties()
Returns the domain properties
|
java.lang.String |
getDomainProperty(java.lang.String pKey)
Returns a value from the domain properties for a given name
|
static WBEMConfiguration |
getGlobalConfiguration()
Returns the global configuration
|
java.lang.String |
getHttpAuthenticationModule()
Returns the Java class name of http authentication module to use
|
int |
getHttpConnectRetriesCount()
Returns the number of retries the client will attempt when the connection
was refused.
|
int |
getHttpContentLengthThreshold()
Returns the threshold for the content length retry algorithm
|
int |
getHttpPoolSize()
Returns the http pool size
|
int |
getHttpTimeout()
Returns the http timeout
|
java.lang.String |
getHttpVersion()
Returns the http version to use
|
java.lang.String |
getHttpWwwAuthenticateInfo()
Returns the WWW-Authenticate info to use on first request
|
boolean |
getListenerAddSenderIPAddress()
Returns whether sender IP property should be added to indications
|
int |
getListenerBacklog()
Returns the backlog that is tolerated before the thread pool creates an
additional handler
|
long |
getListenerDeliveryRetryAttempts()
Returns the default value to use for CIM_IndicationService
DeliveryRetryAttempts
|
long |
getListenerDeliveryRetryInterval()
Returns the default value to use for CIM_IndicationService
DeliveryRetryInterval
|
int |
getListenerHttpTimeout()
Returns the http timeout for indication connection handlers
|
java.lang.String |
getListenerIndicationTraceFilter()
Returns the filter to use for tracing of incoming indications at the FINE
level
|
long |
getListenerMaxIdle()
Returns the maximal idle time that is tolerated for a connection handler
|
int |
getListenerMaxPoolSize()
Returns the maximal pool size for indication connection handlers
|
int |
getListenerMaxQueueSize()
Returns the maximal queue size for pending indication connections
|
int |
getListenerMinPoolSize()
Returns the minimal pool size for indication connection handlers
|
java.util.Properties |
getLocalProperties()
Returns the properties local to the current thread
|
java.lang.String |
getLocalProperty(java.lang.String pKey)
Returns a value from the local properties for a given name
|
java.util.logging.Level |
getLogConsoleLevel()
Returns the console log level
|
java.lang.String |
getLogConsoleType()
Returns the console log type
|
int |
getLogFileCount()
Returns the log file count
|
java.util.logging.Level |
getLogFileLevel()
Returns the log file level
|
java.lang.String |
getLogFileLocation()
Returns the log file location
|
int |
getLogFileSizeLimit()
Returns the log file size limit
|
int |
getReliableIndicationHashtableCapacity()
Returns the initial capacity of the hash table used to handle reliable
indications
|
int |
getSocketConnectTimeout()
Returns the socket connect timeout
|
boolean |
getSslClientPeerVerification()
Returns whether the client will attempt to authenticate the CIMOM
|
java.lang.String |
getSslKeyManagerAlgorithm()
Returns the certificate algorithm the key manager will use
|
java.lang.String |
getSslKeyStorePassword()
Returns the password of the keystore.
|
java.lang.String |
getSslKeyStorePath()
Returns the file path of the keystore.
|
java.lang.String |
getSslKeyStoreType()
Returns the type of the keystore.
|
java.lang.String |
getSslListenerPeerVerification()
Returns how the listener will handle to authentication of the indication
sender endpoint.
|
java.lang.String |
getSslProtocol()
getSslProtocol
|
java.lang.String |
getSslServerSocketProvider()
Returns the JSSE provider to use for creating ssl server sockets
|
java.lang.String |
getSslSocketProvider()
Returns the JSSE provider to use for creating ssl client sockets
|
java.lang.String |
getSslTrustManagerAlgorithm()
Returns the certificate algorithm the trust manager will use
|
java.lang.String |
getSslTrustStorePassword()
Returns the password of the truststore.
|
java.lang.String |
getSslTrustStorePath()
Returns the file path of the truststore.
|
java.lang.String |
getSslTrustStoreType()
Returns the type of the truststore.
|
int |
getTraceFileCount()
Returns the trace file count
|
java.util.logging.Level |
getTraceFileLevel()
Returns the trace file level
|
java.lang.String |
getTraceFileLocation()
Returns the trace file location
|
int |
getTraceFileSizeLimit()
Returns the trace file count
|
boolean |
isCimXmlTracingEnabled()
Returns the state of CIM-XML tracing
|
static boolean |
isConfigurationLoadSuccessful()
Returns if the configuration was successfully loaded from the
configuration file
|
boolean |
isDefaultAuthorizationEnabled()
isDefaultAuthorizationEnabled
|
boolean |
isGlobal()
Returns whether this configuration is the global one
|
boolean |
isHttpChunked()
Returns the state of chunking enablement
|
boolean |
isHttpContentLengthRetryEnabled()
Returns if the content length retry feature is enabled
|
boolean |
isHttpMPost()
Returns the state of MPOST enablement
|
boolean |
isReliableIndicationEnabled()
Returns the state of reliable indication support
|
static void |
loadGlobalConfiguration()
Loads the global configuration from the configuration file
|
boolean |
performSslHandshake()
performSslHandshake
|
void |
setCustomSocketFactory(javax.net.SocketFactory pFactory)
Sets a custom socket factory.
|
void |
setDomainProperties(java.util.Properties pDomainProperties)
Sets the domain properties
|
void |
setDomainProperty(java.lang.String pKey,
java.lang.String pValue)
Sets a property value of the domain properties
|
void |
setLocalProperties(java.util.Properties pLocalProperties)
Sets the properties local to the current thread
|
void |
setLocalProperty(java.lang.String pKey,
java.lang.String pValue)
Sets a property value of the local properties
|
boolean |
socketConnectWithTimeout()
socketConnectWithTimeout
|
boolean |
strictEmbObjTypes()
strictEmbObjTypes
|
boolean |
synchronizedSslHandshake()
synchronizedSslHandshake
|
boolean |
upperCaseEmbObjEntities()
upperCaseEmbObjEntities
|
boolean |
verifyJavaLangDoubleStrings()
Returns whether the client will attempt to verify strings passed into the
java.lang.Double constructor or its parseDouble
method won't hang the JVM in an infinite loop. |
public WBEMConfiguration(java.util.Properties pDomainProperties)
pDomainProperties
- The domain specific properties of this configuration. Domain
specific properties are treated as an overlay on the global
properties in the System
class.java.lang.NullPointerException
- If pDomainProperties is null
public static void loadGlobalConfiguration()
public static java.lang.String getActiveConfigURL()
public static java.lang.String getActiveConfigFullURL()
public static boolean isConfigurationLoadSuccessful()
true
if the configuration was successfully loaded
from the configuration file, false
otherwisepublic static WBEMConfiguration getGlobalConfiguration()
public static java.lang.Exception getConfigurationLoadException()
null
if none was caught.public boolean isGlobal()
true
if this is the global configurationpublic java.util.Properties getDomainProperties()
public void setDomainProperties(java.util.Properties pDomainProperties)
pDomainProperties
- The new valuepublic java.lang.String getDomainProperty(java.lang.String pKey)
pKey
- The name of the propertypublic void setDomainProperty(java.lang.String pKey, java.lang.String pValue)
pKey
- The name of propertypValue
- The new valuepublic java.util.Properties getLocalProperties()
public void setLocalProperties(java.util.Properties pLocalProperties)
pLocalProperties
- The new valuepublic java.lang.String getLocalProperty(java.lang.String pKey)
pKey
- The name of the propertypublic void setLocalProperty(java.lang.String pKey, java.lang.String pValue)
pKey
- The name of propertypValue
- The new valuepublic void setCustomSocketFactory(javax.net.SocketFactory pFactory)
pFactory
- The factorypublic javax.net.SocketFactory getCustomSocketFactory()
null
otherwisepublic java.util.logging.Level getLogConsoleLevel()
public java.lang.String getLogConsoleType()
public java.util.logging.Level getLogFileLevel()
public java.lang.String getLogFileLocation()
public int getLogFileCount()
public int getLogFileSizeLimit()
public java.util.logging.Level getTraceFileLevel()
public java.lang.String getTraceFileLocation()
public int getTraceFileCount()
public int getTraceFileSizeLimit()
public int getHttpTimeout()
public int getHttpPoolSize()
public java.lang.String getHttpAuthenticationModule()
public java.lang.String getHttpWwwAuthenticateInfo()
public boolean isHttpMPost()
true
if MPOST is enabled, false
otherwisepublic boolean isHttpChunked()
true
if chunking is enabled, false
otherwisepublic java.lang.String getHttpVersion()
public java.lang.String getSslKeyStorePath()
public java.lang.String getSslKeyStoreType()
public java.lang.String getSslKeyStorePassword()
public java.lang.String getSslTrustStorePath()
public java.lang.String getSslTrustStoreType()
public java.lang.String getSslTrustStorePassword()
public java.lang.String getSslSocketProvider()
public java.lang.String getSslServerSocketProvider()
public java.lang.String getSslProtocol()
public java.lang.String getSslKeyManagerAlgorithm()
public java.lang.String getSslTrustManagerAlgorithm()
public boolean getSslClientPeerVerification()
true
if the client will attempt to authenticate the
CIMOM by verifying the server certificate false
otherwisepublic java.lang.String getSslListenerPeerVerification()
public int getHttpConnectRetriesCount()
public boolean isHttpContentLengthRetryEnabled()
true
if content length retry is enabled,
false
otherwisepublic int getHttpContentLengthThreshold()
public java.lang.String getCimXmlParser()
public java.lang.String getCimXmlEmbObjBuilder()
public boolean strictEmbObjTypes()
public boolean upperCaseEmbObjEntities()
public boolean performSslHandshake()
public boolean synchronizedSslHandshake()
public boolean socketConnectWithTimeout()
public int getSocketConnectTimeout()
public boolean isDefaultAuthorizationEnabled()
public java.lang.String getDefaultPrincipal()
public java.lang.String getDefaultCredentials()
public boolean isCimXmlTracingEnabled()
true
if tracing is enabled, false
otherwisepublic java.lang.String getCimXmlTraceStream()
public int getListenerBacklog()
public int getListenerHttpTimeout()
public int getListenerMaxPoolSize()
public int getListenerMinPoolSize()
public int getListenerMaxQueueSize()
public long getListenerMaxIdle()
public boolean isReliableIndicationEnabled()
true
if reliable indication support is enabled,
false
otherwisepublic long getListenerDeliveryRetryAttempts()
public long getListenerDeliveryRetryInterval()
public int getReliableIndicationHashtableCapacity()
public java.lang.String getListenerIndicationTraceFilter()
public boolean getListenerAddSenderIPAddress()
true
if sender IP property should be added to
indications, false
otherwisepublic boolean verifyJavaLangDoubleStrings()
java.lang.Double
constructor or its parseDouble
method won't hang the JVM in an infinite loop.true
if the client will attempt to verify strings
passed to Double
, false
otherwiseCopyright © 2005, 2012 IBM Corporation. All Rights Reserved.