Skip to content

Commit fb08644

Browse files
committed
ExposeInvocationInterceptor declares itself as PriorityOrdered now
Issue: SPR-12351
1 parent 57d63a1 commit fb08644

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spring-aop/src/main/java/org/springframework/aop/interceptor/ExposeInvocationInterceptor.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2012 the original author or authors.
2+
* Copyright 2002-2014 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -24,7 +24,7 @@
2424
import org.springframework.aop.Advisor;
2525
import org.springframework.aop.support.DefaultPointcutAdvisor;
2626
import org.springframework.core.NamedThreadLocal;
27-
import org.springframework.core.Ordered;
27+
import org.springframework.core.PriorityOrdered;
2828

2929
/**
3030
* Interceptor that exposes the current {@link org.aopalliance.intercept.MethodInvocation}
@@ -41,7 +41,7 @@
4141
* @author Juergen Hoeller
4242
*/
4343
@SuppressWarnings("serial")
44-
public class ExposeInvocationInterceptor implements MethodInterceptor, Ordered, Serializable {
44+
public class ExposeInvocationInterceptor implements MethodInterceptor, PriorityOrdered, Serializable {
4545

4646
/** Singleton instance of this class */
4747
public static final ExposeInvocationInterceptor INSTANCE = new ExposeInvocationInterceptor();
@@ -98,7 +98,7 @@ public Object invoke(MethodInvocation mi) throws Throwable {
9898

9999
@Override
100100
public int getOrder() {
101-
return Ordered.HIGHEST_PRECEDENCE + 1;
101+
return PriorityOrdered.HIGHEST_PRECEDENCE + 1;
102102
}
103103

104104
/**

0 commit comments

Comments
 (0)