public interface ComponentRegistry
| Modifier and Type | Method and Description |
|---|---|
<T extends Component> |
findByType(String componentType)
Find a list of components by type name
|
<T extends Component> |
findByType(String componentType,
T defaultValue)
Finds the a registered component by type name.
|
com.google.common.collect.Multimap<String,Component> |
getRegistrationMap()
Returns the full map of registered components by type name.
|
com.google.common.collect.Multimap<String,Component> getRegistrationMap()
<T extends Component> Collection<T> findByType(String componentType)
T - Resulting class of the components expectedcomponentType - Type name of the components to find<T extends Component> T findByType(String componentType, T defaultValue)
T - Resulting class of the component expectedcomponentType - Type name of the component to finddefaultValue - Default component if none is found (null is okay)Copyright © 2016. All rights reserved.