@@ -8329,7 +8329,7 @@ synchronously. This means the `publishEvent()` method blocks until all listeners
83298329finished processing the event. One advantage of this synchronous and single-threaded
83308330approach is that when a listener receives an event, it operates inside the transaction
83318331context of the publisher if a transaction context is available. If another strategy for
8332- event publication becomes necessary, refer to the JavaDoc  for Spring's
8332+ event publication becomes necessary, refer to the javadoc  for Spring's
83338333`ApplicationEventMulticaster` interface.
83348334
83358335The following example shows the bean definitions used to register and configure each of
@@ -8396,9 +8396,10 @@ follows:
83968396	} 
83978397---- 
83988398
8399- As you can see above, the method signature actually _infer_ which even type it listens to. This
8400- also works for nested generics as long as the actual event resolves the generics parameter you
8401- would filter on.
8399+ As you can see above, the method signature once again declares the event type it listens to,
8400+ but this time with a flexible name and without implementing a specific listener interface.
8401+ The event type can also be narrowed through generics as long as the actual event type
8402+ resolves your generic parameter in its implementation hierarchy.
84028403
84038404If your method should listen to several events or if you want to define it with no
84048405parameter at all, the event type(s) can also be specified on the annotation itself:
@@ -8408,7 +8409,7 @@ parameter at all, the event type(s) can also be specified on the annotation itse
84088409---- 
84098410	@EventListener({ContextStartedEvent.class, ContextRefreshedEvent.class}) 
84108411	public void handleContextStart() { 
8411- 
8412+ 		... 
84128413	} 
84138414---- 
84148415
@@ -8658,15 +8659,15 @@ platform's JMX server - all through Spring's standard transaction management and
86588659and JMX support facilities. Application components can also interact with the
86598660application server's JCA WorkManager through Spring's `TaskExecutor` abstraction.
86608661
8661- Check out the JavaDoc  of the
8662+ Check out the javadoc  of the
86628663{api-spring-framework}/jca/context/SpringContextResourceAdapter.html[`SpringContextResourceAdapter`]
86638664class for the configuration details involved in RAR deployment.
86648665
86658666__For a simple deployment of a Spring ApplicationContext as a Java EE RAR file:__ package
86668667all application classes into a RAR file, which is a standard JAR file with a different
86678668file extension. Add all required library JARs into the root of the RAR archive. Add a
86688669"META-INF/ra.xml" deployment descriptor (as shown in ``SpringContextResourceAdapter``s
8669- JavaDoc ) and the corresponding Spring XML bean definition file(s) (typically
8670+ javadoc ) and the corresponding Spring XML bean definition file(s) (typically
86708671"META-INF/applicationContext.xml"), and drop the resulting RAR file into your
86718672application server's deployment directory.
86728673
0 commit comments