Class CIMClientXML
java.lang.Object
org.sblim.wbem.client.CIMClientXML
- All Implemented Interfaces:
CIMOMHandle
-
Constructor Summary
ConstructorsConstructorDescriptionCIMClientXML(CIMNameSpace pNamespace, Principal pPrincipal, Object pCredential, String pProtocol) CIMClientXML(CIMNameSpace pNamespace, Principal pPrincipal, Object pCredential, String pProtocol, SessionProperties pProperties) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCIMListener(CIMListener pListener) voidaddCIMListener(CIMListener pListener, String pId) associatorNames(CIMObjectPath pPath) associatorNames(CIMObjectPath pPath, String pAssociationClass, String pResultClass, String pRole, String pResultRole) associators(CIMObjectPath pPath, String pAssociationClass, String pResultClass, String pRole, String pResultRole, boolean pIncludeQualifiers, boolean pIncludeClassOrigin, String[] pPropertyList) voidclose()voidclose(boolean pKeepEnumerations) voidcreateClass(CIMObjectPath pPath, CIMClass pClass) createInstance(CIMObjectPath pObjectName, CIMInstance pInstance) voidcreateNameSpace(CIMNameSpace pNamespace) voidcreateQualifierType(CIMObjectPath pPath, CIMQualifierType pQualifierType) voiddeleteClass(CIMObjectPath pPath) voiddeleteInstance(CIMObjectPath pPath) voiddeleteNameSpace(CIMNameSpace pNamespace) voiddeleteQualifierType(CIMObjectPath pPath) enumerateClasses(CIMObjectPath pPath, boolean pDeep, boolean pLocalOnly, boolean pIncludeQualifiers, boolean pIncludeClassOrigin) enumerateClassNames(CIMObjectPath pObjectName, boolean pDeep) enumerateInstances(CIMObjectPath pPath, boolean pDeep, boolean pLocalOnly, boolean pIncludeQualifiers, boolean pIncludeClassOrigin, String[] pPropertyList) enumNameSpace(CIMObjectPath pPath, boolean pDeep) enumQualifierTypes(CIMObjectPath pPath) execQuery(CIMObjectPath pPath) execQuery(CIMObjectPath pPath, String pQuery, String pQueryLanguage) protected static ObjectfixResult(CIMObjectPath pRequest, Object pObject, CIMNameSpace pNameSpace) protected static VectorfixResultSet(CIMObjectPath pRequest, Vector pVector, CIMNameSpace pNameSpace) protected StringgetCharacterSet(HttpHeader pHeader) protected voidgetClass(CIMObjectPath pPath, boolean pLocalOnly, boolean pIncludeQualifiers, boolean pIncludeClassOrigin, String[] pPropertyList) getDocument(InputStreamReader pStream) getIndicationHandler(CIMListener pListener) getIndicationListener(CIMListener pListener) getInstance(CIMObjectPath pPath, boolean pLocalOnly, boolean pIncludeQualifiers, boolean pIncludeClassOrigin, String[] pPropertyList) getMultiResponse(InputStreamReader pStream) getProperty(CIMObjectPath pPath, String pPropertyName) getQualifierType(CIMObjectPath pPath) getQualifierType(CIMObjectPath pPath, String pQualifierType) voidinit(CIMNameSpace pNamespace, Principal pPrincipal, Object pCredential, String pProtocol, SessionProperties pProperties) invokeMethod(CIMObjectPath pObjectName, String pMethodName, Vector pInputArguments, Vector pOutputArguments) newConnection(String pCimMethod, HttpHeader pHeader) protected HttpHeaderparseHeaders(URLConnection pConnection) performBatchOperations(BatchHandle pBatchHandle) voidpreCheck(CIMNameSpace pNamespace) voidpreCheck(CIMObjectPath pPath) referenceNames(CIMObjectPath pPath) referenceNames(CIMObjectPath pPath, String pResultClass, String pRole) references(CIMObjectPath pPath) references(CIMObjectPath pPath, String pResultClass, String pRole, boolean pIncludeQualifiers, boolean pIncludeClassOrigin, String[] pPropertyList) voidremoveCIMListener(CIMListener pListener) voidsetClass(CIMObjectPath pPath, CIMClass pClass) voidsetInstance(CIMObjectPath pPath, CIMInstance pInstance, boolean pIncludeQualifiers, String[] pPropertyList) voidvoidsetProperty(CIMObjectPath pPath, String pPropertyName) voidsetProperty(CIMObjectPath pPath, String pPropertyName, CIMValue pValue) voidsetQualifierType(CIMObjectPath pPath, CIMQualifierType pQualifierType) voidsetSessionProperties(SessionProperties pProperties) transmitRequest(String pCimMethod, HttpHeader pHeader, Document pDocument) voiduseHttp11(boolean pValue) voiduseMPost(boolean pValue)
-
Constructor Details
-
CIMClientXML
public CIMClientXML(CIMNameSpace pNamespace, Principal pPrincipal, Object pCredential, String pProtocol) throws CIMException - Throws:
CIMException
-
CIMClientXML
public CIMClientXML(CIMNameSpace pNamespace, Principal pPrincipal, Object pCredential, String pProtocol, SessionProperties pProperties) throws CIMException - Throws:
CIMException
-
-
Method Details
-
init
public void init(CIMNameSpace pNamespace, Principal pPrincipal, Object pCredential, String pProtocol, SessionProperties pProperties) throws CIMException - Throws:
CIMException
-
getCIMOMCapabilities
protected void getCIMOMCapabilities() -
setLocale
- Specified by:
setLocalein interfaceCIMOMHandle
-
getLocale
- Specified by:
getLocalein interfaceCIMOMHandle
-
useHttp11
public void useHttp11(boolean pValue) - Specified by:
useHttp11in interfaceCIMOMHandle
-
useMPost
public void useMPost(boolean pValue) - Specified by:
useMPostin interfaceCIMOMHandle
-
preCheck
- Throws:
CIMException
-
preCheck
- Throws:
CIMException
-
getNameSpace
- Specified by:
getNameSpacein interfaceCIMOMHandle
-
associatorNames
- Specified by:
associatorNamesin interfaceCIMOMHandle- Throws:
CIMException
-
associatorNames
public Enumeration associatorNames(CIMObjectPath pPath, String pAssociationClass, String pResultClass, String pRole, String pResultRole) throws CIMException - Specified by:
associatorNamesin interfaceCIMOMHandle- Throws:
CIMException
-
associators
public Enumeration associators(CIMObjectPath pPath, String pAssociationClass, String pResultClass, String pRole, String pResultRole, boolean pIncludeQualifiers, boolean pIncludeClassOrigin, String[] pPropertyList) throws CIMException - Specified by:
associatorsin interfaceCIMOMHandle- Throws:
CIMException
-
deleteInstance
- Specified by:
deleteInstancein interfaceCIMOMHandle- Throws:
CIMException
-
enumerateInstanceNames
- Specified by:
enumerateInstanceNamesin interfaceCIMOMHandle- Throws:
CIMException
-
enumerateInstances
public Enumeration enumerateInstances(CIMObjectPath pPath, boolean pDeep, boolean pLocalOnly, boolean pIncludeQualifiers, boolean pIncludeClassOrigin, String[] pPropertyList) throws CIMException - Specified by:
enumerateInstancesin interfaceCIMOMHandle- Throws:
CIMException
-
getInstance
public CIMInstance getInstance(CIMObjectPath pPath, boolean pLocalOnly, boolean pIncludeQualifiers, boolean pIncludeClassOrigin, String[] pPropertyList) throws CIMException - Specified by:
getInstancein interfaceCIMOMHandle- Throws:
CIMException
-
getClass
public CIMClass getClass(CIMObjectPath pPath, boolean pLocalOnly, boolean pIncludeQualifiers, boolean pIncludeClassOrigin, String[] pPropertyList) throws CIMException - Specified by:
getClassin interfaceCIMOMHandle- Throws:
CIMException
-
createInstance
public CIMObjectPath createInstance(CIMObjectPath pObjectName, CIMInstance pInstance) throws CIMException - Specified by:
createInstancein interfaceCIMOMHandle- Throws:
CIMException
-
invokeMethod
public CIMValue invokeMethod(CIMObjectPath pObjectName, String pMethodName, Vector pInputArguments, Vector pOutputArguments) throws CIMException - Specified by:
invokeMethodin interfaceCIMOMHandle- Throws:
CIMException
-
createClass
- Specified by:
createClassin interfaceCIMOMHandle- Throws:
CIMException
-
createQualifierType
public void createQualifierType(CIMObjectPath pPath, CIMQualifierType pQualifierType) throws CIMException - Specified by:
createQualifierTypein interfaceCIMOMHandle- Throws:
CIMException
-
deleteClass
- Specified by:
deleteClassin interfaceCIMOMHandle- Throws:
CIMException
-
deleteQualifierType
- Specified by:
deleteQualifierTypein interfaceCIMOMHandle- Throws:
CIMException
-
enumerateClasses
public Enumeration enumerateClasses(CIMObjectPath pPath, boolean pDeep, boolean pLocalOnly, boolean pIncludeQualifiers, boolean pIncludeClassOrigin) throws CIMException - Specified by:
enumerateClassesin interfaceCIMOMHandle- Throws:
CIMException
-
enumerateClassNames
public Enumeration enumerateClassNames(CIMObjectPath pObjectName, boolean pDeep) throws CIMException - Specified by:
enumerateClassNamesin interfaceCIMOMHandle- Throws:
CIMException
-
execQuery
- Throws:
CIMException
-
getProperty
- Specified by:
getPropertyin interfaceCIMOMHandle- Throws:
CIMException
-
referenceNames
- Specified by:
referenceNamesin interfaceCIMOMHandle- Throws:
CIMException
-
referenceNames
public Enumeration referenceNames(CIMObjectPath pPath, String pResultClass, String pRole) throws CIMException - Specified by:
referenceNamesin interfaceCIMOMHandle- Throws:
CIMException
-
references
- Specified by:
referencesin interfaceCIMOMHandle- Throws:
CIMException
-
references
public Enumeration references(CIMObjectPath pPath, String pResultClass, String pRole, boolean pIncludeQualifiers, boolean pIncludeClassOrigin, String[] pPropertyList) throws CIMException - Specified by:
referencesin interfaceCIMOMHandle- Throws:
CIMException
-
setClass
- Specified by:
setClassin interfaceCIMOMHandle- Throws:
CIMException
-
setInstance
public void setInstance(CIMObjectPath pPath, CIMInstance pInstance, boolean pIncludeQualifiers, String[] pPropertyList) throws CIMException - Specified by:
setInstancein interfaceCIMOMHandle- Throws:
CIMException
-
setProperty
- Specified by:
setPropertyin interfaceCIMOMHandle- Throws:
CIMException
-
setProperty
public void setProperty(CIMObjectPath pPath, String pPropertyName, CIMValue pValue) throws CIMException - Specified by:
setPropertyin interfaceCIMOMHandle- Throws:
CIMException
-
setQualifierType
public void setQualifierType(CIMObjectPath pPath, CIMQualifierType pQualifierType) throws CIMException - Specified by:
setQualifierTypein interfaceCIMOMHandle- Throws:
CIMException
-
close
- Specified by:
closein interfaceCIMOMHandle- Throws:
CIMException
-
close
- Specified by:
closein interfaceCIMOMHandle- Throws:
CIMException
-
createNameSpace
- Specified by:
createNameSpacein interfaceCIMOMHandle- Throws:
CIMException
-
deleteNameSpace
- Specified by:
deleteNameSpacein interfaceCIMOMHandle- Throws:
CIMException
-
enumNameSpace
- Specified by:
enumNameSpacein interfaceCIMOMHandle- Throws:
CIMException
-
execQuery
public Enumeration execQuery(CIMObjectPath pPath, String pQuery, String pQueryLanguage) throws CIMException - Specified by:
execQueryin interfaceCIMOMHandle- Throws:
CIMException
-
getQualifierType
- Specified by:
getQualifierTypein interfaceCIMOMHandle- Throws:
CIMException
-
getQualifierType
public CIMQualifierType getQualifierType(CIMObjectPath pPath, String pQualifierType) throws CIMException - Throws:
CIMException
-
enumQualifierTypes
- Specified by:
enumQualifierTypesin interfaceCIMOMHandle- Throws:
CIMException
-
performBatchOperations
- Specified by:
performBatchOperationsin interfaceCIMOMHandle- Throws:
CIMException
-
addCIMListener
- Specified by:
addCIMListenerin interfaceCIMOMHandle- Throws:
CIMException
-
addCIMListener
- Throws:
CIMException
-
removeCIMListener
- Specified by:
removeCIMListenerin interfaceCIMOMHandle- Throws:
CIMException
-
getIndicationListener
- Specified by:
getIndicationListenerin interfaceCIMOMHandle- Throws:
CIMException
-
getIndicationHandler
- Specified by:
getIndicationHandlerin interfaceCIMOMHandle- Throws:
CIMException
-
newConnection
-
getMultiResponse
- Throws:
IOExceptionSAXException
-
getDocument
- Throws:
IOExceptionSAXException
-
transmitRequest
public InputStreamReader transmitRequest(String pCimMethod, HttpHeader pHeader, Document pDocument) throws CIMException, IOException, ProtocolException, SAXException -
getCharacterSet
-
parseHeaders
-
fixResultSet
protected static Vector fixResultSet(CIMObjectPath pRequest, Vector pVector, CIMNameSpace pNameSpace) -
fixResult
-
getSessionProperties
- Specified by:
getSessionPropertiesin interfaceCIMOMHandle
-
setSessionProperties
- Specified by:
setSessionPropertiesin interfaceCIMOMHandle
-