From: erik 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.2~1^2~150 X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=89c88ac43fae02ff527fd252cee058a9523b78e9;hp=e509c3ca4496543988a1cd3dee06859c86becc0b;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);