|
|
|
@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
|
|
|
|
|
/* |
|
|
|
|
* Copyright 2002-2009 the original author or authors. |
|
|
|
|
* Copyright 2002-2010 the original author or authors. |
|
|
|
|
* |
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
@ -146,7 +146,7 @@ final class JdkDynamicAopProxy implements AopProxy, InvocationHandler, Serializa
@@ -146,7 +146,7 @@ final class JdkDynamicAopProxy implements AopProxy, InvocationHandler, Serializa
|
|
|
|
|
* unless a hook method throws an exception. |
|
|
|
|
*/ |
|
|
|
|
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { |
|
|
|
|
MethodInvocation invocation = null; |
|
|
|
|
MethodInvocation invocation; |
|
|
|
|
Object oldProxy = null; |
|
|
|
|
boolean setProxyContext = false; |
|
|
|
|
|
|
|
|
@ -169,7 +169,7 @@ final class JdkDynamicAopProxy implements AopProxy, InvocationHandler, Serializa
@@ -169,7 +169,7 @@ final class JdkDynamicAopProxy implements AopProxy, InvocationHandler, Serializa
|
|
|
|
|
return AopUtils.invokeJoinpointUsingReflection(this.advised, method, args); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Object retVal = null; |
|
|
|
|
Object retVal; |
|
|
|
|
|
|
|
|
|
if (this.advised.exposeProxy) { |
|
|
|
|
// Make invocation available if necessary.
|
|
|
|
@ -239,7 +239,7 @@ final class JdkDynamicAopProxy implements AopProxy, InvocationHandler, Serializa
@@ -239,7 +239,7 @@ final class JdkDynamicAopProxy implements AopProxy, InvocationHandler, Serializa
|
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
JdkDynamicAopProxy otherProxy = null; |
|
|
|
|
JdkDynamicAopProxy otherProxy; |
|
|
|
|
if (other instanceof JdkDynamicAopProxy) { |
|
|
|
|
otherProxy = (JdkDynamicAopProxy) other; |
|
|
|
|
} |
|
|
|
|