Class DefaultPlexusBeanLocator

    • Constructor Detail

      • DefaultPlexusBeanLocator

        @Inject
        public DefaultPlexusBeanLocator​(BeanLocator beanLocator)
      • DefaultPlexusBeanLocator

        public DefaultPlexusBeanLocator​(BeanLocator beanLocator,
                                        String visibility)
    • Method Detail

      • locate

        public <T> Iterable<PlexusBean<T>> locate​(com.google.inject.TypeLiteral<T> role,
                                                  String... hints)
        Description copied from interface: PlexusBeanLocator
        Locates beans of the given type, optionally filtered using the given named hints.
        Specified by:
        locate in interface PlexusBeanLocator
        Parameters:
        role - The expected bean type
        hints - The optional (canonical) hints
        Returns:
        Sequence of Plexus bean mappings; ordered according to the given hints