|
|
|
@ -70,14 +70,15 @@ public class AdvisedSupport extends ProxyConfig implements Advised { |
|
|
|
/** use serialVersionUID from Spring 2.0 for interoperability. */ |
|
|
|
/** use serialVersionUID from Spring 2.0 for interoperability. */ |
|
|
|
private static final long serialVersionUID = 2651364800145442165L; |
|
|
|
private static final long serialVersionUID = 2651364800145442165L; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static final Advisor[] EMPTY_ADVISOR_ARRAY = new Advisor[0]; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Canonical TargetSource when there's no target, and behavior is |
|
|
|
* Canonical TargetSource when there's no target, and behavior is |
|
|
|
* supplied by the advisors. |
|
|
|
* supplied by the advisors. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public static final TargetSource EMPTY_TARGET_SOURCE = EmptyTargetSource.INSTANCE; |
|
|
|
public static final TargetSource EMPTY_TARGET_SOURCE = EmptyTargetSource.INSTANCE; |
|
|
|
/** Empty advisor array constant. */ |
|
|
|
|
|
|
|
public static final Advisor[] EMPTY_ADVISORS = new Advisor[0]; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** Package-protected to allow direct access for efficiency. */ |
|
|
|
/** Package-protected to allow direct access for efficiency. */ |
|
|
|
@SuppressWarnings("serial") |
|
|
|
@SuppressWarnings("serial") |
|
|
|
@ -289,7 +290,7 @@ public class AdvisedSupport extends ProxyConfig implements Advised { |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public final Advisor[] getAdvisors() { |
|
|
|
public final Advisor[] getAdvisors() { |
|
|
|
return this.advisors.toArray(EMPTY_ADVISORS); |
|
|
|
return this.advisors.toArray(EMPTY_ADVISOR_ARRAY); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
|