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)
commite509700eb632776a6c14a2bf50495f733af25e5e
tree89f28f627a7d40abeb2a9a9bb4fb84276b0dd7fb
parent974de54d0847498a8684f03c178bbeb727a92e5c
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.
system/general/src/main/java/org/wamblee/system/adapters/DefaultContainer.java [new file with mode: 0644]
system/general/src/main/java/org/wamblee/system/core/AbstractComponent.java
system/general/src/main/java/org/wamblee/system/core/Component.java
system/general/src/main/java/org/wamblee/system/core/Container.java
system/general/src/main/java/org/wamblee/system/core/DefaultScope.java
system/general/src/main/java/org/wamblee/system/core/Scope.java
system/general/src/test/java/org/wamblee/system/adapters/DefaultContainerTest.java [new file with mode: 0644]
system/general/src/test/java/org/wamblee/system/core/Application.java
system/general/src/test/java/org/wamblee/system/core/ContainerTest.java