At http://tapestry.apache.org/tapestry5/tapestry-ioc/overview.html there are two code examples under "Why can't I just use new?". I think the class should not implement MetricProducer as the concept of coding to interfaces is introduced later in the text.
At http://tapestry.apache.org/tapestry5/tapestry-ioc/service.html under the "Injecting Dependencies" there is a text right beneath the code example saying: "Here we've annotated the parameters of the service builder method to identify what service to inject for that parameter. ". I see no annotations.
|Field||Original Value||New Value|
|Assignee||Howard M. Lewis Ship [ hlship ]|
|Summary||Documentation for tapestry ioc errors||Tapestry IoC documentation improvements|
|Status||Open [ 1 ]||Closed [ 6 ]|
|Fix Version/s||220.127.116.11 [ 12313428 ]|
|Resolution||Fixed [ 1 ]|
|Issue Type||Bug [ 1 ]||Improvement [ 4 ]|
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|47d 9h 33m||1||Howard M. Lewis Ship||12/Jan/09 23:05|