some major refactoring.
authorerik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Fri, 4 Apr 2008 22:06:16 +0000 (22:06 +0000)
committererik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Fri, 4 Apr 2008 22:06:16 +0000 (22:06 +0000)
commit43ab66f665c102850f1d31d1e96244899c9ff407
tree6aa31a94dc047199adb8fd81b20af05d8f1522ad
parenta3174838834580b0e66e103597562c68b0ebf38b
some major refactoring.
ServiceREgistry eliminated as well as Service and DefaultService.
There is now a many-to-one relation from required to provided service
which leads to a more natural design.
18 files changed:
trunk/system/general/src/main/java/org/wamblee/system/AbstractComponent.java
trunk/system/general/src/main/java/org/wamblee/system/Component.java
trunk/system/general/src/main/java/org/wamblee/system/Container.java
trunk/system/general/src/main/java/org/wamblee/system/DefaultProvidedInterfaceDescriptor.java
trunk/system/general/src/main/java/org/wamblee/system/DefaultRequiredInterfaceDescriptor.java
trunk/system/general/src/main/java/org/wamblee/system/DefaultService.java [deleted file]
trunk/system/general/src/main/java/org/wamblee/system/DefaultServiceRegistry.java [deleted file]
trunk/system/general/src/main/java/org/wamblee/system/ProvidedInterface.java
trunk/system/general/src/main/java/org/wamblee/system/RequiredInterface.java
trunk/system/general/src/main/java/org/wamblee/system/Service.java [deleted file]
trunk/system/general/src/main/java/org/wamblee/system/ServiceRegistry.java [deleted file]
trunk/system/general/src/main/java/org/wamblee/system/SystemAssembler.java
trunk/system/general/src/test/java/org/wamblee/system/Application.java
trunk/system/general/src/test/java/org/wamblee/system/Environment.java
trunk/system/general/src/test/java/org/wamblee/system/SystemAssemblerTest.java
trunk/system/spring/src/main/java/org/wamblee/system/spring/RequiredServiceBean.java
trunk/system/spring/src/main/java/org/wamblee/system/spring/SpringComponent.java
trunk/system/spring/src/test/java/org/wamblee/system/spring/SpringComponentTest.java