Package jetbrains.buildServer
Interface SpringAccessor
-
- All Known Implementing Classes:
CachedSpringAccessor,DefaultSpringAccessor,PluginAwareSpringAccessor
public interface SpringAccessorLow level interface allowing to access spring beans in the current context. Consider usingServiceLocatorinstead.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> Collection<T>getSpringBeansOfType(Class<T> extensionClass, boolean autowireCandidatesOnly)Returns spring beans of the specified type.
-
-
-
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 returnautowireCandidatesOnly- if true then beans marked with autowire-candidate="false" are not returned- Returns:
- see above
-
-