Interface ProviderListener


  • public interface ProviderListener
    A listener interface for ProviderMetadata. In OSGi a provider can be added or removed dynamically. OSGi services using this interface will receive a notification whenever this happens.
    • Method Detail

      • added

        <P extends ProviderMetadata> void added​(P provider)
        Method to be called when a Provider gets added.
        Type Parameters:
        P - The ProviderMetadata.
        Parameters:
        provider - The provider that was added.
      • removed

        <P extends ProviderMetadata> void removed​(P provider)
        Method to be called when a Provider gets removed.
        Type Parameters:
        P - The ProviderMetadata.
        Parameters:
        provider - The provider that was added.