Interface SpringAccessor

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <T> java.util.Collection<T> getSpringBeansOfType​(java.lang.Class<T> extensionClass, boolean autowireCandidatesOnly)
      Returns spring beans of the specified type.
    • Method Detail

      • getSpringBeansOfType

        @NotNull
        <T> java.util.Collection<T> getSpringBeansOfType​(@NotNull
                                                         java.lang.Class<T> extensionClass,
                                                         boolean autowireCandidatesOnly)
        Returns spring beans of the specified type.
        Type Parameters:
        T - see extensionClass
        Parameters:
        extensionClass - the type of a bean to return
        autowireCandidatesOnly - if true then beans marked with autowire-candidate="false" are not returned
        Returns:
        see above