We have a custom transaction manager that does some audit work as each transaction begins. But we are retrofitting this into a spring-ldap app, and it's declared like this:
<ldap:transaction-manager id="ldapTransactionManager" session-factory-ref="sessionFactory" >
<ldap:default-renaming-strategy />
</ldap:transaction-manager>
We want to hook into the doBegin of that class which appears to be ContextSourceAndHibernateTransactionManager. But there's no attribute of ldap:transaction-manager> that I see which would allows me to subclass and supply my own. Or is there some listener I can plug into? I just need to run a little code each doBegin of the transaction.