| java.lang.Object |
| ↳ |
org.eclipse.sisu.plexus.DefaultPlexusBeanLocator |
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.
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
final
void
|
wait()
|
|
From interface
org.eclipse.sisu.plexus.PlexusBeanLocator
|
abstract
<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
public
Iterable<PlexusBean<T>>
locate
(TypeLiteral<T> role, String... hints)
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