public interface

PlexusBeanLocator

org.eclipse.sisu.plexus.PlexusBeanLocator
Known Indirect Subclasses

Class Overview

Service that locates beans of various types, using optional Plexus hints as a guide.

Summary

Public Methods
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 Methods

public abstract 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