Class SpannerAuditingRegistrar

java.lang.Object
org.springframework.data.auditing.config.AuditingBeanDefinitionRegistrarSupport
com.google.cloud.spring.data.spanner.repository.config.SpannerAuditingRegistrar
All Implemented Interfaces:
org.springframework.context.annotation.ImportBeanDefinitionRegistrar

public class SpannerAuditingRegistrar extends org.springframework.data.auditing.config.AuditingBeanDefinitionRegistrarSupport
Registers the annotations and classes for providing auditing support in Spring Data Cloud Spanner.
Since:
1.2
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Class<? extends Annotation>
     
    protected org.springframework.beans.factory.support.BeanDefinitionBuilder
    getAuditHandlerBeanDefinitionBuilder(org.springframework.data.auditing.config.AuditingConfiguration configuration)
     
    protected String
     
    protected void
    registerAuditListenerBeanDefinition(org.springframework.beans.factory.config.BeanDefinition auditingHandlerDefinition, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
     

    Methods inherited from class org.springframework.data.auditing.config.AuditingBeanDefinitionRegistrarSupport

    configureDefaultAuditHandlerAttributes, getConfiguration, postProcess, registerAuditHandlerBeanDefinition, registerBeanDefinitions, registerInfrastructureBeanWithId

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar

    registerBeanDefinitions
  • Constructor Details

    • SpannerAuditingRegistrar

      public SpannerAuditingRegistrar()
  • Method Details

    • getAnnotation

      protected Class<? extends Annotation> getAnnotation()
      Specified by:
      getAnnotation in class org.springframework.data.auditing.config.AuditingBeanDefinitionRegistrarSupport
    • registerAuditListenerBeanDefinition

      protected void registerAuditListenerBeanDefinition(org.springframework.beans.factory.config.BeanDefinition auditingHandlerDefinition, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
      Specified by:
      registerAuditListenerBeanDefinition in class org.springframework.data.auditing.config.AuditingBeanDefinitionRegistrarSupport
    • getAuditHandlerBeanDefinitionBuilder

      protected org.springframework.beans.factory.support.BeanDefinitionBuilder getAuditHandlerBeanDefinitionBuilder(org.springframework.data.auditing.config.AuditingConfiguration configuration)
      Overrides:
      getAuditHandlerBeanDefinitionBuilder in class org.springframework.data.auditing.config.AuditingBeanDefinitionRegistrarSupport
    • getAuditingHandlerBeanName

      protected String getAuditingHandlerBeanName()
      Specified by:
      getAuditingHandlerBeanName in class org.springframework.data.auditing.config.AuditingBeanDefinitionRegistrarSupport