-
public interface ComponentRegistry
A registry of all the components available in the local system along with their metadata. Implementations usually to be provided in theRootHub
lookup.The registry may change over time, eg. by the addition of libraries. Implementations should cache the query result, so that object identity can be used to check for changes.
The contents of the registry will reflect the contents of all available
ComponentFactory
. The component data from the registry result will include all component data from the ComponentFactory, as well as the ComponentFactory itself and any other implementation specific data.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ComponentRegistry.Result
Component results to be returned fromquery()
.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ComponentRegistry.Result
query()
Query the components available on the local system.
-
-
-
Method Detail
-
query
ComponentRegistry.Result query()
Query the components available on the local system. The same result will be returned unless the data has changed, so object identity can be used to check for changes.- Returns:
- component information
-
-