Package org.eclipse.sisu.plexus
Interface PlexusBeanLocator
-
- All Known Implementing Classes:
DefaultPlexusBeanLocator
public interface PlexusBeanLocator
Service that locates beans of various types, using optional Plexus hints as a guide.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> java.lang.Iterable<PlexusBean<T>>
locate(com.google.inject.TypeLiteral<T> role, java.lang.String... hints)
Locates beans of the given type, optionally filtered using the given named hints.
-
-
-
Method Detail
-
locate
<T> java.lang.Iterable<PlexusBean<T>> locate(com.google.inject.TypeLiteral<T> role, java.lang.String... hints)
Locates beans of the given type, optionally filtered using the given named hints.- Parameters:
role
- The expected bean typehints
- The optional (canonical) hints- Returns:
- Sequence of Plexus bean mappings; ordered according to the given hints
-
-