Spring Security addons. This code is not provided by SpringSource nor by the Spring Framework Project.
See AuditedAnnotation. Simply add declarative auditing in your application using an @Audited
annotation like this:
@Audited(message = "transferMoney(#{args[0].accountNumber}, #{args[1].accountNumber}, #{args[3].amount})")
public void transferMoney(Account from, Account to, Amount amount) throws BusinessException { ... }