notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
r1657 - trunk/main/transit/core/src/main/net/dpml/transit
- From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
- To: notify-dpml AT lists.ibiblio.org
- Subject: r1657 - trunk/main/transit/core/src/main/net/dpml/transit
- Date: Mon, 24 Jul 2006 19:02:18 +0200
Author: mcconnell
Date: 2006-07-24 19:02:15 +0200 (Mon, 24 Jul 2006)
New Revision: 1657
Modified:
trunk/main/transit/core/src/main/net/dpml/transit/DefaultTransitModel.java
Log:
add trace info about the system classloader identity
Modified:
trunk/main/transit/core/src/main/net/dpml/transit/DefaultTransitModel.java
===================================================================
---
trunk/main/transit/core/src/main/net/dpml/transit/DefaultTransitModel.java
2006-07-24 16:17:08 UTC (rev 1656)
+++
trunk/main/transit/core/src/main/net/dpml/transit/DefaultTransitModel.java
2006-07-24 17:02:15 UTC (rev 1657)
@@ -81,6 +81,12 @@
try
{
TransitDirective directive = new TransitDirective( null, new
CacheDirective() );
+ if( logger.isTraceEnabled() )
+ {
+ ClassLoader system = ClassLoader.getSystemClassLoader();
+ int id = System.identityHashCode( system );
+ logger.trace( "system classloader id: " + id );
+ }
return new DefaultTransitModel( EVENT_QUEUE, logger, directive );
}
catch( Exception e )
@@ -131,6 +137,12 @@
public static DefaultTransitModel getDefaultModel( Logger logger )
throws Exception
{
String path = System.getProperty( PROFILE_KEY );
+ if( logger.isTraceEnabled() )
+ {
+ ClassLoader system = ClassLoader.getSystemClassLoader();
+ int id = System.identityHashCode( system );
+ logger.trace( "system classloader id: " + id );
+ }
if( null != path )
{
URL url = Artifact.createArtifact( path ).toURL();
- r1657 - trunk/main/transit/core/src/main/net/dpml/transit, mcconnell at BerliOS, 07/24/2006
Archive powered by MHonArc 2.6.24.