ResourceRegistry
class ResourceRegistry
Thread-safe collection of ResourceProviders. Changes are reported to addChangeListener subscribers so the HTTP transport can emit notifications/resources/list_changed; providers whose listing changes on their own call notifyChanged.
Functions
Link copied to clipboard
Link copied to clipboard
Tell subscribers the advertised resources changed. A failing listener can't affect the others.
Link copied to clipboard
The provider among visibleTools-visible ones that handles uri, or null.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Providers whose ResourceProvider.requiredTools are all in visibleTools.