org.sonatype.guice.plexus.config
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
<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 type
hints - The optional (canonical) hints
Returns:
Sequence of Plexus bean mappings; ordered according to the given hints


Copyright © 2010-2011 Sonatype, Inc.. All Rights Reserved.