spring-attic / spring-ide

Spring Development Environment for Eclipse
299 stars 125 forks source link

Beans graph for Batch Java Config #209

Open mkq opened 7 years ago

mkq commented 7 years ago

https://jira.spring.io/browse/STS-3934 has been closed due to the move to GitHub, but is still relevant IMO.

With Eclipse Oxygen.1a (4.7.1a) and Spring IDE 3.9.1.201710100539-RELEASE including Batch Extension, I get a graph with only unconnected bean nodes for my batch @Configuration class.

martinlippert commented 7 years ago

Thanks for bringing this up again. And yes, the graphs are not supported for @Configuration style Spring programming.

We are working on a complete revamp of the tooling support around Spring Boot and @Configuration style spring apps. Supporting graphs for showing dependencies isn't in the radar for that yet, but it would be a great addition to that indeed. However, this will not happen in 2017 anymore. We can put this up for discussion for the 2018 timeframe again (just to avoid unrealistic expectations here).

mkq commented 7 years ago

2018 sounds good to me :-) Thanks for the info.

eaglerainbow commented 6 years ago

Just came across this GH issue here, searching for the very same. In my special case I have a case, where I can't start up a unit test spring application due to a dependency issue. With the graph, I would have like to determine, why a certain bean was loaded at all. Unfortunately, without having the connections between the beans, that's not possible.