Chapter 6. Method Design and Schema Class Positioning

Now that we have defined the classes, properties, and associations for the Post Office schema, we shall examine the methods required. Superficially, this may appear to be a relatively straightforward task: Decide upon the type of behavior that you would like the managed object to exhibit and then assign this behavior to specific classes within your schema. There are, however, several important considerations before doing this that directly affect the usability of the schema. Always remember that the key strength of an information model like the CIM is that its main source of interaction with the outside world is through flexible WQL queries.

For example, imagine that we define a class, Person ...

Get Developing WMI Solutions: A Guide to Windows Management Instrumentation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.