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
FieldsModifier and TypeFieldDescriptionprivate final BeanLocator
private final RealmManager
private final String
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultPlexusBeanLocator
(BeanLocator beanLocator) DefaultPlexusBeanLocator
(BeanLocator beanLocator, RealmManager realmManager, 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
-
realmManager
-
visibility
-
-
Constructor Details
-
DefaultPlexusBeanLocator
-
DefaultPlexusBeanLocator
public DefaultPlexusBeanLocator(BeanLocator beanLocator, RealmManager realmManager, String visibility)
-
-
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
-