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 DD360987D for ; Sun, 10 Mar 2013 18:59:23 +0000 (UTC) Received: (qmail 8217 invoked by uid 500); 10 Mar 2013 18:59:23 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 8170 invoked by uid 500); 10 Mar 2013 18:59:23 -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 8160 invoked by uid 99); 10 Mar 2013 18:59:23 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Mar 2013 18:59:23 +0000 Received: from localhost (HELO mail-oa0-f49.google.com) (127.0.0.1) (smtp-auth username cziegeler, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Mar 2013 18:59:23 +0000 Received: by mail-oa0-f49.google.com with SMTP id j6so3845790oag.36 for ; Sun, 10 Mar 2013 11:59:22 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.182.74.5 with SMTP id p5mr6762434obv.74.1362941962160; Sun, 10 Mar 2013 11:59:22 -0700 (PDT) Received: by 10.60.142.39 with HTTP; Sun, 10 Mar 2013 11:59:22 -0700 (PDT) In-Reply-To: <40B5B1C3-170D-48C5-B245-85FE3B8B592A@adobe.com> References: <40B5B1C3-170D-48C5-B245-85FE3B8B592A@adobe.com> Date: Sun, 10 Mar 2013 19:59:22 +0100 Message-ID: Subject: Re: [InventoryPrinter] Finding methods by reflection From: Carsten Ziegeler To: dev@felix.apache.org Content-Type: text/plain; charset=ISO-8859-1 Hi, > My opinion would be: > > (a) search the implementation class only > (b) accept all method modifiers > (c) document to prefer private > > Alternatively we could search the class hierarchy as is defined in section 112.9.4 (Locating Component Methods) of the Declarative Services specification. I think the current implementation searches the hierarchy - I don't have a strong preference, but I think searching the hierarchy is better. Carsten > > WDYT ? > > Regards > Felix > > PS: Web Console 4 supported (for the ConfigurationPrinter) searching the implementation class only and supporting any modifier. > > -- > Felix Meschberger | Principal Scientist | Adobe > > > > > > > -- Carsten Ziegeler cziegeler@apache.org