"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "spring-context/src/main/java/org/springframework/context/event/EventListener.java" between
spring-framework-5.3.7.tar.gz and spring-framework-5.3.8.tar.gz

About: Spring Framework is an application framework for the Java platform and .NET Framework. Community edition.

EventListener.java  (spring-framework-5.3.7):EventListener.java  (spring-framework-5.3.8)
skipping to change at line 87 skipping to change at line 87
* <h3>Ordering Listeners</h3> * <h3>Ordering Listeners</h3>
* <p>It is also possible to define the order in which listeners for a * <p>It is also possible to define the order in which listeners for a
* certain event are to be invoked. To do so, add Spring's common * certain event are to be invoked. To do so, add Spring's common
* {@link org.springframework.core.annotation.Order @Order} annotation * {@link org.springframework.core.annotation.Order @Order} annotation
* alongside this event listener annotation. * alongside this event listener annotation.
* *
* @author Stephane Nicoll * @author Stephane Nicoll
* @author Sam Brannen * @author Sam Brannen
* @since 4.2 * @since 4.2
* @see EventListenerMethodProcessor * @see EventListenerMethodProcessor
* @see org.springframework.transaction.event.TransactionalEventListener
*/ */
@Target({ElementType.METHOD, ElementType.ANNOTATION_TYPE}) @Target({ElementType.METHOD, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@Documented @Documented
public @interface EventListener { public @interface EventListener {
/** /**
* Alias for {@link #classes}. * Alias for {@link #classes}.
*/ */
@AliasFor("classes") @AliasFor("classes")
skipping to change at line 136 skipping to change at line 137
* <li>Method arguments can be accessed by name (with a preceding hash ta g) * <li>Method arguments can be accessed by name (with a preceding hash ta g)
* if parameter names are available in the compiled byte code.</li> * if parameter names are available in the compiled byte code.</li>
* </ul> * </ul>
*/ */
String condition() default ""; String condition() default "";
/** /**
* An optional identifier for the listener, defaulting to the fully-quali fied * An optional identifier for the listener, defaulting to the fully-quali fied
* signature of the declaring method (e.g. "mypackage.MyClass.myMethod()" ). * signature of the declaring method (e.g. "mypackage.MyClass.myMethod()" ).
* @since 5.3.5 * @since 5.3.5
* @see org.springframework.context.ApplicationListener#getListenerId() * @see SmartApplicationListener#getListenerId()
* @see ApplicationEventMulticaster#removeApplicationListeners(Predicate) * @see ApplicationEventMulticaster#removeApplicationListeners(Predicate)
*/ */
String id() default ""; String id() default "";
} }
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)