Oracle GlassFish Server 3.0.1 Add-On Component Development Guide

Packaging a Component's Event Providers

Packaging a component's event providers enables the monitoring infrastructure of GlassFish 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:

Example 5–3 Manifest Entry for Event Providers That Are Defined as Java Classes

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