JBoss transaction interceptor, how?

Hi

anyone has experience with writing and installing a transaction interceptor with jboss AOP?

we have an EJB3 application running on jboss 4.2 and we need to do something before and after a transaction.

 

Thank you for any help.