⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cimomhandle.java

📁 Pegasus is an open-source implementationof the DMTF CIM and WBEM standards. It is designed to be por
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
        throws CIMException   {      long ciInstance = 0;      if (cInst != 0)      {         ciInstance = _getInstance (cInst,                                    path.cInst (),                                    localOnly,                                    includeQualifiers,                                    includeClassOrigin,                                    propertyList);      }      if (ciInstance != 0)      {         return new CIMInstance (ciInstance);      }      else      {         return null;      }   }   public void deleteInstance (CIMObjectPath cop)        throws CIMException   {      if (cInst != 0)      {         _deleteInstance (cInst,                          cop.cInst());      }   }   public CIMObjectPath createInstance (CIMObjectPath path,                                        CIMInstance   ci)        throws CIMException   {      long ciObjectPath = 0;      if (cInst != 0)      {         ciObjectPath = _createInstance (cInst,                                         path.cInst (),                                         ci.cInst ());      }      if (ciObjectPath != 0)      {         return new CIMObjectPath (ciObjectPath);      }      else      {         return null;      }   }   public void setInstance (CIMObjectPath path,                            CIMInstance   ci)        throws CIMException   {      modifyInstance(path,                     ci,                     true,                     (String[])null);   }   public void modifyInstance (CIMObjectPath path,                               CIMInstance   modifiedInstance,                               boolean       includeQualifiers,                               String[]      propertyList)        throws CIMException   {      if (cInst != 0)      {         _modifyInstance (cInst,                          path.cInst (),                          modifiedInstance.cInst (),                          includeQualifiers,                          propertyList);      }   }   public Enumeration enumInstances (CIMObjectPath path,                                     boolean       deep)        throws CIMException   {      long ciEnumeration = 0;      if (cInst != 0)      {         ciEnumeration = _enumerateInstanceNames (cInst,                                                  path.cInst (),                                                  deep);      }      if (ciEnumeration != 0)      {         return new PathEnumeration (ciEnumeration);      }      else      {         return null;      }   }   public Enumeration enumerateInstanceNames (CIMObjectPath path)        throws CIMException   {       return enumInstances(path,                            true);   }   public Enumeration enumInstances (CIMObjectPath cop,                                     boolean       deep,                                     boolean       localOnly)         throws CIMException   {      return enumerateInstances(cop,                                deep,                                localOnly,                                true,                                true,                                (String[])null);   }   public Enumeration enumerateInstances (CIMObjectPath path,                                          boolean       deepInheritance,                                          boolean       localOnly,                                          boolean       includeQualifiers,                                          boolean       includeClassOrigin,                                          String[]      propertyList)        throws CIMException   {      long ciEnumeration = 0;      if (cInst != 0)      {         ciEnumeration = _enumerateInstances (cInst,                                              path.cInst (),                                              deepInheritance,                                              localOnly,                                              includeQualifiers,                                              includeClassOrigin,                                              propertyList);      }      if (ciEnumeration != 0)      {         return new InstEnumeration (ciEnumeration);      }      else      {         return null;      }   }   public Enumeration execQuery (CIMObjectPath path,                                 String        query,                                 String        ql)        throws CIMException   {      long ciEnumeration = 0;      if (cInst != 0)      {         ciEnumeration = _execQuery (cInst,                                     path.cInst (),                                     query,                                     ql);      }      if (ciEnumeration != 0)      {         return new InstEnumeration (ciEnumeration);      }      else      {         return null;      }   }   public CIMValue getProperty (CIMObjectPath path,                                String        propertyName)        throws CIMException   {      long ciValue = 0;      if (cInst != 0)      {         ciValue = _getProperty (cInst,                                 path.cInst (),                                 propertyName);      }      if (ciValue != 0)      {         return new CIMValue (ciValue);      }      else      {         return null;      }   }   public void setProperty (CIMObjectPath path,                            String        propertyName,                            CIMValue      newValue)        throws CIMException   {      if (cInst != 0)      {         _setProperty (cInst,                       path.cInst (),                       propertyName,                       newValue.cInst ());      }   }   public Enumeration associatorNames (CIMObjectPath path,                                       String        assocClass,                                       String        resultClass,                                       String        role,                                       String        resultRole)        throws CIMException   {      long ciEnumeration = 0;      if (cInst != 0)      {         ciEnumeration = _associatorNames (cInst,                                           path.cInst (),                                           assocClass,                                           resultClass,                                           role,                                           resultRole);      }      if (ciEnumeration != 0)      {         return new PathEnumeration (ciEnumeration);      }      else      {         return null;      }   }   public Enumeration associators(CIMObjectPath path,                                  String        assocClass,                                  String        resultClass,                                  String        role,                                  String        resultRole,                                  boolean       includeQualifiers,                                  boolean       includeClassOrigin,                                  String[]      propertyList)          throws CIMException   {      long ciEnumeration = 0;      if (cInst != 0)      {         ciEnumeration = _associators (cInst,                                       path.cInst (),                                       assocClass,                                       resultClass,                                       role,                                       resultRole,                                       includeQualifiers,                                       includeClassOrigin,                                       propertyList);      }      if (ciEnumeration != 0)      {         return new InstEnumeration (ciEnumeration);      }      else      {         return null;      }   }   public Enumeration referenceNames (CIMObjectPath path,                                      String        resultClass,                                      String        role)        throws CIMException   {      long ciEnumeration = 0;      if (cInst != 0)      {         ciEnumeration = _referenceNames (cInst,                                          path.cInst (),                                          resultClass,                                          role);      }      if (ciEnumeration != 0)      {         return new PathEnumeration (ciEnumeration);      }      else      {         return null;      }   }   public Enumeration references (CIMObjectPath path,                                  String        resultClass,                                  String        role,                                  boolean       includeQualifiers,                                  boolean       includeClassOrigin,                                  String[]      propertyList)        throws CIMException   {      long ciEnumeration = 0;      if (cInst != 0)      {         ciEnumeration = _references (cInst,                                      path.cInst (),                                      resultClass,                                      role,                                      includeQualifiers,                                      includeClassOrigin,                                      propertyList);      }      if (ciEnumeration != 0)      {         return new InstEnumeration (ciEnumeration);      }      else      {         return null;      }   }   public CIMValue invokeMethod (CIMObjectPath path,                                 String        methodName,                                 Vector        inParams,                                 Vector        outParams)        throws CIMException   {      long ciValue = 0;      if (cInst != 0)      {         ciValue = _invokeMethod (cInst,                                  path.cInst (),                                  methodName,                                  inParams,                                  outParams);      }      if (ciValue != 0)      {         return new CIMValue (ciValue);      }      else      {         return null;      }   }   public CIMValue invokeMethod (CIMObjectPath path,                                 String        methodName,                                 CIMArgument[] inParams,                                 CIMArgument[] outParams)        throws CIMException   {      throw new CIMException(CIMException.CIM_ERR_NOT_SUPPORTED);      // return new CIMValue(_invokeMethod24(cInst,cNsInst,path.cInst (),methodName,inParams,outParams));   }   public void deliverEvent (String      ns,                             CIMInstance ind)        throws CIMException   {      if (cInst != 0)      {         _deliverEvent (cInst,                        providerName,                        ns,                        ind.cInst ());      }   }   static {      System.loadLibrary("JMPIProviderManager");   }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -