|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sblim.cimclient.internal.util.WBEMConfiguration
public class WBEMConfiguration
Class WBEMConfigurationFile is responsible for initializing the the configuration properties from the configuration file.
Constructor Summary | |
---|---|
WBEMConfiguration(Properties pDomainProperties)
Ctor. |
Method Summary | |
---|---|
boolean |
allowEmptyLocalNameSpacePath()
Returns whether the client will allow empty LOCALNAMESPACEPATH elements in incoming CIM-XML responses. |
static String |
getActiveConfigFullURL()
Returns the full URL of the active configuration file. |
static String |
getActiveConfigURL()
Returns the URL of the active configuration file. |
String |
getCimXmlEmbObjBuilder()
getCimXmlEmbObjBuilder |
String |
getCimXmlParser()
Return the XML parser to use for processing operation responses |
String |
getCimXmlTraceStream()
Returns the CIM-XML trace stream to be used if application does not set one of its own |
static Exception |
getConfigurationLoadException()
Returns the exception caught during configuration load, load failed. |
SocketFactory |
getCustomSocketFactory()
Returns the custom socket factory |
String |
getDefaultCredentials()
getDefaultCredentials |
String |
getDefaultPrincipal()
getDefaultPrincipal |
Properties |
getDomainProperties()
Returns the domain properties |
String |
getDomainProperty(String pKey)
Returns a value from the domain properties for a given name |
static WBEMConfiguration |
getGlobalConfiguration()
Returns the global configuration |
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 |
String |
getHttpVersion()
Returns the http version to use |
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 |
getListenerHttpHeaderTimeout()
Returns the http header timeout for indication connection handlers |
int |
getListenerHttpTimeout()
Returns the http timeout for indication connection handlers |
String |
getListenerIndicationTraceFilter()
Returns the filter to use for tracing of incoming indications at the FINE level |
int |
getListenerMaxAllowedTimeouts()
Returns the maximum allowed http timeouts before IP is blocked |
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 |
getListenerMaxQueuedEvents()
Returns the maximal queue size for indications awaiting delivery |
int |
getListenerMaxQueueSize()
Returns the maximal queue size for pending indication connections |
int |
getListenerMinPoolSize()
Returns the minimal pool size for indication connection handlers |
Properties |
getLocalProperties()
Returns the properties local to the current thread |
String |
getLocalProperty(String pKey)
Returns a value from the local properties for a given name |
Level |
getLogConsoleLevel()
Returns the console log level |
String |
getLogConsoleType()
Returns the console log type |
int |
getLogFileCount()
Returns the log file count |
Level |
getLogFileLevel()
Returns the log file level |
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 |
int |
getSocketIdleTimeout()
Returns the socket idle timeout |
String |
getSslClientCipherSuitesToDisable()
Returns the comma-separated list of cipher suites to be disabled by client. |
boolean |
getSslClientPeerVerification()
Returns whether the client will attempt to authenticate the CIMOM |
String |
getSslClientProtocol()
getSslClientProtocol |
String |
getSslKeyManagerAlgorithm()
Returns the certificate algorithm the key manager will use |
String |
getSslKeyStorePassword()
Returns the password of the keystore. |
String |
getSslKeyStorePath()
Returns the file path of the keystore. |
String |
getSslKeyStoreType()
Returns the type of the keystore. |
String |
getSslListenerCipherSuitesToDisable()
Returns the comma-separated list of cipher suites to be disabled by listener. |
String |
getSslListenerPeerVerification()
Returns how the listener will handle to authentication of the indication sender endpoint. |
String |
getSslListenerProtocol()
getSslListenerProtocol |
String |
getSslProtocol()
getSslProtocol |
String |
getSslServerSocketProvider()
Returns the JSSE provider to use for creating ssl server sockets |
String |
getSslSocketProvider()
Returns the JSSE provider to use for creating ssl client sockets |
String |
getSslTrustManagerAlgorithm()
Returns the certificate algorithm the trust manager will use |
String |
getSslTrustStorePassword()
Returns the password of the truststore. |
String |
getSslTrustStorePath()
Returns the file path of the truststore. |
String |
getSslTrustStoreType()
Returns the type of the truststore. |
int |
getTraceFileCount()
Returns the trace file count |
Level |
getTraceFileLevel()
Returns the trace file level |
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 |
isGzipEncodingEnabled()
Returns the state of gzip encoding enablement. |
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(SocketFactory pFactory)
Sets a custom socket factory. |
void |
setDomainProperties(Properties pDomainProperties)
Sets the domain properties |
void |
setDomainProperty(String pKey,
String pValue)
Sets a property value of the domain properties |
void |
setLocalProperties(Properties pLocalProperties)
Sets the properties local to the current thread |
void |
setLocalProperty(String pKey,
String pValue)
Sets a property value of the local properties |
boolean |
socketConnectWithTimeout()
socketConnectWithTimeout |
boolean |
strictEmbObjTypes()
strictEmbObjTypes |
boolean |
synchronizedSslHandshake()
synchronizedSslHandshake |
boolean |
synchronizeNumericKeyDataTypes()
Returns whether the client will synchronize the data types of all numeric keys in a CIMInstance 's CIMObjectPath match
those of the corresponding keys within the CIMInstance 's
CIMProperty[] . |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WBEMConfiguration(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.
NullPointerException
- If pDomainProperties is null
Method Detail |
---|
public static void loadGlobalConfiguration()
public static String getActiveConfigURL()
public static String getActiveConfigFullURL()
public static boolean isConfigurationLoadSuccessful()
true
if the configuration was successfully loaded
from the configuration file, false
otherwisepublic static WBEMConfiguration getGlobalConfiguration()
public static Exception getConfigurationLoadException()
null
if none was caught.public boolean isGlobal()
true
if this is the global configurationpublic Properties getDomainProperties()
public void setDomainProperties(Properties pDomainProperties)
pDomainProperties
- The new valuepublic String getDomainProperty(String pKey)
pKey
- The name of the property
public void setDomainProperty(String pKey, String pValue)
pKey
- The name of propertypValue
- The new valuepublic Properties getLocalProperties()
public void setLocalProperties(Properties pLocalProperties)
pLocalProperties
- The new valuepublic String getLocalProperty(String pKey)
pKey
- The name of the property
public void setLocalProperty(String pKey, String pValue)
pKey
- The name of propertypValue
- The new valuepublic void setCustomSocketFactory(SocketFactory pFactory)
pFactory
- The factorypublic SocketFactory getCustomSocketFactory()
null
otherwisepublic Level getLogConsoleLevel()
public String getLogConsoleType()
public Level getLogFileLevel()
public String getLogFileLocation()
public int getLogFileCount()
public int getLogFileSizeLimit()
public Level getTraceFileLevel()
public String getTraceFileLocation()
public int getTraceFileCount()
public int getTraceFileSizeLimit()
public int getHttpTimeout()
public int getHttpPoolSize()
public String getHttpAuthenticationModule()
public String getHttpWwwAuthenticateInfo()
public boolean isHttpMPost()
true
if MPOST is enabled, false
otherwisepublic boolean isHttpChunked()
true
if chunking is enabled, false
otherwisepublic String getHttpVersion()
public String getSslKeyStorePath()
public String getSslKeyStoreType()
public String getSslKeyStorePassword()
public String getSslTrustStorePath()
public String getSslTrustStoreType()
public String getSslTrustStorePassword()
public String getSslSocketProvider()
public String getSslServerSocketProvider()
public String getSslProtocol()
public String getSslClientProtocol()
public String getSslListenerProtocol()
public String getSslKeyManagerAlgorithm()
public String getSslTrustManagerAlgorithm()
public boolean getSslClientPeerVerification()
true
if the client will attempt to authenticate the
CIMOM by verifying the server certificate false
otherwisepublic String getSslListenerPeerVerification()
public String getSslClientCipherSuitesToDisable()
public String getSslListenerCipherSuitesToDisable()
public int getHttpConnectRetriesCount()
public boolean isHttpContentLengthRetryEnabled()
true
if content length retry is enabled,
false
otherwisepublic int getHttpContentLengthThreshold()
public String getCimXmlParser()
public String getCimXmlEmbObjBuilder()
public boolean strictEmbObjTypes()
public boolean upperCaseEmbObjEntities()
public boolean performSslHandshake()
public boolean synchronizedSslHandshake()
public boolean socketConnectWithTimeout()
public int getSocketConnectTimeout()
public int getSocketIdleTimeout()
public boolean isDefaultAuthorizationEnabled()
public String getDefaultPrincipal()
public String getDefaultCredentials()
public boolean isCimXmlTracingEnabled()
true
if tracing is enabled, false
otherwisepublic String getCimXmlTraceStream()
public int getListenerBacklog()
public int getListenerHttpTimeout()
public int getListenerHttpHeaderTimeout()
public int getListenerMaxAllowedTimeouts()
public int getListenerMaxPoolSize()
public int getListenerMinPoolSize()
public int getListenerMaxQueueSize()
public long getListenerMaxIdle()
public int getListenerMaxQueuedEvents()
public boolean isReliableIndicationEnabled()
true
if reliable indication support is enabled,
false
otherwisepublic long getListenerDeliveryRetryAttempts()
public long getListenerDeliveryRetryInterval()
public int getReliableIndicationHashtableCapacity()
public 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
otherwisepublic boolean synchronizeNumericKeyDataTypes()
CIMInstance
's CIMObjectPath
match
those of the corresponding keys within the CIMInstance
's
CIMProperty[]
.
true
if the client will synchronize
CIMInstance
numeric key data types,
false
otherwisepublic boolean isGzipEncodingEnabled()
true
if gzip encoding is enabled, false
otherwisepublic boolean allowEmptyLocalNameSpacePath()
LOCALNAMESPACEPATH
elements in incoming CIM-XML responses.
true
if CIM-XML parser should allow empty
LOCALNAMESPACEPATH
elements in incoming responses,
false
otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |