Closed
Description
Stefaan Neyts opened SPR-12822 and commented
I'd like to use the @ServiceActivator
annotation on a Java 8 default interface method. This does not work because Spring Integration relies on the ReflectionUtils.doWithMethods
, which uses ReflectionUtils.getDeclaredMethods
and the last one just does this clazz.getDeclaredMethods()
, which doesn't return those default methods on the interface.
Affects: 4.1.5
Reference URL: http://stackoverflow.com/questions/29076108/spring-integration-serviceactivator-on-a-java-8-default-interface-method
Issue Links:
- @Bean on Java 8 default methods in interfaces [SPR-10919] #15547
@Bean
on Java 8 default methods in interfaces - ReflectionUtils slow down application startup on WebSphere [SPR-11882] #16501 ReflectionUtils slow down application startup on WebSphere
- ReflectionUtils cache uses up a fairly big chunk of heap even [SPR-13783] #18357 ReflectionUtils cache uses up a fairly big chunk of heap even
- Support @BeforeTransaction and @AfterTransaction on interface default methods [SPR-14183] #18754 Support
@BeforeTransaction
and@AfterTransaction
on interface default methods
Referenced from: commits 1924629