You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2010/03/27 02:24:17 UTC
svn commit: r928118 -
/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java
Author: hlship
Date: Sat Mar 27 01:24:17 2010
New Revision: 928118
URL: http://svn.apache.org/viewvc?rev=928118&view=rev
Log:
TAP5-940: Expose Environmental Hearthbeat as an injectable service
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java?rev=928118&r1=928117&r2=928118&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java Sat Mar 27 01:24:17 2010
@@ -85,7 +85,6 @@ import org.apache.tapestry5.internal.uti
import org.apache.tapestry5.internal.validator.ValidatorMacroImpl;
import org.apache.tapestry5.ioc.*;
import org.apache.tapestry5.ioc.annotations.*;
-import org.apache.tapestry5.ioc.internal.services.UpdateListenerHubImpl;
import org.apache.tapestry5.ioc.internal.util.CollectionFactory;
import org.apache.tapestry5.ioc.internal.util.IdAllocator;
import org.apache.tapestry5.ioc.services.*;
@@ -2862,4 +2861,13 @@ public final class TapestryModule
}
}
+ /**
+ * Exposes the Environmental {@link Heartbeat} as an injective service.
+ *
+ * @since 5.2.0
+ */
+ public Heartbeat buildHeartbeat()
+ {
+ return environmentalBuilder.build(Heartbeat.class);
+ }
}