Class DefaultPlexusBeanLocator

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • visibility

        private final java.lang.String visibility
    • Constructor Detail

      • DefaultPlexusBeanLocator

        @Inject
        public DefaultPlexusBeanLocator​(BeanLocator beanLocator)
      • DefaultPlexusBeanLocator

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

      • locate

        public <T> java.lang.Iterable<PlexusBean<T>> locate​(com.google.inject.TypeLiteral<T> role,
                                                            java.lang.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