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:
AuditLoggingComponent
- Direct Known Subclasses:
ApacheAtlasIntegrationProvider
,APIBasedOpenLineageLogStoreProvider
,CSVLineageImporterProvider
,DataFilesMonitorIntegrationProvider
,DataFolderMonitorIntegrationProvider
,DistributeAuditEventsFromKafkaProvider
,FileBasedOpenLineageLogStoreProvider
,GovernanceActionOpenLineageIntegrationProvider
,HarvestOpenMetadataProvider
,HarvestSurveysProvider
,IntegrationConnectorProvider
,JDBCIntegrationConnectorProvider
,KafkaTopicIntegrationProvider
,OMAGServerPlatformCatalogProvider
,OMArchiveFilesMonitorIntegrationProvider
,OpenAPIMonitorIntegrationProvider
,OpenLineageCataloguerIntegrationProvider
,OpenLineageEventReceiverIntegrationProvider
,OSSUnityCatalogInsideCatalogSyncProvider
,OSSUnityCatalogServerSyncProvider
,PostgresServerIntegrationProvider
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
Modifier and TypeFieldDescriptionprotected List<CatalogTargetType>
List of the supported catalog targets describing the types of entity that the connector works with.protected static final String
The type name of the asset that the connection object for this connector should be linked to.Fields inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorProviderBase
auditLog, connectorInterfaces, connectorTypeBean
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorProvider
supportedConfigurationProperties, supportedTechnologyTypes, supportedTemplateTypes
-
Constructor Summary
ConstructorDescriptionConstructor used to initialize the ConnectorProviderBase with the Java class name of the specific discovery service implementation. -
Method Summary
Modifier and TypeMethodDescriptionReturn the list of supported catalog target types for this connector.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 to 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 to block on a listening call.Methods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorProviderBase
equals, getClassForConnector, getConnector, getConnector, getConnectorClassName, getConnectorComponentDescription, getConnectorType, getConnectorTypeProperties, getNewConnectorGUID, hashCode, setAuditLog, setConnectorClassName, setConnectorComponentDescription, setConnectorTypeProperties, toString
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorProvider
getSupportedConfigurationProperties, getSupportedTechnologyTypes, getSupportedTemplateTypes
-
Field Details
-
catalogTargets
List of the supported catalog targets describing the types of entity that the connector works with. -
supportedAssetTypeName
The type name of the asset that the connection object for this connector should be linked to.
-
-
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 to 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 to block on a listening call.- Parameters:
usesBlockingCalls
- boolean flag
-
getCatalogTargets
Return the list of supported catalog target types for this connector.- Returns:
- list of catalog target name to open metadata type name. Map is empty if no catalog target types are defined.
-