How about sending a notification in the prepareShutdown() from resource B
while resource A is subscribed to resource B ? 

That function is called before the actual resource is terminated (before the
function shutdown).

Of course this is the simplified and perhaps not proper way of doing things.

/Lenni

"Cake is not a dual-use food stuff"
-----Oprindelig meddelelse-----
Fra: Jan Torben Heuer [mailto:[EMAIL PROTECTED] 
Sendt: 7. august 2008 14:34
Til: [email protected]
Emne: Listening for resource shutdown?

Hi,

I have two resources (BrokeredNotification) A and B.

A creates new resources of type B.

B can by destroyed manually or through its ScheduledTermination Capability 
(using muse's SimpleScheduledTermination).

How can A be informed that an instance of B has been destroyed?

Thanks,

Jan
-- 
                                Institute for Geoinformatics
[EMAIL PROTECTED]       Robert-Koch-Strasse 26-28
+49 251 83-31960                48151 Münster, Germany


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to