Interface IConnectorListener


  • public interface IConnectorListener
    Connector listeners are used to receive notifications on addition and removal of query specifications. The connector itself is also passed in the methods to allow the usage of the same listener on multiple connectors.
    Since:
    1.3
    • Method Detail

      • querySpecificationAdded

        void querySpecificationAdded​(IRegistrySourceConnector connector,
                                     IQuerySpecificationProvider specificationProvider)
        Called when a new query specification is added to the given connector. The provider interface is used to avoid class loading as long as possible.
        Parameters:
        connector - that has a new specification
        specificationProvider - that wraps the new specification
      • querySpecificationRemoved

        void querySpecificationRemoved​(IRegistrySourceConnector connector,
                                       IQuerySpecificationProvider specificationProvider)
        Called when a query specification is removed from the given connector. The provider interface is used to avoid class loading as long as possible.
        Parameters:
        connector - that has a removed specification
        specificationProvider - that wraps the removed specification