java.lang.Object
org.odpi.openmetadata.frameworks.connectors.Connector
org.odpi.openmetadata.frameworks.connectors.ConnectorBase
org.odpi.openmetadata.repositoryservices.connectors.stores.auditlogstore.OMRSAuditLogStoreConnectorBase
org.odpi.openmetadata.adapters.repositoryservices.auditlogstore.slf4j.SLF4JAuditLogStoreConnector
All Implemented Interfaces:
org.odpi.openmetadata.frameworks.connectors.SecureConnectorExtension, org.odpi.openmetadata.frameworks.connectors.VirtualConnectorExtension, org.odpi.openmetadata.repositoryservices.connectors.stores.auditlogstore.OMRSAuditLogStore

public class SLF4JAuditLogStoreConnector extends org.odpi.openmetadata.repositoryservices.connectors.stores.auditlogstore.OMRSAuditLogStoreConnectorBase
SLF4JAuditLogStoreConnector provides a connector implementation for a sls4j audit log destination.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor used by the connector provider.
  • Method Summary

    Modifier and Type
    Method
    Description
    storeLogRecord(org.odpi.openmetadata.repositoryservices.connectors.stores.auditlogstore.OMRSAuditLogRecord logRecord)
    Store the audit log record in the audit log store.

    Methods inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.auditlogstore.OMRSAuditLogStoreConnectorBase

    getAuditLogRecord, getAuditLogRecordsByComponent, getAuditLogRecordsBySeverity, getAuditLogRecordsByTimeStamp, getDestinationName, getSupportedSeverities, initialize, storeLogRecord

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

    disconnect, equals, getConnectedAssetProperties, getConnection, getConnectorInstanceId, hashCode, initializeConnectedAssetProperties, initializeEmbeddedConnectors, initializeSecretsStoreConnector, isActive, start, toString

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

    clearStatisticProperty, clearStatisticTimestamp, getConnectorStatistics, getStatisticCounter, getStatisticProperty, getStatisticTimestamp, incrementStatisticCounter, initializeStatisticCounter, setStatisticProperty, setStatisticTimestamp

    Methods inherited from class java.lang.Object

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

    • SLF4JAuditLogStoreConnector

      public SLF4JAuditLogStoreConnector()
      Default constructor used by the connector provider.
  • Method Details

    • storeLogRecord

      public String storeLogRecord(org.odpi.openmetadata.repositoryservices.connectors.stores.auditlogstore.OMRSAuditLogRecord logRecord) throws org.odpi.openmetadata.repositoryservices.ffdc.exception.InvalidParameterException
      Store the audit log record in the audit log store.
      Specified by:
      storeLogRecord in interface org.odpi.openmetadata.repositoryservices.connectors.stores.auditlogstore.OMRSAuditLogStore
      Specified by:
      storeLogRecord in class org.odpi.openmetadata.repositoryservices.connectors.stores.auditlogstore.OMRSAuditLogStoreConnectorBase
      Parameters:
      logRecord - log record to store
      Returns:
      unique identifier assigned to the log record
      Throws:
      org.odpi.openmetadata.repositoryservices.ffdc.exception.InvalidParameterException - indicates that the logRecord parameter is invalid.