Implement aggregator feature
commit49c958c0f27366c9e26c18a206afc0da66abae79
authorImran M Yousuf <imyousuf@smartitengineering.com>
Tue, 20 Jan 2009 10:08:17 +0000 (20 16:08 +0600)
committerImran M Yousuf <imyousuf@smartitengineering.com>
Tue, 20 Jan 2009 10:08:17 +0000 (20 16:08 +0600)
tree3ee73354a777a07a8de781389c9e0d0daa308818
parent2e95dd47e40413bd8186b4702b640f7c5976490d
Implement aggregator feature

It works on object hierarchy searching for class and it will inject object
in bottom up hierarchy (deepest children injected first). All classes
intended to be scanned for injection has to be marked @Aggregator and all
fields in @Aggregator class intended to be DId have to have
@InjectableField annotated; if beanName with @InjectableField is not
provided then it will use the field name as beanName.

Signed-off-by: Imran M Yousuf <imyousuf@smartitengineering.com>
smart-util/smart-spring-util/src/main/java/com/smartitengineering/util/spring/BeanFactoryRegistrar.java
smart-util/smart-spring-util/src/main/java/com/smartitengineering/util/spring/annotations/Aggregator.java [new file with mode: 0644]
smart-util/smart-spring-util/src/main/java/com/smartitengineering/util/spring/annotations/InjectableField.java [new file with mode: 0644]