[
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