Browse Source

DATAMONGO-1696 - Mention appropriate EnableMongoAuditing annotation in reference documentation.

pull/664/head
Mark Paluch 8 years ago
parent
commit
be65f060a0
  1. 2
      src/main/asciidoc/reference/mongo-auditing.adoc

2
src/main/asciidoc/reference/mongo-auditing.adoc

@ -29,5 +29,5 @@ class Config { @@ -29,5 +29,5 @@ class Config {
----
====
If you expose a bean of type `AuditorAware` to the `ApplicationContext`, the auditing infrastructure will pick it up automatically and use it to determine the current user to be set on domain types. If you have multiple implementations registered in the `ApplicationContext`, you can select the one to be used by explicitly setting the `auditorAwareRef` attribute of `@EnableJpaAuditing`.
If you expose a bean of type `AuditorAware` to the `ApplicationContext`, the auditing infrastructure will pick it up automatically and use it to determine the current user to be set on domain types. If you have multiple implementations registered in the `ApplicationContext`, you can select the one to be used by explicitly setting the `auditorAwareRef` attribute of `@EnableMongoAuditing`.

Loading…
Cancel
Save