public class CIMClientFactory
extends java.lang.Object
Constructor and Description |
---|
CIMClientFactory() |
Modifier and Type | Method and Description |
---|---|
static CIMOMHandle |
getClient(CIMNameSpace pNameSpace,
java.security.Principal pPrincipal,
java.lang.Object pCredential,
java.lang.String pProtocol)
Deprecated.
Use getClient(CIMNameSpace, Principal, Object, String,
SessionProperties) instead
|
static CIMOMHandle |
getClient(CIMNameSpace pNameSpace,
java.security.Principal pPrincipal,
java.lang.Object pCredential,
java.lang.String pProtocol,
SessionProperties pProperties)
Constructs a
CIMOMHandle with connection information to a
target CIM server and a default namespace, using the specified principal,
credential, protocol and session properties. |
public static CIMOMHandle getClient(CIMNameSpace pNameSpace, java.security.Principal pPrincipal, java.lang.Object pCredential, java.lang.String pProtocol, SessionProperties pProperties) throws CIMException
CIMOMHandle
with connection information to a
target CIM server and a default namespace, using the specified principal,
credential, protocol and session properties.pNameSpace
- Namespace identifying target CIM server and default CIM
namespace name. Must not be null. The host and port attributes
identify the target CIM server to connect to. Must be valid.
The namespace attribute identifies the default namespace name
to be used if object paths in subsequent method invocations do
not provide a namespace name. Must be valid.pPrincipal
- Principal (e.g. userid) used to log on to the CIM Server. Must
not be null.pCredential
- Credential (e.g. password) used to log on to the CIM Server.
Must not be null.pProtocol
- Identifier for the CIM client protocol to be used. Must be
valid. Valid identifiers are the following constants:
CIM_XML
- CIM Operations over
HTTPCIMOMHandle
.pProperties
- The session properties to be used. Might be either the global
properties or a connection specific properties instance. If
null
the global properties are used.CIMException
- with one of these CIM status codes:
CIMClient.CIMClient(CIMNameSpace, Principal, Object, String,
SessionProperties)
public static CIMOMHandle getClient(CIMNameSpace pNameSpace, java.security.Principal pPrincipal, java.lang.Object pCredential, java.lang.String pProtocol) throws CIMException
CIMOMHandle
with connection information to a
target CIM server and a default namespace, using the specified principal,
credential and protocol. The global SessionPropeties
are
applied.pNameSpace
- Namespace identifying target CIM server and default CIM
namespace name. Must not be null. The host and port attributes
identify the target CIM server to connect to. Must be valid.
The namespace attribute identifies the default namespace name
to be used if object paths in subsequent method invocations do
not provide a namespace name. Must be valid.pPrincipal
- Principal (e.g. userid) used to log on to the CIM Server. Must
not be null.pCredential
- Credential (e.g. password) used to log on to the CIM Server.
Must not be null.pProtocol
- Identifier for the CIM client protocol to be used. Must be
valid. Valid identifiers are the following constants:
CIM_XML
- CIM Operations over
HTTPCIMOMHandle
.CIMException
- with one of these CIM status codes:
getClient(CIMNameSpace, Principal, Object, String,
SessionProperties)
Copyright © 2005, 2011 IBM Corporation. All Rights Reserved.