Class Overview
PlexusBeanLocator that locates beans of various types from zero or more Injectors.
Summary
| Public Methods |
|
<T>
Iterable<PlexusBean<T>>
|
locate(TypeLiteral<T> role, String... hints)
Locates beans of the given type, optionally filtered using the given named hints.
|
Public Constructors
public
DefaultPlexusBeanLocator
(BeanLocator beanLocator)
public
DefaultPlexusBeanLocator
(BeanLocator beanLocator, String visibility)
Public Methods
Locates beans of the given type, optionally filtered using the given named hints.
Parameters
| role
| The expected bean type |
| hints
| The optional (canonical) hints |
Returns
- Sequence of Plexus bean mappings; ordered according to the given hints