[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] DS exception in activate method

I have recently raised the same question in OSGi. It was decided that in this case only "unbind()" methods will be called.
The OSGi specification will contain clarification about that in its next release.
----- Original Message -----
Sent: Tuesday, February 19, 2008 6:56 PM
Subject: [equinox-dev] DS exception in activate method


I have not found in the OSGi r4 compendium what is the behaviour when an exception is raised in the activate(ComponentContext context) method in a component which is managed by Declarative Services.

Does "deactivate()" should be invoked? or only "unbind()" methods? The specification should be more specific in this case.

Could you provide me this information?

I found that in the old DS equinox implementation no action was taken. However in the ProSyst contribution "unbind()" is invoked on the component instance.

Best regards,

Lukasz Bobowiec
Software Engineer, Common Agent Services
(+48 12) 628 9882

IBM SWG Lab, Cracow, Poland
IBM Polska Sp. z o.o. oddział w Krakowie
ul. Armii Krajowej 18
30 -150 Kraków

NIP: 526-030-07-24
Sąd Rejonowy dla m.st. Warszawy, XIII Wydział Gospodarczy KRS
KRS 0000012941, Kapitał zakładowy: 3.073.600 PLN

equinox-dev mailing list

__________ NOD32 2886 (20080219) Information __________

This message was checked by NOD32 antivirus system.