Interface SpringAccessor

    • Method Detail

      • getSpringBeansOfType

        @NotNull
        <T> Collection<T> getSpringBeansOfType​(@NotNull
                                               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