Sep 11th, 2008, 07:25 AM
PostProcessor suppressing interceptor?
I have a data access (DAO) class. An implementation of org.aopalliance.intercept.MethodInterceptor applied to this DAO logs the entry and exit to the methods in the DAO.
I'm using JPA (on hibernate) for persistence. I'm getting the JPA EntityManager injected by spring to the DAO. For that, I have to declare the following bean in the application context.
Till I declare this postprocessor, the interceptor for logging in the DAO is working fine. But with the introduction of this, the logging adviser is ignored.
what could be the problem?
Thanks & Regards,
Jul 3rd, 2009, 05:48 AM
Can you please post your config file ... since i tried to have a simple postprocessor bean and also having an interceptor which logs the entry exit of each methods which is working fine.