Public Member Functions | |
OpenWBEM_ObjectManagerInstProv () | |
virtual void | getInstanceProviderInfo (InstanceProviderInfo &info) |
A provider should override this method to report which classes in which namespaces it instruments. | |
virtual void | getAssociatorProviderInfo (AssociatorProviderInfo &info) |
A provider should override this method to report which classes in which namespaces it instruments. | |
virtual void | getIndicationProviderInfo (IndicationProviderInfo &info) |
A provider should override this method to report which classes in which namespaces it instruments. | |
void | activateFilter (const ProviderEnvironmentIFCRef &env, const WQLSelectStatement &filter, const String &eventType, const String &nameSpace, const StringArray &classes, bool firstActivation) |
void | deActivateFilter (const ProviderEnvironmentIFCRef &env, const WQLSelectStatement &filter, const String &eventType, const String &nameSpace, const StringArray &classes, bool lastActivation) |
virtual void | initialize (const ProviderEnvironmentIFCRef &env) |
Called by the CIMOM when the provider is initialized. | |
virtual void | shuttingDown (const ProviderEnvironmentIFCRef &env) |
Called by the CIMOM just before it starts shutting down services. | |
void | doSimpleEnumInstances (const ProviderEnvironmentIFCRef &env, const String &ns, const CIMClass &cimClass, CIMInstanceResultHandlerIFC &result, EPropertiesFlag propertiesFlag) |
void | doReferences (const ProviderEnvironmentIFCRef &env, CIMInstanceResultHandlerIFC &result, const String &ns, const CIMObjectPath &objectName, const CIMClass &assocClass, const String &resultClass, const String &role, const String &resultRole) |
This method is invoked in order to do the Associators, AssociatorNames, References, and ReferenceNames operation as defined by the CIM operations over HTTP spec at http://www.dmtf.org/download/spec/xmls/CIM_HTTP_Mapping10.htm#SecAssociators This operation is used to enumerate CIM Instances of a particular Association class. | |
Static Public Member Functions | |
static CIMInstance | createTheInstance (const ProviderEnvironmentIFCRef &env, const String &omName) |
Private Attributes | |
CIMInstance | m_inst |
bool | m_haveSubscriptions |
Definition at line 62 of file OW_provinstOpenWBEM_ObjectManager.cpp.
|
Definition at line 77 of file OW_provinstOpenWBEM_ObjectManager.cpp. |
|
Reimplemented from OW_NAMESPACE::CppIndicationProviderIFC. Definition at line 135 of file OW_provinstOpenWBEM_ObjectManager.cpp. |
|
|
Reimplemented from OW_NAMESPACE::CppIndicationProviderIFC. Definition at line 147 of file OW_provinstOpenWBEM_ObjectManager.cpp. |
|
This method is invoked in order to do the Associators, AssociatorNames, References, and ReferenceNames operation as defined by the CIM operations over HTTP spec at http://www.dmtf.org/download/spec/xmls/CIM_HTTP_Mapping10.htm#SecAssociators This operation is used to enumerate CIM Instances of a particular Association class.
Implements OW_NAMESPACE::CppSimpleAssociatorProviderIFC. Definition at line 311 of file OW_provinstOpenWBEM_ObjectManager.cpp. |
|
Definition at line 283 of file OW_provinstOpenWBEM_ObjectManager.cpp. References cimClass, OW_NAMESPACE::CLASS_OpenWBEM_ObjectManager, OW_NAMESPACE::CIMClass::getName(), OW_NAMESPACE::ResultHandlerIFC< T >::handle(), and result. |
|
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::CppAssociatorProviderIFC. Definition at line 92 of file OW_provinstOpenWBEM_ObjectManager.cpp. References OW_NAMESPACE::ProviderInfoBase< ClassInfoT >::addInstrumentedClass(), and OW_NAMESPACE::CLASS_OpenWBEM_HostedObjectManager. |
|
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. It should also insert one entry for each base class of the classes of indications the provider may generate. Note that this base class requirement is unique to indication providers and doesn't apply to other types of providers. 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::CppIndicationProviderIFC. Definition at line 99 of file OW_provinstOpenWBEM_ObjectManager.cpp. References OW_NAMESPACE::IndicationProviderInfoEntry::classes, className, and OW_NAMESPACE::Array< T >::push_back(). |
|
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 84 of file OW_provinstOpenWBEM_ObjectManager.cpp. References OW_NAMESPACE::ProviderInfoBase< ClassInfoT >::addInstrumentedClass(), OW_NAMESPACE::CLASS_OpenWBEM_HostedObjectManager, and OW_NAMESPACE::CLASS_OpenWBEM_ObjectManager. |
|
Called by the CIMOM when the provider is initialized.
Reimplemented from OW_NAMESPACE::CppProviderBaseIFC. Definition at line 163 of file OW_provinstOpenWBEM_ObjectManager.cpp. References OW_NAMESPACE::CLASS_OpenWBEM_InternalData, OW_NAMESPACE::dataKey, env, OW_NAMESPACE::CIMException::getErrNo(), OW_NAMESPACE::ConfigOpts::INTEROP_SCHEMA_NAMESPACE_opt, OW_DEFAULT_INTEROP_SCHEMA_NAMESPACE, OW_NAMESPACE::PROP_Name, OW_NAMESPACE::CIMObjectPath::setKeyValue(), OW_NAMESPACE::String::toString(), and OW_NAMESPACE::CIMObjectPath::toString(). |
|
Called by the CIMOM just before it starts shutting down services. Providers should override this to do any portion of their shutdown process that requires access to the CIMOM. Reimplemented from OW_NAMESPACE::CppProviderBaseIFC. Definition at line 211 of file OW_provinstOpenWBEM_ObjectManager.cpp. References OW_NAMESPACE::CLASS_CIM_InstModification, OW_NAMESPACE::COMPONENT_NAME, env, hdl, OW_NAMESPACE::ConfigOpts::INTEROP_SCHEMA_NAMESPACE_opt, OW_DEFAULT_INTEROP_SCHEMA_NAMESPACE, OW_LOG_ERROR, and OW_NAMESPACE::ThreadImpl::sleep(). |
|
Definition at line 73 of file OW_provinstOpenWBEM_ObjectManager.cpp. |
|
Definition at line 72 of file OW_provinstOpenWBEM_ObjectManager.cpp. |