You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by bu...@apache.org on 2013/02/17 03:20:43 UTC
svn commit: r850818 - in /websites/production/tapestry/content:
cache/main.pageCache ioc-cookbook-basic-services-and-injection.html
Author: buildbot
Date: Sun Feb 17 02:20:43 2013
New Revision: 850818
Log:
Production update by buildbot for tapestry
Modified:
websites/production/tapestry/content/cache/main.pageCache
websites/production/tapestry/content/ioc-cookbook-basic-services-and-injection.html
Modified: websites/production/tapestry/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/tapestry/content/ioc-cookbook-basic-services-and-injection.html
==============================================================================
--- websites/production/tapestry/content/ioc-cookbook-basic-services-and-injection.html (original)
+++ websites/production/tapestry/content/ioc-cookbook-basic-services-and-injection.html Sun Feb 17 02:20:43 2013
@@ -72,13 +72,9 @@ table.ScrollbarTable td.ScrollbarNextIco
<h1><a shape="rect" name="IoCCookbook-BasicServicesandInjection-GettingStarted"></a>Getting Started</h1>
-<p>Like anything else, you want to choose a package for your application, such as org.example.myapp.</p>
+<p>As always, you'll first need to choose a package for your application, such as org.example.myapp.</p>
-<p>By convention, services go in a package named "services".</p>
-
-<p>Module classes are suffixed with "Module".</p>
-
-<p>Thus, you might start with a module class org.example.myapp.services.MyAppModule.</p>
+<p>By convention, services go in a sub-package named "services". Tapestry IOC Module class names have a "Module" suffix. Thus, you might start with a module class org.example.myapp.services.MyAppModule.</p>
<h1><a shape="rect" name="IoCCookbook-BasicServicesandInjection-SimpleServices"></a>Simple Services</h1>
@@ -108,7 +104,6 @@ table.ScrollbarTable td.ScrollbarNextIco
<span class="code-keyword">public</span> class ExceptionAnalyzerImpl <span class="code-keyword">implements</span> ExceptionAnalyzer
{
<span class="code-keyword">private</span> <span class="code-keyword">final</span> PropertyAccess propertyAccess;
-
<span class="code-keyword">public</span> ExceptionAnalyzerImpl(PropertyAccess propertyAccess)
{
<span class="code-keyword">this</span>.propertyAccess = propertyAccess;