Packaging a component's event providers enables the monitoring infrastructure of Enterprise Server to discover the event providers automatically.
To package a component's event providers, add an entry to the component's META-INF/MANIFEST.MF file that identifies all of the component's event providers. The format of the entry depends on how the event providers are defined:
If the event providers are defined as Java classes, the entry is a list of the event providers' class names as follows:
probe-provider-class-names : class-list
A comma-separated list of the fully qualified Java class names of the component's event providers.
If the event providers are defined as XML fragments, the entry is a list of the paths to the files that contain the XML fragments as follows:
probe-provider-xml-file-names : path-list
A comma-separated list of the paths to the XML files relative to the root of the archive in the JAR file.
This example shows the entry in the META-INF/MANIFEST.MF file of a component whose event provider is the org.glassfish.pluggability.monitoring.ModuleProbeProvider class.
probe-provider-class-names : org.glassfish.pluggability.monitoring.ModuleProbeProvider