tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject svn commit: r722173 - in /tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc: RegistryBuilder.java internal/ModuleImpl.java
Date Mon, 01 Dec 2008 18:50:05 GMT
Author: hlship
Date: Mon Dec  1 10:50:05 2008
New Revision: 722173

URL: http://svn.apache.org/viewvc?rev=722173&view=rev
Log:
TAP5-393: Tapestry IOC should log the names of any loaded module classes and clearly indicate
module classes that could not be loaded

Modified:
    tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/RegistryBuilder.java
    tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/ModuleImpl.java

Modified: tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/RegistryBuilder.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/RegistryBuilder.java?rev=722173&r1=722172&r2=722173&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/RegistryBuilder.java
(original)
+++ tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/RegistryBuilder.java
Mon Dec  1 10:50:05 2008
@@ -119,6 +119,8 @@
 
             addedModuleClasses.add(c);
 
+            logger.info("Adding module definition for " + c);
+
             ModuleDef def = new DefaultModuleDefImpl(c, logger, classFactory);
             add(def);
 

Modified: tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/ModuleImpl.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/ModuleImpl.java?rev=722173&r1=722172&r2=722173&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/ModuleImpl.java
(original)
+++ tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/ModuleImpl.java
Mon Dec  1 10:50:05 2008
@@ -484,4 +484,10 @@
     {
         return moduleDef.getLoggerName();
     }
+
+    @Override
+    public String toString()
+    {
+        return String.format("ModuleImpl[%s]", moduleDef.getLoggerName());
+    }
 }
\ No newline at end of file



Mime
View raw message