|
|
|
|
|
|
To allow for registration of custom Envers listeners, we need to split the notion of disabling the starting of the EnversService and disabling the auto-registration of the Envers standard listeners.
To that end there are 2 pertinent configuration settings:
# {{hibernate.integration.envers.enabled}} - controls whether the EnversService is enabled/disabled. It is enabled by default. # {{hibernate.envers.autoRegisterListeners}} - controls whether the standard Envers listeners are auto-registered. The default is true, assuming EnversService is enabled and we found any audited entities.
---- h4. Original Description ----
Hi,
I'm trying to plug in my own envers listeners and remove default Envers ones.
The problem I have is that if I set {{hibernate.integration.envers.enabled}} to {{false}}, then {{EnversService}} is not initialized at all.
What I need to do is to *not* register Envers default listeners but use mine instead. My listeners do need to use {{EnversService}} though.
Is there anything I missed?
Thanks in advance
|
|
|
|
|
|