Skip to Content.
Sympa Menu

notify-dpml - r1508 - trunk/main/metro/runtime/src/main/net/dpml/metro/runtime

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: r1508 - trunk/main/metro/runtime/src/main/net/dpml/metro/runtime
  • Date: Thu, 8 Jun 2006 04:00:56 +0200

Author: mcconnell
Date: 2006-06-08 04:00:46 +0200 (Thu, 08 Jun 2006)
New Revision: 1508

Modified:

trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/DefaultComponentHandler.java

trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/DefaultProvider.java
Log:
improve log messages

Modified:
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/DefaultComponentHandler.java
===================================================================
---
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/DefaultComponentHandler.java
2006-06-08 01:44:44 UTC (rev 1507)
+++
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/DefaultComponentHandler.java
2006-06-08 02:00:46 UTC (rev 1508)
@@ -246,7 +246,16 @@

m_parts = new DefaultPartsManager( control, this, logger );

- getLogger().debug( "established " + lifestyle + " handler for [" +
m_class.getName() + "]" );
+ if( getLogger().isDebugEnabled() )
+ {
+ String style = lifestyle.toString().toLowerCase();
+ getLogger().debug(
+ "established "
+ + style
+ + " handler for ["
+ + m_class.getName()
+ + "]" );
+ }
}


//--------------------------------------------------------------------------
@@ -294,7 +303,6 @@
*/
public Provider getProvider() throws InvocationTargetException,
ControlException
{
- getLogger().debug( "getProvider" );
commission();
return m_holder.getProvider();
}
@@ -362,9 +370,7 @@
if( getLogger().isDebugEnabled() )
{
getLogger().debug(
- "lookup in ["
- + this
- + "] for ["
+ "mediating lookup for ["
+ service.getServiceClass().getName()
+ "]." );
}

Modified:
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/DefaultProvider.java
===================================================================
---
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/DefaultProvider.java
2006-06-08 01:44:44 UTC (rev 1507)
+++
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/DefaultProvider.java
2006-06-08 02:00:46 UTC (rev 1508)
@@ -310,7 +310,7 @@
}
m_value = m_handler.createNewObject( this );
m_tag = createTag( m_value );
- getLogger().debug( "activating instance" + m_tag );
+ getLogger().debug( "activating instance " + m_tag );
m_machine.initialize( m_value );
m_activated = true;
}




  • r1508 - trunk/main/metro/runtime/src/main/net/dpml/metro/runtime, mcconnell at BerliOS, 06/07/2006

Archive powered by MHonArc 2.6.24.

Top of Page