protected Object doInvocation ( TransactionLogger transactionLogger , MethodInvocation invocation , TransactionMetadata transactionMetadata , Object currentTransaction ) throws Throwable { Object result = null ; try { transactionLogger . log ( "invocation started" , transactionLogger ) ; result = invocation . proceed ( ) ; transactionLogger . log ( "invocation ended" , transactionLogger ) ; } catch ( Exception exception ) { doHandleException ( transactionLogger , exception , transactionMetadata , currentTransaction ) ; } return result ; }
This method call the wrapped transactional method .