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
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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
- Specified by:
getAnnotation
in classorg.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 classorg.springframework.data.auditing.config.AuditingBeanDefinitionRegistrarSupport
-
getAuditHandlerBeanDefinitionBuilder
protected org.springframework.beans.factory.support.BeanDefinitionBuilder getAuditHandlerBeanDefinitionBuilder(org.springframework.data.auditing.config.AuditingConfiguration configuration) - Overrides:
getAuditHandlerBeanDefinitionBuilder
in classorg.springframework.data.auditing.config.AuditingBeanDefinitionRegistrarSupport
-
getAuditingHandlerBeanName
- Specified by:
getAuditingHandlerBeanName
in classorg.springframework.data.auditing.config.AuditingBeanDefinitionRegistrarSupport
-