ORMappingConfig is now provided by the datasource component.
authorerik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Thu, 15 May 2008 10:17:51 +0000 (10:17 +0000)
committererik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Thu, 15 May 2008 10:17:51 +0000 (10:17 +0000)
ExternalDatasourceComponent reads config from property file.
Next step is that it requires config from a separate
Properties object which is provided by either a property component,
or a DatabaseComponent (e.g. Derby).

system/general/src/main/java/org/wamblee/system/core/DefaultRequiredInterface.java

index 5e9f8bb60dda715ef632f6d58029f88353e89fc4..7fc965308d4603e2386325c86c7f40c07e763c0d 100644 (file)
@@ -90,6 +90,8 @@ public class DefaultRequiredInterface implements RequiredInterface {
        
        @Override
        public void setProvider(ProvidedInterface aProvider) {
+           assert aProvider != null; 
+           assert implementedBy(aProvider);
                _provider = aProvider;  
        }