Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

Are there any tools that can take a fully-constructed/wired Spring application context and export a visualization of it? I'm talking about a live context that shows the order in which aspects were applied, what beans were auto-wired into other beans, etc.

I know it can be done with the context files themselves (re: Spring IDE). However, I believe the new annotation-driven paradigm defeats this approach.

An Eclipse plug-in or command-line solution is preferred, but I'd also be interested to see if anything like this exists at all.

like image 214
Brian Laframboise Avatar asked Jan 08 '09 20:01

Brian Laframboise


People also ask

What is the preferred way to close an application context?

When the web container will want to stop the application, the ContextLoadListener will receive the event from the servlet. And then based on this event it will close the application context. After the undeploy of application, the @PreDestroy method will be called and the application context will be closed.

How application context works internally in Spring?

context. ApplicationContext represents the Spring IoC container and is responsible for instantiating, configuring, and assembling the aforementioned beans. The container gets its instructions on what objects to instantiate, configure, and assemble by reading configuration metadata.

Does Spring provide application context?

The Application Context is Spring's advanced container. Similar to BeanFactory, it can load bean definitions, wire beans together, and dispense beans upon request.


Video Answer


1 Answers

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

like image 54
banterCZ Avatar answered Oct 11 '22 15:10

banterCZ