public class AnnotationAuditingConfigurationSupport extends Object implements AnnotationAuditingConfiguration
AnnotationAuditingConfiguration.| Constructor and Description |
|---|
AnnotationAuditingConfigurationSupport(AnnotationMetadata metadata,
Class<? extends Annotation> annotation)
Creates a new instance of
AnnotationAuditingConfigurationSupport for the given AnnotationMetadata
and annotation type. |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuditorAwareRef()
Returns the bean name of the
AuditorAware instance to be used.. |
String |
getDateTimeProviderRef()
Returns the bean name of the
DateTimeProvider to be used. |
boolean |
isModifyOnCreate()
Returns whether the entity shall be marked as modified on creation.
|
boolean |
isSetDates()
Returns whether the creation and modification dates shall be set.
|
public AnnotationAuditingConfigurationSupport(AnnotationMetadata metadata, Class<? extends Annotation> annotation)
AnnotationAuditingConfigurationSupport for the given AnnotationMetadata
and annotation type.metadata - must not be null.annotation - must not be null.public String getAuditorAwareRef()
AnnotationAuditingConfigurationAuditorAware instance to be used..getAuditorAwareRef in interface AnnotationAuditingConfigurationpublic boolean isSetDates()
AnnotationAuditingConfigurationisSetDates in interface AnnotationAuditingConfigurationpublic String getDateTimeProviderRef()
AnnotationAuditingConfigurationDateTimeProvider to be used.getDateTimeProviderRef in interface AnnotationAuditingConfigurationpublic boolean isModifyOnCreate()
AnnotationAuditingConfigurationisModifyOnCreate in interface AnnotationAuditingConfigurationCopyright © 2011-2014-2014 Pivotal. All Rights Reserved.