Class AbstractDataConnector

All Implemented Interfaces:
DataConnector, ResolverPlugin<Map<String,​IdPAttribute>>, Component, DestructableComponent, IdentifiableComponent, IdentifiedComponent, InitializableComponent, UnmodifiableComponent, DisposableBean
Direct Known Subclasses:
AbstractPersistentIdDataConnector, AbstractSearchDataConnector, PairwiseIdDataConnector, ResolvedDataConnector, ScriptedDataConnector, StaticDataConnector, SubjectDataConnector

public abstract class AbstractDataConnector
extends AbstractResolverPlugin<Map<String,​IdPAttribute>>
implements DataConnector
Base class for data connector resolver plugins.
  • Field Details

    • log

      @Nonnull private final org.slf4j.Logger log
      Class logger.
    • failoverDataConnectorId

      @Nullable private String failoverDataConnectorId
      ID of the data connector to use if this one fails.
    • logPrefix

      @Nullable private String logPrefix
      cache for the log prefix - to save multiple recalculations.
    • lastSuccess

      @Nullable private Instant lastSuccess
      When did this connector last work?
    • lastFail

      @Nullable private Instant lastFail
      When did this connector last fail?
    • noRetryDelay

      @Nonnull private Duration noRetryDelay
      How long to wait until we declare the connector live again.
    • exportAllAttributes

      @Deprecated(since="4.1.0", forRemoval=true) private boolean exportAllAttributes
      Deprecated, for removal: This API element is subject to removal in a future version.
      Do we release all attributes?.
    • exportAttributes

      @Nonnull @NonnullElements @Unmodifiable private Collection<String> exportAttributes
      Which named attributes do we release?.
  • Constructor Details

    • AbstractDataConnector

      public AbstractDataConnector()
  • Method Details