#include <OW_SharedLibraryRepository.hpp>
Inheritance diagram for OW_NAMESPACE::SharedLibraryRepository:
Public Member Functions | |
SharedLibraryRepository (SharedLibraryRepositoryIFCRef ref) | |
~SharedLibraryRepository () | |
virtual void | close () |
Close this RepositoryIFC. | |
virtual String | getName () const |
Every service may have a name. | |
virtual StringArray | getDependencies () const |
Get the list of services this service depends on. | |
virtual void | init (const ServiceEnvironmentIFCRef &env) |
init() will be called to give the derived class an opportunity to initialize itself. | |
virtual void | initialized () |
initialized() will be called after init() has been sucessfully called on all services. | |
virtual void | start () |
In start(), a service should start doing whatever it does, such as starting a new thread or adding selectables to the environment. | |
virtual void | started () |
started() will be called on all services after start() has been called on all services. | |
virtual void | shutdown () |
The service must shutdown completely before returning from this function. | |
virtual void | shuttingDown () |
shuttingdown() will be called before shutdown() is called on all services. | |
virtual void | open (const String &path) |
Open this RepositoryIFC. | |
virtual ServiceEnvironmentIFCRef | getEnvironment () const |
virtual void | createNameSpace (const String &ns, OperationContext &context) |
Create a cim namespace. | |
virtual void | deleteNameSpace (const String &ns, OperationContext &context) |
Delete a specified namespace. | |
virtual void | enumNameSpace (StringResultHandlerIFC &result, OperationContext &context) |
Gets a list of the namespaces. | |
virtual CIMQualifierType | getQualifierType (const String &ns, const String &qualifierName, OperationContext &context) |
Get an existing qualifier type from the repository. | |
virtual void | enumQualifierTypes (const String &ns, CIMQualifierTypeResultHandlerIFC &result, OperationContext &context) |
Enumerate the qualifier types in a name space. | |
virtual void | deleteQualifierType (const String &ns, const String &qualName, OperationContext &context) |
Delete an existing qualifier type from the repository. | |
virtual void | setQualifierType (const String &ns, const CIMQualifierType &qt, OperationContext &context) |
Updates the specified CIM qualifier type in the specified namespace. | |
virtual CIMClass | getClass (const String &ns, const String &className, WBEMFlags::ELocalOnlyFlag localOnly, WBEMFlags::EIncludeQualifiersFlag includeQualifiers, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin, const StringArray *propertyList, OperationContext &context) |
Gets an existing class from a store. | |
virtual CIMObjectPath | createInstance (const String &ns, const CIMInstance &ci, OperationContext &context) |
Creates a instance in the store. | |
virtual CIMInstance | modifyInstance (const String &ns, const CIMInstance &modifiedInstance, WBEMFlags::EIncludeQualifiersFlag includeQualifiers, const StringArray *propertyList, OperationContext &context) |
Update an instance. | |
virtual void | setProperty (const String &ns, const CIMObjectPath &name, const String &propertyName, const CIMValue &cv, OperationContext &context) |
Set a property value on an CIMInstance. | |
virtual CIMInstance | deleteInstance (const String &ns, const CIMObjectPath &cop, OperationContext &context) |
Delete an existing instance from the store. | |
virtual void | enumInstances (const String &ns, const String &className, CIMInstanceResultHandlerIFC &result, WBEMFlags::EDeepFlag deep, WBEMFlags::ELocalOnlyFlag localOnly, WBEMFlags::EIncludeQualifiersFlag includeQualifiers, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin, const StringArray *propertyList, WBEMFlags::EEnumSubclassesFlag enumSubclasses, OperationContext &context) |
Retrieve an enumeration of instances (CIMInstance) for a particular class. | |
virtual void | createClass (const String &ns, const CIMClass &cimClass, OperationContext &context) |
Creates a class in the store. | |
virtual CIMClass | modifyClass (const String &ns, const CIMClass &cc, OperationContext &context) |
set a class in the store - note children are not affected | |
virtual CIMClass | deleteClass (const String &ns, const String &className, OperationContext &context) |
Delete an existing class from the store. | |
virtual void | enumClasses (const String &ns, const String &className, CIMClassResultHandlerIFC &result, WBEMFlags::EDeepFlag deep, WBEMFlags::ELocalOnlyFlag localOnly, WBEMFlags::EIncludeQualifiersFlag includeQualifiers, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin, OperationContext &context) |
Enumerates the class specified by the CIMObjectPath. | |
virtual void | enumClassNames (const String &ns, const String &className, StringResultHandlerIFC &result, WBEMFlags::EDeepFlag deep, OperationContext &context) |
Enumerates the class specified by the namespace and classname. | |
virtual CIMValue | invokeMethod (const String &ns, const CIMObjectPath &path, const String &methodName, const CIMParamValueArray &inParams, CIMParamValueArray &outParams, OperationContext &context) |
Invokes a method. | |
virtual void | enumInstanceNames (const String &ns, const String &className, CIMObjectPathResultHandlerIFC &result, WBEMFlags::EDeepFlag deep, OperationContext &context) |
Retrieve an enumeration of instance object paths (CIMInstance) for a particular class. | |
virtual CIMInstance | getInstance (const String &ns, const CIMObjectPath &instanceName, WBEMFlags::ELocalOnlyFlag localOnly, WBEMFlags::EIncludeQualifiersFlag includeQualifiers, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin, const StringArray *propertyList, OperationContext &context) |
Retrieve a specific instance. | |
virtual void | references (const String &ns, const CIMObjectPath &path, CIMInstanceResultHandlerIFC &result, const String &resultClass, const String &role, WBEMFlags::EIncludeQualifiersFlag includeQualifiers, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin, const StringArray *propertyList, OperationContext &context) |
This operation is used to enumerate the association objects that refer to a particular target CIM Object (Class or Instance). | |
virtual void | referencesClasses (const String &ns, const CIMObjectPath &path, CIMClassResultHandlerIFC &result, const String &resultClass, const String &role, WBEMFlags::EIncludeQualifiersFlag includeQualifiers, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin, const StringArray *propertyList, OperationContext &context) |
This operation is used to enumerate the association objects that refer to a particular target CIM Class. | |
virtual CIMValue | getProperty (const String &ns, const CIMObjectPath &name, const String &propertyName, OperationContext &context) |
Get the specified CIM instance property. | |
virtual void | associatorNames (const String &ns, const CIMObjectPath &path, CIMObjectPathResultHandlerIFC &result, const String &assocClass, const String &resultClass, const String &role, const String &resultRole, OperationContext &context) |
This method is used to enumerate the names of CIM Objects (Classes or Instances) that are associated to a particular CIM Object. | |
virtual void | associators (const String &ns, const CIMObjectPath &path, CIMInstanceResultHandlerIFC &result, const String &assocClass, const String &resultClass, const String &role, const String &resultRole, WBEMFlags::EIncludeQualifiersFlag includeQualifiers, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin, const StringArray *propertyList, OperationContext &context) |
This operation is used to enumerate CIM Objects (Classes or Instances) that are associated to a particular source CIM Object. | |
virtual void | associatorsClasses (const String &ns, const CIMObjectPath &path, CIMClassResultHandlerIFC &result, const String &assocClass, const String &resultClass, const String &role, const String &resultRole, WBEMFlags::EIncludeQualifiersFlag includeQualifiers, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin, const StringArray *propertyList, OperationContext &context) |
This operation is used to enumerate CIMClasses that are associated to a particular source CIM Object. | |
virtual void | referenceNames (const String &ns, const CIMObjectPath &path, CIMObjectPathResultHandlerIFC &result, const String &resultClass, const String &role, OperationContext &context) |
This operation is used to enumerate the association objects that refer to a particular target CIM Object (Class or Instance). | |
virtual void | execQuery (const String &ns, CIMInstanceResultHandlerIFC &result, const String &query, const String &queryLanguage, OperationContext &context) |
Executes a query to retrieve or modify objects. | |
virtual void | beginOperation (WBEMFlags::EOperationFlag op, OperationContext &context) |
virtual void | endOperation (WBEMFlags::EOperationFlag op, OperationContext &context, WBEMFlags::EOperationResultFlag result) |
Private Attributes | |
SharedLibraryRepositoryIFCRef | m_ref |
Definition at line 43 of file OW_SharedLibraryRepository.hpp.
|
Definition at line 49 of file OW_SharedLibraryRepository.cpp. |
|
Definition at line 52 of file OW_SharedLibraryRepository.cpp. |
|
This method is used to enumerate the names of CIM Objects (Classes or Instances) that are associated to a particular CIM Object.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 262 of file OW_SharedLibraryRepository.cpp. |
|
This operation is used to enumerate CIM Objects (Classes or Instances) that are associated to a particular source CIM Object.
Clients SHOULD NOT explicitly specify properties in the PropertyList parameter unless they have specified a non-empty ("") value for the ResultClass parameter.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 273 of file OW_SharedLibraryRepository.cpp. References context, m_ref, ns, propertyList, and result. |
|
This operation is used to enumerate CIMClasses that are associated to a particular source CIM Object.
Clients SHOULD NOT explicitly specify properties in the PropertyList parameter unless they have specified a non-empty ("") value for the ResultClass parameter.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 286 of file OW_SharedLibraryRepository.cpp. References context, m_ref, ns, propertyList, and result. |
|
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 317 of file OW_SharedLibraryRepository.cpp. |
|
Close this RepositoryIFC.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 54 of file OW_SharedLibraryRepository.cpp. References m_ref. |
|
Creates a class in the store.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 167 of file OW_SharedLibraryRepository.cpp. |
|
Creates a instance in the store.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 120 of file OW_SharedLibraryRepository.cpp. |
|
Create a cim namespace.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 69 of file OW_SharedLibraryRepository.cpp. |
|
Delete an existing class from the store.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 177 of file OW_SharedLibraryRepository.cpp. |
|
Delete an existing instance from the store.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 145 of file OW_SharedLibraryRepository.cpp. |
|
Delete a specified namespace.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 74 of file OW_SharedLibraryRepository.cpp. |
|
Delete an existing qualifier type from the repository.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 98 of file OW_SharedLibraryRepository.cpp. |
|
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 321 of file OW_SharedLibraryRepository.cpp. |
|
Enumerates the class specified by the CIMObjectPath.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 183 of file OW_SharedLibraryRepository.cpp. |
|
Enumerates the class specified by the namespace and classname.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 192 of file OW_SharedLibraryRepository.cpp. |
|
Retrieve an enumeration of instance object paths (CIMInstance) for a particular class.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 209 of file OW_SharedLibraryRepository.cpp. |
|
Retrieve an enumeration of instances (CIMInstance) for a particular class.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 151 of file OW_SharedLibraryRepository.cpp. References className, context, m_ref, ns, propertyList, and result. |
|
Gets a list of the namespaces.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 80 of file OW_SharedLibraryRepository.cpp. |
|
Enumerate the qualifier types in a name space.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 92 of file OW_SharedLibraryRepository.cpp. |
|
Executes a query to retrieve or modify objects.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 309 of file OW_SharedLibraryRepository.cpp. |
|
Gets an existing class from a store.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 109 of file OW_SharedLibraryRepository.cpp. References className, context, m_ref, ns, and propertyList. |
|
Get the list of services this service depends on. The returned services will be started before and shutdown after this service. It is an error to return the name of a non-existent service, and the cimom startup will fail. The default is to have no dependencies. Reimplemented from OW_NAMESPACE::ServiceIFC. Definition at line 56 of file OW_SharedLibraryRepository.cpp. References m_ref. |
|
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 64 of file OW_SharedLibraryRepository.cpp. References m_ref. |
|
Retrieve a specific instance.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 217 of file OW_SharedLibraryRepository.cpp. References context, m_ref, ns, and propertyList. |
|
Every service may have a name. The name is used to calculate dependencies, other services can return the name from getDependencies(), to instruct the cimom about which order to start and shutdown all the services. The default is to have no name, in that case, no other service can depend on it. Reimplemented from OW_NAMESPACE::ServiceIFC. Definition at line 55 of file OW_SharedLibraryRepository.cpp. References m_ref. |
|
Get the specified CIM instance property.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 252 of file OW_SharedLibraryRepository.cpp. |
|
Get an existing qualifier type from the repository.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 85 of file OW_SharedLibraryRepository.cpp. |
|
init() will be called to give the derived class an opportunity to initialize itself. Do not create threads which interact with the environment until start() is called. During the loading/initializing phase, the environment is single-threaded.
Implements OW_NAMESPACE::ServiceIFC. Definition at line 57 of file OW_SharedLibraryRepository.cpp. |
|
initialized() will be called after init() has been sucessfully called on all services. This gives a service the chance to communicate with another service if necessary. The default implementation does nothing. Reimplemented from OW_NAMESPACE::ServiceIFC. Definition at line 58 of file OW_SharedLibraryRepository.cpp. References m_ref. |
|
Invokes a method.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 200 of file OW_SharedLibraryRepository.cpp. |
|
set a class in the store - note children are not affected
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 172 of file OW_SharedLibraryRepository.cpp. |
|
Update an instance.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 125 of file OW_SharedLibraryRepository.cpp. References context, m_ref, ns, and propertyList. |
|
Open this RepositoryIFC.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 63 of file OW_SharedLibraryRepository.cpp. References m_ref. |
|
This operation is used to enumerate the association objects that refer to a particular target CIM Object (Class or Instance).
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 299 of file OW_SharedLibraryRepository.cpp. |
|
This operation is used to enumerate the association objects that refer to a particular target CIM Object (Class or Instance).
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 228 of file OW_SharedLibraryRepository.cpp. References context, m_ref, ns, propertyList, and result. |
|
This operation is used to enumerate the association objects that refer to a particular target CIM Class.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 239 of file OW_SharedLibraryRepository.cpp. References context, m_ref, ns, propertyList, and result. |
|
Set a property value on an CIMInstance.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 136 of file OW_SharedLibraryRepository.cpp. |
|
Updates the specified CIM qualifier type in the specified namespace.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 103 of file OW_SharedLibraryRepository.cpp. |
|
The service must shutdown completely before returning from this function. All copies of the service environment or objects obtained from it should be set to 0 to avoid circular reference counts. Implements OW_NAMESPACE::ServiceIFC. Definition at line 62 of file OW_SharedLibraryRepository.cpp. References m_ref. |
|
shuttingdown() will be called before shutdown() is called on all services. This gives a service the chance to communicate with any other services before they are shutdown. After shuttingDown() is called the services will begin to be shutdown. The default implementation does nothing. Reimplemented from OW_NAMESPACE::ServiceIFC. Definition at line 61 of file OW_SharedLibraryRepository.cpp. References m_ref. |
|
In start(), a service should start doing whatever it does, such as starting a new thread or adding selectables to the environment. A service can't rely on the order of initalization, so if it needs to communicate with another one, that works hould be done in started() start() should not return until the service is actually started, but it must return. Reimplemented from OW_NAMESPACE::ServiceIFC. Definition at line 59 of file OW_SharedLibraryRepository.cpp. References m_ref. |
|
started() will be called on all services after start() has been called on all services. The default implementation does nothing. Reimplemented from OW_NAMESPACE::ServiceIFC. Definition at line 60 of file OW_SharedLibraryRepository.cpp. References m_ref. |
|