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.
Regards,
Stoyan
----- Original Message -----
Sent: Tuesday, February 19, 2008 6:56
PM
Subject: [equinox-dev] DS exception in
activate method
Hello,
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?
BTW 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 lukasz.bobowiec@xxxxxxxxxx (+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 equinox-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/equinox-dev
__________
NOD32 2886 (20080219) Information __________
This message was checked
by NOD32 antivirus system. http://www.eset.com
|