Hi all,

I am working on custom DistributionProvider implementation and I have a 
question regarding lifecycle of imported services. I have seen that for the 
export flow, the endpoint returned by the DistributionProvider allows my 
implementation to become aware when the endpoint is closed allowing my 
implementation to cleanup/free any resources it used for the export. For 
imported endpoints however I don't see a direct way looking at the 
DistributionProvider interface to become aware of the service that was created 
for that endpoint is no longer being used/needed.
I have seen the RemoteServiceAdminCore emits the IMPORT_UNREGISTRATION 
RemoteServiceAdminEvent, but I am unsure if it is wise/correct to listen to 
this event from my DistributionProvider implementation.

Are there any ideas on how to deal with this?

Best regards,

Arnoud Glimmerveen


------------------------------------------------------------------------------------------------------------
Disclaimer:

If you are not the intended recipient of this email, please notify the sender 
and
delete it.
Any unauthorized copying, disclosure or distribution of this email or its
attachment(s) is forbidden.
Thales Nederland BV will not accept liability for any damage caused by this 
email or
its attachment(s).
Thales Nederland BV is seated in Hengelo and is registered at the Chamber of
Commerce under number 06061578.
------------------------------------------------------------------------------------------------------------

Reply via email to