Solaris WBEM SDK Developer's Guide

Solaris_Schema1.0.mof File

The Solaris_Schema1.0.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 you must compile them.

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

/*
Title	    Solaris Master MOF 1.0
Description include pragmas for all other mofs
Date        03/10/01
Version     1.1 
Copyright   (c) 2000 Sun Microsystems, Inc. All Rights Reserved.
*/

#pragma Include ("Solaris_Core1.0.mof")
#pragma Include ("Solaris_Application1.0.mof")
#pragma Include ("Solaris_System1.0.mof")
#pragma Include ("Solaris_Device1.0.mof")
#pragma Include ("Solaris_Network1.0.mof")
#pragma Include ("Solaris_Users1.0.mof")
#pragma Include ("Solaris_Project1.0.mof")
#pragma Include ("Solaris_Event1.0.mof")
#pragma Include ("Solaris_CIMOM1.0.mof")
#pragma Include ("Solaris_SNMP1.0.mof")

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

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