org.sblim.cimclient
public interface WBEMClientSBLIM extends WBEMClient
Method Summary | |
---|---|
SocketFactory | getCustomSocketFactory()
Gets the custom socket factory if one is set. |
Properties | getLocalProperties()
Returns the configuration properties that are local to the current
thread. |
Properties | getProperties()
Returns the client specific configuration properties. |
String | getProperty(String pKey)
Returns the effective value of a given configuration property. |
void | initialize(URI pUri, Subject pSubject, Locale[] pLocales)
Initialize the client connection. |
void | setCustomSocketFactory(SocketFactory pFactory)
Sets a custom socket factory. |
void | setLocalProperties(Properties pProperties)
Sets the configuration properties that are local to the current thread.
|
void | setLocalProperty(String pKey, String pValue)
Sets a local configuration property for the current thread. |
void | setProperties(Properties pProperties)
Sets the client specific configuration properties. |
void | setProperty(String pKey, String pValue)
Sets a client specific configuration property. |
Returns: The custom factory used for socket creation. null
indicates set the JRE default factory is used.
java.lang.System
class, the client setting via
getProperties()
.null
Returns: The configuration properties
See Also: System#getProperties() getProperties
java.lang.System
class.null
Returns: The configuration properties
See Also: System#getProperties()
WBEMConfigurationProperties
interface.
Parameters: pKey The name of the configuration property
Returns: The value of the given configuration property
See Also: WBEMConfigurationProperties
Parameters: pUri The protocol and host to use. Any other fields will be ignored. pSubject The principal/credential pairs for this connection. pLocales An array of locales in order of priority of preference.
Throws: IllegalArgumentException If the host or scheme portion of the object path is null, or if the protocol is not supported. WBEMException If the protocol adapter or security cannot be initialized.
Parameters: pFactory
The factory to use for socket creation. null
resets to the JRE default factory.
Throws: UnsupportedOperationException Some protocols might not communicate via TCP sockets
java.lang.System
class, the
client setting via getProperties()
.
Parameters: pProperties
The thread specific properties. null
remove the
local setting of the current thread.
See Also: System#setProperties(Properties) setProperties
java.lang.System
class, the client setting via
getProperties()
. Valid property names can be found in the
WBEMConfigurationProperties
interface. Unknown properties
are ignored.
Parameters: pKey
The name of the configuration property pValue
The value of the configuration property. null
resets to the global setting.
See Also: WBEMConfigurationProperties System#setProperty(String, String) WBEMClientSBLIM
java.lang.System
class.
Parameters: pProperties
The session specific properties. null
resets this
client to the global settings.
See Also: System#setProperties(Properties)
java.lang.System
class. Valid property names can be found in the
WBEMConfigurationProperties
interface. Unknown properties
are ignored.
Parameters: pKey
The name of the configuration property pValue
The value of the configuration property. null
resets to the global setting.
See Also: WBEMConfigurationProperties System#setProperty(String, String)