javax.wbem.client
public class WBEMClientFactory extends Object
... 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 and Description |
---|
WBEMClientFactory()
Not used currently.
|
Modifier and Type | Method and Description |
---|---|
static WBEMClient |
getClient(String pProtocol)
Get a WBEMClient for a protocol.
|
static String[] |
getSupportedProtocols()
Get the names of the supported protocols.
|
public WBEMClientFactory()
public static WBEMClient getClient(String pProtocol)
pProtocol
- The protocol name (e.g. "CIM-XML")IllegalArgumentException
- - public static String[] getSupportedProtocols()
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.