Class IntegrationConnectorProvider

java.lang.Object
org.odpi.openmetadata.frameworks.connectors.ConnectorProvider
org.odpi.openmetadata.frameworks.connectors.ConnectorProviderBase
org.odpi.openmetadata.frameworks.integration.connectors.IntegrationConnectorProvider
All Implemented Interfaces:
org.odpi.openmetadata.frameworks.auditlog.AuditLoggingComponent

public class IntegrationConnectorProvider extends org.odpi.openmetadata.frameworks.connectors.ConnectorProviderBase
The IntegrationConnectorProvider provides a base class for the connector provider supporting Integration Connectors. It extends ConnectorProviderBase which does the creation of connector instances. The subclasses of IntegrationConnectorProvider must initialize ConnectorProviderBase with the Java class name of their Connector implementation (by calling super.setConnectorClassName(className)). Then the connector provider will work.
  • Field Summary

    Fields inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorProviderBase

    auditLog, connectorInterfaces, connectorTypeBean
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor used to initialize the ConnectorProviderBase with the Java class name of the specific discovery service implementation.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Return the recommended number of minutes between each call to the connector to refresh the metadata.
    boolean
    Return if the connector should be started in its own thread to allow it is block on a listening call.
    protected void
    setRefreshTimeInterval(long refreshTimeInterval)
    Set up the recommended number of minutes between each call to the connector to refresh the metadata.
    protected void
    setUsesBlockingCalls(boolean usesBlockingCalls)
    Set up if the connector should be started in its own thread to allow it is block on a listening call.

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorProviderBase

    equals, getConnector, getConnector, getConnectorClassName, getConnectorComponentDescription, getConnectorType, getConnectorTypeProperties, getNewConnectorGUID, hashCode, setAuditLog, setConnectorClassName, setConnectorComponentDescription, setConnectorTypeProperties, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • IntegrationConnectorProvider

      public IntegrationConnectorProvider()
      Constructor used to initialize the ConnectorProviderBase with the Java class name of the specific discovery service implementation.
  • Method Details

    • getRefreshTimeInterval

      public long getRefreshTimeInterval()
      Return the recommended number of minutes between each call to the connector to refresh the metadata. Zero means that refresh is only called at server start up and whenever the refresh REST API request is made to the integration daemon. If the refresh time interval is greater than 0 then additional calls to refresh are added spaced out by the refresh time interval.
      Returns:
      minute count
    • setRefreshTimeInterval

      protected void setRefreshTimeInterval(long refreshTimeInterval)
      Set up the recommended number of minutes between each call to the connector to refresh the metadata. Zero means that refresh is only called at server start up and whenever the refresh REST API request is made to the integration daemon. If the refresh time interval is greater than 0 then additional calls to refresh are added spaced out by the refresh time interval.
      Parameters:
      refreshTimeInterval - minute count
    • getUsesBlockingCalls

      public boolean getUsesBlockingCalls()
      Return if the connector should be started in its own thread to allow it is block on a listening call.
      Returns:
      boolean flag
    • setUsesBlockingCalls

      protected void setUsesBlockingCalls(boolean usesBlockingCalls)
      Set up if the connector should be started in its own thread to allow it is block on a listening call.
      Parameters:
      usesBlockingCalls - boolean flag