public interface WBEMClientSBLIM extends WBEMClient
WBEMClient| Modifier and Type | Method and Description |
|---|---|
CloseableIterator<CIMObjectPath> |
enumerateNamespaces(java.lang.String pNamespace)
Enumerate the names of the instances of CIM namespaces.
|
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.
|
boolean |
isActive()
Returns an indication of whether the client is active (initialized and
not closed) or inactive (not initialized or closed).
|
boolean |
sendIndication(java.net.URI pRecipient,
CIMInstance pIndication)
Sends the indication to the specified recipient.
|
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, 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, setLocales, setQualifierTypevoid 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.nullSystem.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 WBEMClientpKey - The name of the configuration propertyWBEMConfigurationPropertiesvoid 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 WBEMClientpKey - 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().nullSystem.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 socketsCloseableIterator<CIMObjectPath> enumerateNamespaces(java.lang.String pNamespace) throws WBEMException
pNamespace - The Interop Namespace, if known. If null, the default Interop
Namespace names defined by DSP1033 are used.CloseableIterator of CIMObjectPaths.WBEMException - If unsuccessful, one of the following status codes must be
returned. The ORDERED list is:
CIM_ERR_FAILED (some other unspecified error occurred)
boolean isActive()
true if client is active, false
otherwise.boolean sendIndication(java.net.URI pRecipient,
CIMInstance pIndication)
throws WBEMException
pRecipient - URI of indication recipient.pIndication - Indication.true if indication received successfully,
false otherwise.WBEMException - If unsuccessful, one of the following status codes must be
returned. The ORDERED list is:
CIM_ERR_INVALID_PARAMETER (including missing, duplicate, unrecognized
or otherwise incorrect parameters)
CIM_ERR_FAILED (some other unspecified error occurred)
Copyright © 2005, 2013 IBM Corporation. All Rights Reserved.