Return-Path: Delivered-To: apmail-incubator-click-commits-archive@minotaur.apache.org Received: (qmail 59444 invoked from network); 18 Oct 2009 06:39:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Oct 2009 06:39:06 -0000 Received: (qmail 86305 invoked by uid 500); 18 Oct 2009 06:39:06 -0000 Delivered-To: apmail-incubator-click-commits-archive@incubator.apache.org Received: (qmail 86291 invoked by uid 500); 18 Oct 2009 06:39:06 -0000 Mailing-List: contact click-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: click-dev@incubator.apache.org Delivered-To: mailing list click-commits@incubator.apache.org Received: (qmail 86281 invoked by uid 99); 18 Oct 2009 06:39:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Oct 2009 06:39:05 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Oct 2009 06:39:03 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 5B083238889D; Sun, 18 Oct 2009 06:38:43 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r826365 - /incubator/click/trunk/click/framework/src/org/apache/click/service/ConfigService.java Date: Sun, 18 Oct 2009 06:38:43 -0000 To: click-commits@incubator.apache.org From: sabob@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091018063843.5B083238889D@eris.apache.org> Author: sabob Date: Sun Oct 18 06:38:42 2009 New Revision: 826365 URL: http://svn.apache.org/viewvc?rev=826365&view=rev Log: doco Modified: incubator/click/trunk/click/framework/src/org/apache/click/service/ConfigService.java Modified: incubator/click/trunk/click/framework/src/org/apache/click/service/ConfigService.java URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/service/ConfigService.java?rev=826365&r1=826364&r2=826365&view=diff ============================================================================== --- incubator/click/trunk/click/framework/src/org/apache/click/service/ConfigService.java (original) +++ incubator/click/trunk/click/framework/src/org/apache/click/service/ConfigService.java Sun Oct 18 06:38:42 2009 @@ -32,7 +32,7 @@ *

* A single application ConfigService instance is created by the ClickServlet at * startup. Once the ConfigService has been initialized it is stored in the - * ServletContext using the key "org.apache.click.service.ConfigService". + * ServletContext using the key {@value #CONTEXT_NAME}. * * *

Configuration

@@ -76,21 +76,22 @@ * Also define the new service in your web.xml as follows: * *
- * <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
+ * {@code
+ * 
  *
  * ...
  *
- *     <context-param>
- *         <param-name>config-service-class</param-name>
- *         <param-value>com.mycorp.service.CustomConfigSerivce</param-value>
- *     </context-param>
+ *     
+ *         config-service-class
+ *         com.mycorp.service.CustomConfigSerivce
+ *     
  *
  * ...
  *
- * </web-app> 
+ * } */ public interface ConfigService { @@ -121,7 +122,7 @@ /** * The servlet context attribute name. The ClickServlet stores the * application ConfigService instance in the ServletContext using this - * context attribute name. + * context attribute name. The value of this constant is {@value}. */ public static final String CONTEXT_NAME = "org.apache.click.service.ConfigService";