From 9318dff6314b5b0fe5cf1efb058df275ff7d489d Mon Sep 17 00:00:00 2001 From: erik Date: Thu, 15 May 2008 10:17:51 +0000 Subject: [PATCH] ORMappingConfig is now provided by the datasource component. 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). --- .../java/org/wamblee/system/core/DefaultRequiredInterface.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system/general/src/main/java/org/wamblee/system/core/DefaultRequiredInterface.java b/system/general/src/main/java/org/wamblee/system/core/DefaultRequiredInterface.java index 5e9f8bb6..7fc96530 100644 --- a/system/general/src/main/java/org/wamblee/system/core/DefaultRequiredInterface.java +++ b/system/general/src/main/java/org/wamblee/system/core/DefaultRequiredInterface.java @@ -90,6 +90,8 @@ public class DefaultRequiredInterface implements RequiredInterface { @Override public void setProvider(ProvidedInterface aProvider) { + assert aProvider != null; + assert implementedBy(aProvider); _provider = aProvider; } -- 2.31.1