Package jetbrains.buildServer
Interface SpringAccessor
-
- All Known Implementing Classes:
CachedSpringAccessor
,DefaultSpringAccessor
public interface SpringAccessor
Low level interface allowing to access spring beans in the current context. Consider usingServiceLocator
instead.
-
-
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 returnautowireCandidatesOnly
- if true then beans marked with autowire-candidate="false" are not returned- Returns:
- see above
-
-