We add and remove descriptor and connection repositories during our application lifecycle using MetadataManager. It seems useful and logical to have listener interfaces for DescriptorRepository and ConnectionRepository because some objects need to cleanup their state when the metadata is removed.

For example, a sequence manager might want to discard a transient part of sequences for a jcd that's just been unloaded - just like it happens when the sequence manager is garbage collected.

Do you think it's a good idea to add metadata listeners to the OJB API?

Pulat

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



Reply via email to