public class BAuthoriseInterceptor implements MethodInterceptor { public Object invoke(MethodInvocation invocation) throws Throwable { String methodName = invocation.getMethod().getName(); ............. return invocation.proceed(); } <bean id="bAuthoriseInterceptor" class="......BAuthoriseInterceptor"> <property name="agentDAO"> <ref bean="AgentDAO" /> </property> </bean> <bean id="AuthoriseService" class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator"> <property name="beanNames"> <list> <value>adminService</value> <value>...</value> <value>..</value> <value>..</value> <value>..</value> <value>..</value> <value>..</value> </list> </property> <property name="interceptorNames"> <list> <value>bAuthoriseInterceptor</value> </list> </property> </bean>