Is there tooling to visualize a live Spring application context? [closed]

余生颓废 提交于 2019-12-02 17:12:22

I am looking for the same tool. Unfortunately, I do not see any other possibility than to wait for Spring 3.2 where should be that feature. See https://jira.springsource.org/browse/SPR-9662

mdjnewman

As a follow up to banterCZ's answer, the Live Beans Graph in Spring Tool Suite 3.2.0 now does almost exactly what you're after, though without export capabilities.

See the STS v3.2.0 New and Noteworthy page.

aleung

I have written an ApplicationContextDumper to dump live spring application context into log. It shows autowired beans and beans loaded by component scan, but can't show which aspect is applied.

Source code and example in https://gist.github.com/aleung/1347171

Are you looking for something like bean graph? It is part of spring ide and can be generated at the project level.

Perhaps you find something with JXInsight http://www.jinspired.com/products/jxinsight/ They seem to have a Spring Extension and they can probably show object graph visualizations.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!