See #31213 for background.

DisposableBeanAdapter detects the presence of org.reactivestreams.Publisher on the classpath and checks whether the bean destroy method is of that type. We need to register a reflection hint on the Publisher type for that.