blob: a326a7889006e815e730a14c44ad66191ecfa81e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
package bjc.utils.components;
import java.util.Map;
import bjc.utils.funcdata.FunctionalList;
/**
* A collection of implementations of {@link IDescribedComponent}
*
* @author ben
*
*/
public interface IComponentRepository<E extends IDescribedComponent> {
/**
* Get a list of all the registered componets
*
* @return A list of all the registered components
*/
public FunctionalList<E> getComponentList();
/**
* Get all of the components this repository knows about
*
* @return A map from component name to component, containing all of
* the components in the repositorys
*/
public Map<String, E> getComponents();
/**
* Get the source from which these components came
*
* @return The source from which these components came
*/
public String getSource();
}
|