File tree 2 files changed +12
-2
lines changed
spring-context/src/main/java/org/springframework/context/event
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2018 the original author or authors.
2
+ * Copyright 2002-2021 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -64,6 +64,11 @@ public void onApplicationEvent(ApplicationEvent event) {
64
64
this .delegate .onApplicationEvent (event );
65
65
}
66
66
67
+ @ Override
68
+ public String getListenerId () {
69
+ return this .delegate .getListenerId ();
70
+ }
71
+
67
72
@ Override
68
73
@ SuppressWarnings ("unchecked" )
69
74
public boolean supportsEventType (ResolvableType eventType ) {
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2017 the original author or authors.
2
+ * Copyright 2002-2021 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -74,6 +74,11 @@ public void onApplicationEvent(ApplicationEvent event) {
74
74
}
75
75
}
76
76
77
+ @ Override
78
+ public String getListenerId () {
79
+ return (this .delegate != null ? this .delegate .getListenerId () : "" );
80
+ }
81
+
77
82
@ Override
78
83
public boolean supportsEventType (ResolvableType eventType ) {
79
84
return (this .delegate == null || this .delegate .supportsEventType (eventType ));
You can’t perform that action at this time.
0 commit comments