The ModelRoots property is essentially a collection of all the ModelRoot instances on the system. This is a subset of the other root properties, because some model roots are not instantiated if the cartridge is not being actively used. The ModelRoots and ModelInstances properties should not be used (especially when developing dashboards) because it is more efficient to use the root property that was added for specific ModelRoot types.
Cartridge developers can add their own element to ModelRoots by extending a special class called CollectionModelRoot.
Foglight 4 agents are represented as follows:
• |
The simplest way to create a model is as follows:
2 |
Create the cartridgename-topology-types.xml file for all the data types and their relationships in the model. |
NOTE: You can name the XML file as best fit for your model. The type definitions are merged into the server, but the XML file is not retained on the server, so there is no possibility of a name clash with XML files existing on the server. Once the cartridge development gets to the stage where there are several artifacts (for example, monitoring policy files, WCF modules, etc.) the cartridgename-topology-types.xml file is added to a cartridge along with the other components. |
© ALL RIGHTS RESERVED. 利用規約 プライバシー Cookie Preference Center