|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.wbem.client.WBEMClientFactory
public class WBEMClientFactory
The WBEMClientFactory class is a factory that will supply a WBEMClient implementation for a specific protocol. An example of how to use the factory is included below.
...
CIMClient cc = null;
try {
cc = WBEMClientFactory.getClient(WBEMClientConstants.PROTOCOL_CIMXML);
} catch (Exception e) {
System.out.println("Received error when trying to retrieve client handle");
System.exit(-1);
}
cc.initialize(cns, s, null);
| Constructor Summary | |
|---|---|
WBEMClientFactory()
Not used currently. |
|
| Method Summary | |
|---|---|
static WBEMClient |
getClient(java.lang.String pProtocol)
Get a WBEMClient for a protocol. |
static java.lang.String[] |
getSupportedProtocols()
Get the names of the supported protocols. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WBEMClientFactory()
| Method Detail |
|---|
public static WBEMClient getClient(java.lang.String pProtocol)
pProtocol - The protocol name (e.g. "CIM-XML")
java.lang.IllegalArgumentException - - public static java.lang.String[] getSupportedProtocols()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||