Package org.eclipse.sisu.plexus
Class DefaultPlexusBeanLocator
java.lang.Object
org.eclipse.sisu.plexus.DefaultPlexusBeanLocator
- All Implemented Interfaces:
PlexusBeanLocator
PlexusBeanLocator
that locates beans of various types from zero or more Injector
s.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefaultPlexusBeanLocator
(BeanLocator beanLocator) DefaultPlexusBeanLocator
(BeanLocator beanLocator, String visibility) -
Method Summary
Modifier and TypeMethodDescription<T> Iterable<PlexusBean<T>>
Locates beans of the given type, optionally filtered using the given named hints.
-
Field Details
-
beanLocator
-
visibility
-
-
Constructor Details
-
DefaultPlexusBeanLocator
-
DefaultPlexusBeanLocator
-
-
Method Details
-
locate
Description copied from interface:PlexusBeanLocator
Locates beans of the given type, optionally filtered using the given named hints.- Specified by:
locate
in interfacePlexusBeanLocator
- Parameters:
role
- The expected bean typehints
- The optional (canonical) hints- Returns:
- Sequence of Plexus bean mappings; ordered according to the given hints
-