Return-Path: Delivered-To: apmail-aries-dev-archive@www.apache.org Received: (qmail 84729 invoked from network); 7 Feb 2011 16:48:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Feb 2011 16:48:20 -0000 Received: (qmail 45649 invoked by uid 500); 7 Feb 2011 16:48:20 -0000 Delivered-To: apmail-aries-dev-archive@aries.apache.org Received: (qmail 45552 invoked by uid 500); 7 Feb 2011 16:48:18 -0000 Mailing-List: contact dev-help@aries.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aries.apache.org Delivered-To: mailing list dev@aries.apache.org Received: (qmail 45534 invoked by uid 99); 7 Feb 2011 16:48:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Feb 2011 16:48:18 +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; Mon, 07 Feb 2011 16:48:17 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 76334196AE8 for ; Mon, 7 Feb 2011 16:47:57 +0000 (UTC) Date: Mon, 7 Feb 2011 16:47:57 +0000 (UTC) From: "Jeremy Hughes (JIRA)" To: dev@aries.apache.org Message-ID: <441697287.3.1297097277480.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Updated: (ARIES-138) Give useful feedback when service registration listener callback matching fails 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/ARIES-138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeremy Hughes updated ARIES-138: -------------------------------- Affects Version/s: (was: Incubation) removed 'affects version' incubation as that is a redundant release > Give useful feedback when service registration listener callback matching fails > ------------------------------------------------------------------------------- > > Key: ARIES-138 > URL: https://issues.apache.org/jira/browse/ARIES-138 > Project: Aries > Issue Type: Improvement > Components: Blueprint > Reporter: Mark Nuttall > Priority: Minor > > As a blueprint managed application developer, I'd like some helpful feedback when things aren't working quite as I'd expect. For example, service and service registration listener callback methods "must have a signature matching with the following format": > public void anyMethodName (ServiceType serviceInstance, Map serviceProperties) > > A programmer might well attempt to register a callback method with signature (ServiceType, HashMap) or (ServiceType, Properties) which will not be called: ServiceRegistrationListener.getSignatureType() is strict on demanding 'Map' as the second parameter type. This is correct, but for a certain level of debug, we could certainly output a message indicating that method signature matching had failed, or that various candidate methods had been rejected. > The general requirement here is for programmers to be able to debug their blueprint applications without recourse to the source code :-) -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira