Am 21.10.2010 um 22:42 schrieb Greg Hinkle:
Is there any documentation regarding the dynamic typing system? (or does it have any relation to
As I said, Alex will update the Wiki over the weekend
I've attached a sequence diagram that should outline what is currently going on.
Two key points are:
- A ChildTypeDiscoveryRunner is looking at servers that implement a ChildResourceTypeDiscoveryFacet and ask this for new types. - While parsing the plugin descriptor for the plugin, for said server, two new attributes on the <server> tag are evaluated:
childTypeDiscovery="NagiosMonitorChildTypeDiscovery" childTypeClass="NagiosMonitorChildTypeComponent"
Now when the service discovery runs and checks for children of the server, the PluginMetadataManager returns the respective childTypeDiscovery class for the new dynamic type.
And you are absolutely right about the work to do.