Return-Path: Delivered-To: apmail-jakarta-hivemind-cvs-archive@www.apache.org Received: (qmail 44620 invoked from network); 14 Jun 2006 15:23:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Jun 2006 15:23:29 -0000 Received: (qmail 16782 invoked by uid 500); 14 Jun 2006 15:23:28 -0000 Delivered-To: apmail-jakarta-hivemind-cvs-archive@jakarta.apache.org Received: (qmail 16767 invoked by uid 500); 14 Jun 2006 15:23:28 -0000 Mailing-List: contact hivemind-cvs-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: hivemind-dev@jakarta.apache.org List-Id: Delivered-To: mailing list hivemind-cvs@jakarta.apache.org Received: (qmail 16756 invoked by uid 99); 14 Jun 2006 15:23:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jun 2006 08:23:28 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jun 2006 08:23:28 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 1039B1A983E; Wed, 14 Jun 2006 08:23:08 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r414288 - /jakarta/hivemind/branches/branch-1-1/library/src/documentation/content/xdocs/hivemind-lib/StrategyFactory.xml Date: Wed, 14 Jun 2006 15:23:07 -0000 To: hivemind-cvs@jakarta.apache.org From: jcarman@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060614152308.1039B1A983E@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: jcarman Date: Wed Jun 14 08:23:07 2006 New Revision: 414288 URL: http://svn.apache.org/viewvc?rev=414288&view=rev Log: (empty) Modified: jakarta/hivemind/branches/branch-1-1/library/src/documentation/content/xdocs/hivemind-lib/StrategyFactory.xml Modified: jakarta/hivemind/branches/branch-1-1/library/src/documentation/content/xdocs/hivemind-lib/StrategyFactory.xml URL: http://svn.apache.org/viewvc/jakarta/hivemind/branches/branch-1-1/library/src/documentation/content/xdocs/hivemind-lib/StrategyFactory.xml?rev=414288&r1=414287&r2=414288&view=diff ============================================================================== --- jakarta/hivemind/branches/branch-1-1/library/src/documentation/content/xdocs/hivemind-lib/StrategyFactory.xml (original) +++ jakarta/hivemind/branches/branch-1-1/library/src/documentation/content/xdocs/hivemind-lib/StrategyFactory.xml Wed Jun 14 08:23:07 2006 @@ -30,8 +30,9 @@ StrategyFactory service is used to create a service implementation based on a service interface and a number of strategies implementing that interface.

- The class of the first parameter of each method is used to select the correct strategy instance to - delegate the method invocation to. + By default, the class of the first parameter of each method is used to select the correct strategy instance to + delegate the method invocation to. This can be overridden by using the "parameterIndex" + (the first parameter index is 0) attribute on the <construct> element.

The class-to-strategy lookup understands inheritance. If an exact match for a class is not found, --------------------------------------------------------------------- To unsubscribe, e-mail: hivemind-cvs-unsubscribe@jakarta.apache.org For additional commands, e-mail: hivemind-cvs-help@jakarta.apache.org