From: Erik Brakkee Date: Mon, 12 May 2008 23:20:21 +0000 (+0000) Subject: Now the HibernateUserTest is uses components to connect the different parts together... X-Git-Tag: wamblee-utils-0.7~750 X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=5230835ae5a8401f3a4d75ce395b8ee901e91a5d;p=utils Now the HibernateUserTest is uses components to connect the different parts together and to obtain the test objects. Next step is to create a component for the current functionality of SpringTestCase and to use that instead of SpringTestCase. --- diff --git a/system/spring/src/main/java/org/wamblee/system/spring/SpringComponent.java b/system/spring/src/main/java/org/wamblee/system/spring/SpringComponent.java index 657d11e4..1da30a32 100644 --- a/system/spring/src/main/java/org/wamblee/system/spring/SpringComponent.java +++ b/system/spring/src/main/java/org/wamblee/system/spring/SpringComponent.java @@ -124,7 +124,7 @@ public class SpringComponent extends AbstractComponent { return scope; } catch (Exception e) { throw new SystemAssemblyException( - "Failed to assemble spring system", e); + "Failed to assemble spring system " + getName(), e); } finally { THIS.set(old); SCOPE.set(oldScope);