R – dependency browser that runs against an inversion of control framework

castle-windsordependency-injectioninversion-of-control

Do any inversion of control / dependency injection framworks support viewing the object dependencies that have been registered? This is not to execute the code, but to better understand it. It seems that a graph based on the information it has (class A depends on B and C, class B dependencs on C and E, etc) would really document a system well.

I'm using Castle Windsor at the moment, but wouldn't mind trying a different framework for this functionality.

Best Answer

For Spring the Spring IDE shows you a dependency graph.

Spring IDE bean graph


For Guice you can use Grapher.

Guice graph

Related Topic