HP WBEM Services Software Developer's Kit for HP-UX Provider and Client Developer's Guide A.01
Client Implementation
Client Development Use Cases
Chapter 5106
to see if this case exists. If so, the class can be accessed using the
enumerateInstance operation with the DeepInheritance flag set to
TRUE. In addition, it may be useful to support some general mechanism
for the user to invoke methods specific to subclasses.
Multiple Dynamic Instances
Description
Some clients may need to retrieve dynamic information. For example,
process information (CIM_Process) is dynamic since processes are
frequently created and terminated.
Special Considerations
Client applications may need to update the list of instances between
retrievals of the information when instances may be deleted or created
dynamically.
Best Practices
It is best to use the enumerateInstances operation for these types of
classes. Use of enumerateInstanceNames followed by getInstance
would not be guaranteed to return an instance.
Special Purpose Clients
Description
Some special-purpose clients have prior knowledge about a platform
based on some simple facts. This may include the value of some special
property, the existence of a special-purpose namespace, or the existence
of some special-purpose subclasses. An example of this is a platform
partition management client that uses a special namespace containing
partition-related classes to manage the platform. Frequently, clients of
this type may be released in conjunction with an applicable provider or
providers.