Previous Topic

Next Topic

Book Contents

Book Index

Subscribing for Metadata Changes

A document on subscribing for metadata changes notifications.

The Metadata Manager is capable of notifying applications about added, removed or changed XML-formatted metadata. Interested applications should implement a com.prosyst.mbs.services.metatype.MetaDataListener and registers it in the Metadata Manager through the addMetaDataListener method.

For metadata, exported by Metatype Provider services, you may use the eventing mechanism of the OSGi framework to receive notifications about metadata changes – for example, by registering a service listener for Metatype Providers.