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

    Modifier and Type
    Method
    Description
    locate(com.google.inject.TypeLiteral<T> role, String... hints)
    Locates beans of the given type, optionally filtered using the given named hints.
  • Method Details

    • locate

      <T> Iterable<PlexusBean<T>> locate(com.google.inject.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