#include <OW_NameSpaceProvider.hpp>
Inheritance diagram for OW_NAMESPACE::NameSpaceProvider:
Definition at line 43 of file OW_NameSpaceProvider.hpp.
|
Definition at line 46 of file OW_NameSpaceProvider.hpp. |
|
Definition at line 103 of file OW_NameSpaceProvider.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 326 of file OW_NameSpaceProvider.cpp. References OW_NAMESPACE::COMPONENT_NAME, env, OW_NAMESPACE::CIMValue::get(), OW_NAMESPACE::CIMInstance::getProperty(), OW_NAMESPACE::CIMProperty::getValue(), OW_NAMESPACE::String::indexOf(), OW_NAMESPACE::CIMException::INVALID_NAMESPACE, OW_NAMESPACE::CIMProperty::NAME_PROPERTY, ns, OW_LOG_DEBUG, OW_THROWCIMMSG, and OW_NAMESPACE::String::substring(). |
|
This method deletes the instance specified in the object path.
Implements OW_NAMESPACE::CppInstanceProviderIFC. Definition at line 140 of file OW_NameSpaceProvider.cpp. References cop, OW_NAMESPACE::CIMObjectPath::getKeys(), OW_NAMESPACE::CIMException::INVALID_NAMESPACE, OW_THROWCIMMSG, and OW_NAMESPACE::Array< T >::size(). |
|
This method enumerates all names of instances of the class which is specified in cop.
Implements OW_NAMESPACE::CppInstanceProviderIFC. Definition at line 202 of file OW_NameSpaceProvider.cpp. References cimClass, className, OW_NAMESPACE::WBEMFlags::E_EXCLUDE_CLASS_ORIGIN, OW_NAMESPACE::WBEMFlags::E_EXCLUDE_QUALIFIERS, OW_NAMESPACE::WBEMFlags::E_NOT_LOCAL_ONLY, OW_NAMESPACE::WBEMFlags::E_SHALLOW, enumInstances(), env, handler, ns, and result. |
|
This method enumerates all instances of the class which is specified in className. The entire instances and not just the names are returned. If you don't override this method, the default implementation will be used which utilizes enumInstanceNames() and getInstance()
Reimplemented from OW_NAMESPACE::CppInstanceProviderIFC. Definition at line 255 of file OW_NameSpaceProvider.cpp. References cimClass, OW_NAMESPACE::enumNameSpace(), env, handler, ns, and result. Referenced by enumInstanceNames(), and getInstance(). |
|
This method retrieves the instance specified in the object path.
Implements OW_NAMESPACE::CppInstanceProviderIFC. Definition at line 273 of file OW_NameSpaceProvider.cpp. References cimClass, OW_NAMESPACE::CIMNULL, OW_NAMESPACE::WBEMFlags::E_EXCLUDE_CLASS_ORIGIN, OW_NAMESPACE::WBEMFlags::E_EXCLUDE_QUALIFIERS, OW_NAMESPACE::WBEMFlags::E_NOT_LOCAL_ONLY, OW_NAMESPACE::WBEMFlags::E_SHALLOW, enumInstances(), env, OW_NAMESPACE::CIMValue::get(), OW_NAMESPACE::CIMObjectPath::getClassName(), OW_NAMESPACE::CIMObjectPath::getKey(), OW_NAMESPACE::CIMValue::getType(), OW_NAMESPACE::CIMProperty::getValue(), handler, OW_NAMESPACE::CIMProperty::NAME_PROPERTY, ns, and OW_NAMESPACE::CIMDataType::STRING. |
|
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 371 of file OW_NameSpaceProvider.cpp. References OW_NAMESPACE::ProviderInfoBase< ClassInfoT >::addInstrumentedClass(). |
|
Called by the CIMOM when the provider is initialized.
Reimplemented from OW_NAMESPACE::CppProviderBaseIFC. Definition at line 365 of file OW_NameSpaceProvider.cpp. References OW_NAMESPACE::COMPONENT_NAME, env, and OW_LOG_DEBUG. |
|
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 351 of file OW_NameSpaceProvider.cpp. References OW_NAMESPACE::CIMException::FAILED, and OW_THROWCIMMSG. |