Interface ApiListener


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

      • added

        <A extends ApiMetadata> void added​(A api)
        Method to be called when an api gets added.
        Type Parameters:
        A - The ApiMetadata.
        Parameters:
        api - The api that was added.
      • removed

        <A extends ApiMetadata> void removed​(A api)
        Method to be called when an api gets removed.
        Type Parameters:
        A - The ApiMetadata.
        Parameters:
        api - The api that was added.