public interface WBEMClientSBLIM extends WBEMClient
WBEMClient
Modifier and Type | Method and Description |
---|---|
javax.net.SocketFactory |
getCustomSocketFactory()
Gets the custom socket factory if one is set.
|
java.util.Properties |
getLocalProperties()
Returns the configuration properties that are local to the current
thread.
|
java.util.Properties |
getProperties()
Returns the client specific configuration properties.
|
java.lang.String |
getProperty(java.lang.String pKey)
Returns the effective value of a given configuration property.
|
void |
initialize(java.net.URI pUri,
javax.security.auth.Subject pSubject,
java.util.Locale[] pLocales)
Initialize the client connection.
|
void |
setCustomSocketFactory(javax.net.SocketFactory pFactory)
Sets a custom socket factory.
|
void |
setLocalProperties(java.util.Properties pProperties)
Sets the configuration properties that are local to the current thread.
|
void |
setLocalProperty(java.lang.String pKey,
java.lang.String pValue)
Sets a local configuration property for the current thread.
|
void |
setProperties(java.util.Properties pProperties)
Sets the client specific configuration properties.
|
void |
setProperty(java.lang.String pKey,
java.lang.String pValue)
Sets a client specific configuration property.
|
associatorClasses, associatorInstances, associatorNames, associatorPaths, associators, associators, close, closeEnumeration, createClass, createInstance, deleteClass, deleteInstance, deleteQualifierType, enumerateClasses, enumerateClassNames, enumerateInstanceNames, enumerateInstancePaths, enumerateInstances, enumerateInstances, enumerateQualifierTypes, enumerationCount, execQuery, execQueryInstances, getClass, getInstance, getInstancePaths, getInstances, getInstancesWithPath, getQualifierType, initialize, invokeMethod, modifyClass, modifyInstance, referenceClasses, referenceInstances, referenceNames, referencePaths, references, references, setLocales, setQualifierType
void initialize(java.net.URI pUri, javax.security.auth.Subject pSubject, java.util.Locale[] pLocales) throws java.lang.IllegalArgumentException, WBEMException
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.java.lang.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.java.util.Properties getProperties()
java.lang.System
class.null
System.getProperties()
void setProperties(java.util.Properties pProperties)
java.lang.System
class.pProperties
- The session specific properties. null
resets this
client to the global settings.System.setProperties(Properties)
java.lang.String getProperty(java.lang.String pKey)
WBEMConfigurationProperties
interface.getProperty
in interface WBEMClient
pKey
- The name of the configuration propertyWBEMConfigurationProperties
void setProperty(java.lang.String pKey, java.lang.String pValue)
java.lang.System
class. Valid property names can be found in the
WBEMConfigurationProperties
interface. Unknown properties
are ignored.setProperty
in interface WBEMClient
pKey
- The name of the configuration propertypValue
- The value of the configuration property. null
resets to the global setting.WBEMConfigurationProperties
,
System.setProperty(String, String)
java.util.Properties getLocalProperties()
java.lang.System
class, the client setting via
getProperties()
.null
System.getProperties()
,
getProperties()
void setLocalProperties(java.util.Properties pProperties)
java.lang.System
class, the
client setting via getProperties()
.pProperties
- The thread specific properties. null
remove the
local setting of the current thread.System.setProperties(Properties)
,
setProperties(Properties)
void setLocalProperty(java.lang.String pKey, java.lang.String pValue)
java.lang.System
class, the client setting via
getProperties()
. Valid property names can be found in the
WBEMConfigurationProperties
interface. Unknown properties
are ignored.pKey
- The name of the configuration propertypValue
- The value of the configuration property. null
resets to the global setting.WBEMConfigurationProperties
,
System.setProperty(String, String)
,
setProperty(String, String)
javax.net.SocketFactory getCustomSocketFactory()
null
indicates set the JRE default factory is used.void setCustomSocketFactory(javax.net.SocketFactory pFactory) throws java.lang.UnsupportedOperationException
pFactory
- The factory to use for socket creation. null
resets to the JRE default factory.java.lang.UnsupportedOperationException
- Some protocols might not communicate via TCP socketsCopyright © 2005, 2012 IBM Corporation. All Rights Reserved.