Package jetbrains.buildServer
Class CachedSpringAccessor
- java.lang.Object
-
- jetbrains.buildServer.CachedSpringAccessor
-
- All Implemented Interfaces:
SpringAccessor
public class CachedSpringAccessor extends java.lang.Object implements SpringAccessor
- Author:
- Eugene Petrenko Created: 08.04.2010 17:23:03
-
-
Constructor Summary
Constructors Constructor Description CachedSpringAccessor(SpringAccessor accessor)
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Constructor Detail
-
CachedSpringAccessor
public CachedSpringAccessor(SpringAccessor accessor)
-
-
Method Detail
-
getSpringBeansOfType
@NotNull public <T> java.util.Collection<T> getSpringBeansOfType(@NotNull java.lang.Class<T> extensionClass, boolean autowireCandidatesOnly)
Description copied from interface:SpringAccessor
Returns spring beans of the specified type.- Specified by:
getSpringBeansOfType
in interfaceSpringAccessor
- 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
-
-