Solaris WBEM Developer's Guide

Solaris_Schema.mof File

The Solaris_Schema.mof file is the high-level container of all other MOF files that make up the Solaris Schema. This file lists the MOF files in the order in which the files must be compiled.

The Java classes that you generate from each compilation are then sent to the CIMOM. At the CIMOM, the classes are either enacted as events or sent to the CIM Object Manager Repository for storage as objects. The following listing of the Solaris_Schema.mof file shows the Include statements in the order that is required for compilation.

/*
Solaris Schema
Copyright   (c) 2002 Sun Microsystems, Inc. All Rights Reserved.
*/
#pragma Include ("Solaris_Core.mof")
#pragma Include ("Solaris_Application.mof")
#pragma Include ("Solaris_System.mof")
#pragma Include ("Solaris_Device.mof")
#pragma Include ("Solaris_Network.mof")
#pragma Include ("Solaris_Users.mof")
#pragma Include ("Solaris_Project.mof")
#pragma Include ("Solaris_Event.mof")
#pragma Include ("Solaris_CIMOM.mof")
#pragma Include ("Solaris_SNMP.mof")

// This must be the last include since it changes the CIM namespace
#pragma Include ("Solaris_Acl.mof")

The compiler parses a line of the Solaris_Schema.mof file, compiles the file specified in the Include statement, and then parses the next line of the Solaris_Schema.mof file. This process continues until all included files are compiled.