Public Member Functions | |
virtual | ~CIM_NamespaceInstProv () |
virtual void | getInstanceProviderInfo (InstanceProviderInfo &info) |
A provider should override this method to report which classes in which namespaces it instruments. | |
virtual void | doSimpleEnumInstances (const ProviderEnvironmentIFCRef &env, const String &ns, const CIMClass &cimClass, CIMInstanceResultHandlerIFC &result, EPropertiesFlag propertiesFlag) |
virtual CIMObjectPath | createInstance (const ProviderEnvironmentIFCRef &env, const String &ns, const CIMInstance &cimInstance) |
This method creates the instance specified in the object path. | |
virtual void | modifyInstance (const ProviderEnvironmentIFCRef &env, const String &ns, const CIMInstance &modifiedInstance, const CIMInstance &previousInstance, EIncludeQualifiersFlag includeQualifiers, const StringArray *propertyList, const CIMClass &theClass) |
This method sets the instance specified in the object path. | |
virtual void | deleteInstance (const ProviderEnvironmentIFCRef &env, const String &ns, const CIMObjectPath &cop) |
This method deletes the instance specified in the object path. |
Definition at line 101 of file OW_provinstCIM_Namespace.cpp.
|
Definition at line 105 of file OW_provinstCIM_Namespace.cpp. |
|
This method creates the instance specified in the object path. If the instance does exist an CIMException with ID CIM_ERR_ALREADY_EXISTS must be thrown. The parameter should be the instance name.
Implements OW_NAMESPACE::CppInstanceProviderIFC. Definition at line 153 of file OW_provinstCIM_Namespace.cpp. References OW_NAMESPACE::COMPONENT_NAME, OW_NAMESPACE::CIMRepository2::createNameSpace(), env, OW_NAMESPACE::CIMException::FAILED, OW_NAMESPACE::CIMInstance::getPropertyT(), OW_NAMESPACE::CIMProperty::getValueT(), OW_NAMESPACE::CIMException::INVALID_PARAMETER, name, ns, OW_LOG_DEBUG, OW_THROWCIM_SUBEX, OW_THROWCIMMSG, rep, and OW_NAMESPACE::CIMValue::toString(). |
|
This method deletes the instance specified in the object path.
Implements OW_NAMESPACE::CppInstanceProviderIFC. Definition at line 194 of file OW_provinstCIM_Namespace.cpp. References OW_NAMESPACE::COMPONENT_NAME, cop, OW_NAMESPACE::CIMRepository2::deleteNameSpace(), OW_NAMESPACE::WBEMFlags::E_SHALLOW, OW_NAMESPACE::CIMRepository2::enumClassNames(), env, OW_NAMESPACE::CIMException::FAILED, OW_NAMESPACE::CIMObjectPath::getKeyT(), OW_NAMESPACE::CIMProperty::getValueT(), handler, name, OW_LOG_DEBUG, OW_THROWCIM_SUBEX, OW_THROWCIMMSG, rep, and OW_NAMESPACE::CIMValue::toString(). |
|
Definition at line 115 of file OW_provinstCIM_Namespace.cpp. References OW_NAMESPACE::COMPONENT_NAME, env, hdl, ns, OW_NAMESPACE::Enumeration< T >::numberOfElements(), and OW_LOG_DEBUG. |
|
A provider should override this method to report which classes in which namespaces it instruments. It should insert an entry for each class it is responsible for. The entry consists of the class name and an optional list of namespaces. If the namespace list is empty, all namespaces are implied. If the method does nothing, then the provider's class must have a provider qualifier that identifies the provider. This old behavior is deprecated and will be removed sometime in the future. This method has a default implementation that does nothing, to allow old providers to be migrated forward with little or no change, but once the old provider location method is removed, this member function will be pure virtual. Reimplemented from OW_NAMESPACE::CppInstanceProviderIFC. Definition at line 109 of file OW_provinstCIM_Namespace.cpp. References OW_NAMESPACE::ProviderInfoBase< ClassInfoT >::addInstrumentedClass(). |
|
This method sets the instance specified in the object path. If the instance does not exist an CIMException with ID CIM_ERR_NOT_FOUND must be thrown. The parameter should be the instance name.
Implements OW_NAMESPACE::CppInstanceProviderIFC. Definition at line 180 of file OW_provinstCIM_Namespace.cpp. |