You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some methods in RepositoryRestMvcConfiguration are private but call @Bean annotated methods in turn. These method calls will not get intercepted correctly as private methods are not intercepted by the CGLib generated subtype of the configuration class. That means that @Bean methods called from the private methods will not be routed through the interceptor and thus Spring's bean management (scopes, invocation of callbacks) will not be applied
Oliver Drotbohm opened DATAREST-460 and commented
Some methods in
RepositoryRestMvcConfiguration
are private but call@Bean
annotated methods in turn. These method calls will not get intercepted correctly as private methods are not intercepted by the CGLib generated subtype of the configuration class. That means that@Bean
methods called from the private methods will not be routed through the interceptor and thus Spring's bean management (scopes, invocation of callbacks) will not be appliedAffects: 2.1.4 (Dijkstra SR4), 2.2.1 (Evans SR1), 2.3 M1 (Fowler)
Referenced from: commits 1755a82, 34ecc05, 93202f3
Backported to: 2.2.2 (Evans SR2), 2.1.5 (Dijkstra SR5)
The text was updated successfully, but these errors were encountered: