发部ssh工程以后,tomcat 一启动,控制台就会出现以下的警告,能帮我看看这是什么原因引起的吗?它好像说getSessionFactory这个方法是final的,这是jar包里面的啊,我怎么改得了啊?警告如下:
----------------------------
2009-06-28 14:04:28,303 WARN - Unable to proxy method
[public final org.hibernate.SessionFactory org.springframework.orm.hibernate3.support.HibernateDaoSupport.getSessionFactory()]
because it is final: All calls to this method via a proxy will be routed directly to the proxy.
----------------------------
2009-06-28 14:39:37,676 WARN - Unable to proxy method
[public final void org.springframework.orm.hibernate3.support.HibernateDaoSupport.setSessionFactory(org.hibernate.SessionFactory)] because it is final: All calls to this method via a proxy will be routed directly to the proxy.
----------------------------
2009-06-28 14:04:28,303 WARN - Unable to proxy method
[public final org.hibernate.SessionFactory org.springframework.orm.hibernate3.support.HibernateDaoSupport.getSessionFactory()]
because it is final: All calls to this method via a proxy will be routed directly to the proxy.
----------------------------
2009-06-28 14:39:37,676 WARN - Unable to proxy method
[public final void org.springframework.orm.hibernate3.support.HibernateDaoSupport.setSessionFactory(org.hibernate.SessionFactory)] because it is final: All calls to this method via a proxy will be routed directly to the proxy.
cglib生成的代理是通过生成一个继承类来实现的,final的方法是不能被继承的