Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 65105 invoked from network); 22 Feb 2011 17:19:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Feb 2011 17:19:03 -0000 Received: (qmail 56162 invoked by uid 500); 22 Feb 2011 17:19:03 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 55744 invoked by uid 500); 22 Feb 2011 17:19:01 -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 55681 invoked by uid 99); 22 Feb 2011 17:18:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Feb 2011 17:18:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Feb 2011 17:18:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 68DA91B1836 for ; Tue, 22 Feb 2011 17:18:38 +0000 (UTC) Date: Tue, 22 Feb 2011 17:18:38 +0000 (UTC) From: "Carsten Ziegeler (JIRA)" To: dev@felix.apache.org Message-ID: <716415395.8662.1298395118410.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <511251519.10424.1297429917425.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Resolved: (FELIX-2838) Allow classes to be specifed as values for the @Property annotation 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-2838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler resolved FELIX-2838. ------------------------------------- Resolution: Fixed Fix Version/s: maven-scr-plugin-1.6.2 Added new classValue to the Property annotation in revision 1073416 > Allow classes to be specifed as values for the @Property annotation > ------------------------------------------------------------------- > > Key: FELIX-2838 > URL: https://issues.apache.org/jira/browse/FELIX-2838 > Project: Felix > Issue Type: Improvement > Components: SCR Annotations > Affects Versions: maven-scr-plugin-1.6.0, scr annotations 1.4.0 > Reporter: Felix Meschberger > Assignee: Carsten Ziegeler > Fix For: maven-scr-plugin-1.6.2, scr annotations 1.5.0 > > > Sometimes the value of a DS property should be a fully qualified class name. In such cases these names must be written as class literals for the annotation to be processed. > It would be nice if one could write something like > @Property(name=theProperty, classValue=some.special.Operation.class) > to actually cause a string (or multi-value string) property of the form > theProperty = "some.special.Operation" > to be generated. > One such example is the value(s) of the "adaptables" and "adapters" service registration properties of Sling AdapterFactory services. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira