notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
r1660 - trunk/main/metro/runtime/src/main/net/dpml/metro/runtime
- From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
- To: notify-dpml AT lists.ibiblio.org
- Subject: r1660 - trunk/main/metro/runtime/src/main/net/dpml/metro/runtime
- Date: Mon, 24 Jul 2006 22:11:36 +0200
Author: mcconnell
Date: 2006-07-24 22:11:24 +0200 (Mon, 24 Jul 2006)
New Revision: 1660
Modified:
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/CompositionController.java
Log:
housekeeping
Modified:
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/CompositionController.java
===================================================================
---
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/CompositionController.java
2006-07-24 20:08:23 UTC (rev 1659)
+++
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/CompositionController.java
2006-07-24 20:11:24 UTC (rev 1660)
@@ -205,14 +205,15 @@
ClassLoader base = anchor;
Logger logger = getLogger();
+ Class root = ComponentDirective.class.getName();
try
{
- base.loadClass( ComponentDirective.class.getName() );
+ base.loadClass( root );
}
catch( ClassNotFoundException e )
{
- ClassLoader management =
ComponentDirective.class.getClassLoader();
+ ClassLoader management = root.getClassLoader();
base = new CompositionClassLoader( logger, name,
Category.PROTECTED, management, anchor );
}
- r1660 - trunk/main/metro/runtime/src/main/net/dpml/metro/runtime, mcconnell at BerliOS, 07/24/2006
Archive powered by MHonArc 2.6.24.