Stuart McCulloch | bb01437 | 2012-06-07 21:57:32 +0000 | [diff] [blame] | 1 | package aQute.bnd.service; |
2 | |||||
3 | import java.util.*; | ||||
4 | |||||
5 | /** | ||||
6 | * A registry for objects. | ||||
7 | */ | ||||
8 | public interface Registry { | ||||
9 | <T> List<T> getPlugins(Class<T> c); | ||||
10 | <T> T getPlugin(Class<T> c); | ||||
11 | } |