Interface ConnectorConfigurator<C extends Connector<?>>


  • public interface ConnectorConfigurator<C extends Connector<?>>
    Can be used to configure connectors of a certain type. An implementation will be supplied with all discovered connectors of the specified class. Connector.getId() may be used for further restrict configuration to connectors with a specific id.
    • Method Detail

      • getConnectorClass

        java.lang.Class<C> getConnectorClass()
        Returns:
        the class of connectors this configurator can configure (including subclasses)
      • configure

        void configure​(C connector)
        Configures the connector instance. This method is invoked with all connectors of the specified class.
        Parameters:
        connector - the connector instance to configure