The order of plugins

Plugins will always be called in the order in which they were added to the plugin manager, because that is the order in which the lookup() method will return them.

For example, suppose several plugins register an interest to choose resources. Then whenever resource needs are gathered, those plugins which were added to the plugin manager first will get first pick. Or suppose a Manager needs to reference ``the'' manager life cycle plugin. It will call the first registered manager life cycle plugin, regardless of how many plugins claim to be one.

Very strictly speaking such first-come-first-served selection is at the discretion of any implementation, but we can assume it always to be the case. It would be very unusual for it to be otherwise, and the implementation should certainly document such an oddity.

Nik Silver 2002-03-09