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); | ||||
Stuart McCulloch | 2286f23 | 2012-06-15 13:27:53 +0000 | [diff] [blame] | 10 | |
Stuart McCulloch | bb01437 | 2012-06-07 21:57:32 +0000 | [diff] [blame] | 11 | <T> T getPlugin(Class<T> c); |
12 | } |