HP WBEM Services Software Developer's Kit for HP-UX Provider and Client Developer's Guide A.01

Provider Implementation
Provider Design Considerations
Chapter 456
Example 4-1 PG_ProviderModule: An abridged MOF declaration
class PG_ProviderModule : CIM_LogicalElement
{
[ Key ] string Name;
string Vendor;
string Version;
string InterfaceType;
string InterfaceVersion;
string Location;
uint16 OperationalStatus[];
string OtherStatusDescription;
uint32 start();
uint32 stop();
};
A shared library (provider module) may contain more than one provider.
This can simplify sharing code among several providers that must use
the same system services to perform their operations. The name of the
shared library file must be of the form lib<
library-name
>.sl where
<
library-name
> is the string specified in the Location property of an
instance of PG_ProviderModule.
The shared library file may reside in any directory on the system, but a
symbolic link to the file must exist in /opt/wbem/providers/lib in
order for the CIM Server to find it.
The Name property of PG_ProviderModule is an arbitrary string that will
be referenced in instances of PG_Provider and
PG_ProviderCapabilities. Like the Location property (and the
shared library name), it is advisable to use the word Module in the
string.
Example 4-2 PG_ProviderModule: Instance shown in MOF
instance of PG_ProviderModule
{
// Properties inherited from CIM_ManagedElement
Caption = "Dynamic Information Provider Module"; // not required
Description = "Module containing several providers";// not required
// Properties inherited from CIM_ManagedSystemElement
InstallDate = "20020517140341.000000-420"; // not required
// Properties local to PG_ProviderModule