Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 2360 invoked from network); 7 Nov 2010 10:19:02 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Nov 2010 10:19:02 -0000 Received: (qmail 76197 invoked by uid 500); 7 Nov 2010 10:19:33 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 76072 invoked by uid 500); 7 Nov 2010 10:19:31 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 76064 invoked by uid 99); 7 Nov 2010 10:19:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Nov 2010 10:19:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Nov 2010 10:19:31 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oA7AJBq5001370 for ; Sun, 7 Nov 2010 10:19:11 GMT Message-ID: <32754634.61841289125151026.JavaMail.jira@thor> Date: Sun, 7 Nov 2010 05:19:11 -0500 (EST) From: "Clement Escoffier (JIRA)" To: dev@felix.apache.org Subject: [jira] Commented: (FELIX-2624) Support multiple whiteboards using annotations In-Reply-To: <3000000.376311285290752404.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FELIX-2624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12929322#action_12929322 ] Clement Escoffier commented on FELIX-2624: ------------------------------------------ I've added a @Whiteboards annotation allowing to configure several whiteboards such as in: @Component @Whiteboards(whiteboards={ @Wbp(filter="(foo=true)", onArrival="onArrival", onDeparture="onDeparture"), @Wbp(filter="(foo=true)", onArrival="onArrival", onDeparture="onDeparture", onModification="onModification") }) public class MyClass { //... } > Support multiple whiteboards using annotations > ---------------------------------------------- > > Key: FELIX-2624 > URL: https://issues.apache.org/jira/browse/FELIX-2624 > Project: Felix > Issue Type: Improvement > Components: iPOJO > Affects Versions: iPOJO-1.6.0 > Reporter: Peter Donald > Priority: Minor > Fix For: iPOJO-1.8.0 > > > The @Wbp() annotation can only be applied once to a class. It would be nice to support multiple @Wbp annotations via something such as > @Whiteboards({@Wbp(...), @Wbp(...), @Wbp(...), @Wbp(...)} > public class My Class {...} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.