Totally separate Spring Framework related implementations
commit6e54d66a7d3d895cfc810695d85671df27459f63
authorImran M Yousuf <imyousuf@smartitengineering.com>
Mon, 28 Sep 2009 07:34:58 +0000 (28 14:34 +0700)
committerImran M Yousuf <imyousuf@smartitengineering.com>
Mon, 28 Sep 2009 07:34:58 +0000 (28 14:34 +0700)
treec0f6ba051337fdebb6a88e216d5ea155e9156026
parent11f9499f692b4c4a31731f37b012581d2a10dc40
Totally separate Spring Framework related implementations

This is done so that the aggregator API and multi location properties
locator can be used in projects without having to import spring.

This change was also inspired by the fact that there is no need of spring
framework dependencies if someone wants to simply mark their domain class
with injection and aggragation annotations and by the fact that a google
guice integration could also be lurking nearby.

Signed-off-by: Imran M Yousuf <imyousuf@smartitengineering.com>
13 files changed:
smart-bean-util/src/main/java/com/smartitengineering/util/bean/BeanFactory.java
smart-bean-util/src/main/java/com/smartitengineering/util/bean/BeanFactoryRegistrar.java
smart-bean-util/src/main/java/com/smartitengineering/util/bean/SimpleBeanFactory.java
smart-bean-util/src/main/java/com/smartitengineering/util/bean/spring/PropertiesLocatorConfigurer.java [moved from smart-bean-util/src/main/java/com/smartitengineering/util/bean/PropertiesLocatorConfigurer.java with 99% similarity]
smart-bean-util/src/main/java/com/smartitengineering/util/bean/spring/SpringBeanFactory.java [moved from smart-bean-util/src/main/java/com/smartitengineering/util/bean/SpringBeanFactory.java with 87% similarity]
smart-bean-util/src/main/java/com/smartitengineering/util/bean/spring/SpringBeanRegistrar.java [new file with mode: 0644]
smart-bean-util/src/test/java/com/smartitengineering/util/bean/spring/PropertiesLocatorConfigurerTest.java [moved from smart-bean-util/src/test/java/com/smartitengineering/util/bean/PropertiesLocatorConfigurerTest.java with 99% similarity]
smart-bean-util/src/test/java/com/smartitengineering/util/bean/spring/TestBean.java [moved from smart-bean-util/src/test/java/com/smartitengineering/util/bean/TestBean.java with 97% similarity]
smart-bean-util/src/test/java/com/smartitengineering/util/bean/spring/TestBeanDummyAggregatorLevel1.java [moved from smart-bean-util/src/test/java/com/smartitengineering/util/bean/TestBeanDummyAggregatorLevel1.java with 96% similarity]
smart-bean-util/src/test/java/com/smartitengineering/util/bean/spring/TestBeanDummyAggregatorLevel2.java [moved from smart-bean-util/src/test/java/com/smartitengineering/util/bean/TestBeanDummyAggregatorLevel2.java with 96% similarity]
smart-bean-util/src/test/java/com/smartitengineering/util/bean/spring/TestBeanDummyAggregatorLevel3.java [moved from smart-bean-util/src/test/java/com/smartitengineering/util/bean/TestBeanDummyAggregatorLevel3.java with 96% similarity]
smart-bean-util/src/test/java/com/smartitengineering/util/bean/spring/TestBeanDummyAggregatorLevel4.java [moved from smart-bean-util/src/test/java/com/smartitengineering/util/bean/TestBeanDummyAggregatorLevel4.java with 96% similarity]
smart-bean-util/src/test/resources/test-app-context.xml