added default container to support classes directly.
authorerik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Tue, 15 Apr 2008 21:19:41 +0000 (21:19 +0000)
committererik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Tue, 15 Apr 2008 21:19:41 +0000 (21:19 +0000)
commit255b647035bf913c6051bea2c1010f6ce4705879
tree57bc2d71a69512027486a7fba9b57bb6de533616
parent5b53fe5f0f9be61a2f71f5d441db0ba3ab299d90
added default container to support classes directly.
Also added test cases for duplicate components and for adding components
that are already part of another hierarchy.
trunk/system/general/src/main/java/org/wamblee/system/adapters/DefaultContainer.java [new file with mode: 0644]
trunk/system/general/src/main/java/org/wamblee/system/core/AbstractComponent.java
trunk/system/general/src/main/java/org/wamblee/system/core/Component.java
trunk/system/general/src/main/java/org/wamblee/system/core/Container.java
trunk/system/general/src/main/java/org/wamblee/system/core/DefaultScope.java
trunk/system/general/src/main/java/org/wamblee/system/core/Scope.java
trunk/system/general/src/test/java/org/wamblee/system/adapters/DefaultContainerTest.java [new file with mode: 0644]
trunk/system/general/src/test/java/org/wamblee/system/core/Application.java
trunk/system/general/src/test/java/org/wamblee/system/core/ContainerTest.java