public interface Registry
Modifier and Type | Method and Description |
---|---|
<T> T |
lookup(Class<T> clazz)
Looks up an item by type.
|
<T> Set<T> |
lookupAll(Class<T> clazz)
Looks up all items by type.
|
<T> T lookup(Class<T> clazz)
T
- the type of the class to lookupclazz
- the type of the item to look upIllegalArgumentException
- if items of the specified type are not supported by this registry, or if more than one item matches the given type<T> Set<T> lookupAll(Class<T> clazz)
T
- the type of the classes to lookupclazz
- the type of the items to look upIllegalArgumentException
- if items of the specified type are not supported by this registryCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.