dont know ARM in detail, but it sounds like a good job for JBossAOP since it would allow you to instrument before and after methods.JBossIDE has the AOP plugin which makes it easier to JBossAOP