DATACMNS-295 - Expose modify-on-creation flag in XML namespace.

Introduced additional attribute in schema in version 1.6. Added parsing of the attribute.
This commit is contained in:
Oliver Gierke
2013-03-21 15:37:37 +01:00
parent 645a605f58
commit 9781f603ea
6 changed files with 235 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012 the original author or authors.
* Copyright 2012-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -69,7 +69,7 @@ public class AuditingHandlerBeanDefinitionParser extends AbstractSingleBeanDefin
ParsingUtils.setPropertyValue(builder, element, "set-dates", "dateTimeForNow");
ParsingUtils.setPropertyReference(builder, element, "date-time-provider-ref", "dateTimeProvider");
ParsingUtils.setPropertyValue(builder, element, "modify-on-creation", "modifyOnCreation");
}
private BeanDefinition createLazyInitTargetSourceBeanDefinition(String auditorAwareRef) {