Modified:
/GettingStarted.wiki
=======================================
--- /GettingStarted.wiki Thu Jul 14 12:19:49 2011
+++ /GettingStarted.wiki Thu Jul 14 13:59:03 2011
@@ -267,12 +267,12 @@
Service service = new ServiceImpl(name);
// Create a key to uniquely represent the service
- StatsKey serviceKey = Stats.buildKey("services")
- .withAttribute("name", name)
- .newKey();
+ StatsKey serviceKey = statsFactory.buildKey("services")
+ .withAttribute("name", name)
+ .newKey();
// Proxy the service, implementing all of its interfaces
- service = StatsProxy.wrap(Stats.getManager(),
+ service = StatsProxy.wrap(statsFactory,
serviceKey,
service);