public class MappingAuditableBeanWrapperFactory extends Object
AuditableBeanWrapperFactory that will create am AuditableBeanWrapper using mapping information
obtained from a MappingContext to detect auditing configuration and eventually invoking setting the auditing
values.| Constructor and Description |
|---|
MappingAuditableBeanWrapperFactory(PersistentEntities entities)
Creates a new
MappingAuditableBeanWrapperFactory using the given PersistentEntities. |
| Modifier and Type | Method and Description |
|---|---|
AuditableBeanWrapper |
getBeanWrapperFor(Object source)
Returns an
AuditableBeanWrapper if the given object is capable of being equipped with auditing information. |
public MappingAuditableBeanWrapperFactory(PersistentEntities entities)
MappingAuditableBeanWrapperFactory using the given PersistentEntities.entities - must not be null.public AuditableBeanWrapper getBeanWrapperFor(Object source)
AuditableBeanWrapper if the given object is capable of being equipped with auditing information.getBeanWrapperFor in interface AuditableBeanWrapperFactorysource - the auditing candidate.AuditableBeanWrapper for the given source obejct if it's eligible for auditing or
null otherwise.Copyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.