Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 68947D7B9 for ; Thu, 3 Jan 2013 13:40:14 +0000 (UTC) Received: (qmail 43827 invoked by uid 500); 3 Jan 2013 13:40:14 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 43644 invoked by uid 500); 3 Jan 2013 13:40:13 -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 43596 invoked by uid 99); 3 Jan 2013 13:40:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2013 13:40:12 +0000 Date: Thu, 3 Jan 2013 13:40:12 +0000 (UTC) From: "Guillaume Sauthier (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FELIX-3837) PojoizationPlugin should be more extensible MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FELIX-3837?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1354= 2931#comment-13542931 ]=20 Guillaume Sauthier commented on FELIX-3837: ------------------------------------------- I understand your POV, I was just wondering how much we want to have 2 ways= to do the same thing ? BTW, the compile time way is still harder to use (you'll have to both exten= ds the PojoizationPlugin and write your MetadataManipulator). I'm not sure = how we could do something easier for the user. For the runtime way, you just have to write a transformer (equivalent to yo= ur MetadataManipulator). =20 > PojoizationPlugin should be more extensible > ------------------------------------------- > > Key: FELIX-3837 > URL: https://issues.apache.org/jira/browse/FELIX-3837 > Project: Felix > Issue Type: Improvement > Components: iPOJO > Reporter: J=C3=A9r=C3=A9my Cazaux > Attachments: 0001-PojoizationPlugin-should-be-more-extensible.pat= ch > > > I would like to extend Pojoization plugin without duplication of code in = order to manipulate metadata elements from the CacheableMetadataProvider ob= ject just before the pojoization operation (for example to automate the def= inition of my own handlers in the manifest). > So all fields and methods should be protected instead of private and a ne= w mechanism should be add in order to allow to manipulate cacheable metadat= a easily. > I have attached a patch to fix this issue if the extensibility of the plu= gin is acceptable. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira