Interface BeanCollector<T>
-
public interface BeanCollector<T>Implement this in order to cause spring to inject a set of beans into your spring bean (if any exist) which implement the interface you define (they will also have to implementAutoRegister)- Author:
- Aaron Zeckoski (aaron@caret.cam.ac.uk)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class<T>getCollectedType()This allows the developer to set the type of the beans which they want collectedvoidsetCollectedBeans(List<T> collectedBeans)This setter will be called automatically and the beans which are being collected for you will be placed in the List
-