|
From: John L. <jl...@ar...> - 2005-09-22 20:06:08
|
Is it necessary for the getApplicationContext and setApplicationContext methods in org.springframework.context.support.ApplicationObjectSupport to be declared as final? As of 1.2.4, we have a number of beans where org.springframework.aop.framework.Cglib2AopProxy complains about not being able to properly proxy these methods. It's not really a problem since these don't need to have transaction management or security applied to them, but it sure is noisy in the log... 2005-09-22 11:11:03,233 WARN [org.springframework.aop.framework.Cglib2AopProxy] - <Unable to proxy method [public final org.springframework.context.ApplicationContext org.springframework.context.support.ApplicationObjectSupport.getApplicationContext() throws java.lang.IllegalStateException] because it is final. All calls to this method via a proxy will be routed directly to the proxy.> 2005-09-22 11:11:03,243 WARN [org.springframework.aop.framework.Cglib2AopProxy] - <Unable to proxy method [public final void org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(org.springframework.context.ApplicationContext) throws org.springframework.beans.BeansException] because it is final. All calls to this method via a proxy will be routed directly to the proxy.> John Lewis |