?? springutils.java
字號:
package org.codehaus.xfire.spring;import org.springframework.aop.framework.Advised;import org.springframework.aop.support.AopUtils;public class SpringUtils{ /** * Gets the actual bean underlying the AOP proxies. * * @param bean * @return * @throws Exception */ public static Object getUserTarget(Object bean) throws Exception { if (AopUtils.isAopProxy(bean) && bean instanceof Advised) { Advised advised = (Advised) bean; bean = advised.getTargetSource().getTarget(); return getUserTarget(bean); } return bean; }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -