|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonatype.guice.plexus.locators.DefaultPlexusBeanLocator
@Singleton public final class DefaultPlexusBeanLocator
PlexusBeanLocator that locates beans of various types from zero or more Injectors.
| Constructor Summary | |
|---|---|
DefaultPlexusBeanLocator(BeanLocator beanLocator)
|
|
DefaultPlexusBeanLocator(BeanLocator beanLocator,
java.lang.String visibility)
|
|
| Method Summary | ||
|---|---|---|
|
locate(com.google.inject.TypeLiteral<T> role,
java.lang.String... hints)
Locates beans of the given type, optionally filtered using the given named hints. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Inject public DefaultPlexusBeanLocator(BeanLocator beanLocator)
public DefaultPlexusBeanLocator(BeanLocator beanLocator,
java.lang.String visibility)
| Method Detail |
|---|
public <T> java.lang.Iterable<PlexusBean<T>> locate(com.google.inject.TypeLiteral<T> role,
java.lang.String... hints)
PlexusBeanLocator
locate in interface PlexusBeanLocatorrole - The expected bean typehints - The optional (canonical) hints
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||