[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Declarative Services Bind/Unbind Method Signatures

The DS 1.1 spec does NOT require bind and unbind methods for a reference to have the same signatures. If the Equinox DS impl requires them to, please open a bug.

BJ Hargrave
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the
OSGi Alliance

office: +1 386 848 1781
mobile: +1 386 848 3788

From: Andrew Teirney <andrew@xxxxxxxxxxx>
To: equinox-dev@xxxxxxxxxxx
Date: 2009/05/28 20:18
Subject: [equinox-dev] Declarative Services Bind/Unbind Method Signatures
Sent by: equinox-dev-bounces@xxxxxxxxxxx

Does a declarative services components unbind method have to have the
same signature as its corresponding bind method?

I have noticed in the commit...


In that change this results in at lines 462,463 for the unbind
invocation using the method parameters as obtained from the bind
method, this results in an IllegalArgumentException if the unbind
method does not have the same signature as the bind method.

equinox-dev mailing list