org.springframework.data.auditing.AuditingHandler Java Examples

The following examples show how to use org.springframework.data.auditing.AuditingHandler. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DatastoreAuditingRegistrar.java    From spring-cloud-gcp with Apache License 2.0 4 votes vote down vote up
@Override
protected BeanDefinitionBuilder getAuditHandlerBeanDefinitionBuilder(AuditingConfiguration configuration) {
	BeanDefinitionBuilder builder = configureDefaultAuditHandlerAttributes(configuration,
			BeanDefinitionBuilder.rootBeanDefinition(AuditingHandler.class));
	return builder.addConstructorArgReference(MAPPING_CONTEXT_BEAN_NAME);
}
 
Example #2
Source File: SpannerAuditingRegistrar.java    From spring-cloud-gcp with Apache License 2.0 4 votes vote down vote up
@Override
protected BeanDefinitionBuilder getAuditHandlerBeanDefinitionBuilder(AuditingConfiguration configuration) {
	BeanDefinitionBuilder builder = configureDefaultAuditHandlerAttributes(configuration,
			BeanDefinitionBuilder.rootBeanDefinition(AuditingHandler.class));
	return builder.addConstructorArgReference(MAPPING_CONTEXT_BEAN_NAME);
}
 
Example #3
Source File: DatastoreAuditingEventListener.java    From spring-cloud-gcp with Apache License 2.0 2 votes vote down vote up
/**
 * Constructor.
 *
 * @param datastoreAuditingHandler the auditing handler to set auditing properties.
 */
public DatastoreAuditingEventListener(AuditingHandler datastoreAuditingHandler) {
	this.handler = datastoreAuditingHandler;
}
 
Example #4
Source File: SpannerAuditingEventListener.java    From spring-cloud-gcp with Apache License 2.0 2 votes vote down vote up
/**
 * Constructor.
 *
 * @param spannerAuditingHandler the auditing handler to set auditing properties.
 */
public SpannerAuditingEventListener(AuditingHandler spannerAuditingHandler) {
	this.handler = spannerAuditingHandler;
}