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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
querySpecificationAdded(IRegistrySourceConnector connector, IQuerySpecificationProvider specificationProvider)
Called when a new query specification is added to the given connector.void
querySpecificationRemoved(IRegistrySourceConnector connector, IQuerySpecificationProvider specificationProvider)
Called when a query specification is removed from the given connector.
-
-
-
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 specificationspecificationProvider
- 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 specificationspecificationProvider
- that wraps the removed specification
-
-