Spring bean definition analysis

Our application exports its configuration as multiple sets of Spring beans.

I can’t control how this is done.

I want to write something that documents the dependencies between the configuration items defined in these beans. Note: these are application-level dependencies, which is not related to Spring dependencies (therefore, we may have configuration elements of type Actresses that depend on certain elements of type Bishops, but - in the Spring bean level - this is just what the property value in the Actress is corresponds to the value of another property of the bishop).

So, I would like to use some library or toolkit that allows you to load a set of XML bean XML, iterate over them and the contents of each of them, extract property values, etc.

From some googling, I can find ways to extend Spring's parsing, but I don't want this - I want it to be able to run autonomously outside of the Spring -using application itself.

Can someone point me to some resources for this?

+4
source share
1 answer

The closest I heard about is Spring BeanDocs:

http://spring-beandoc.sourceforge.net/

+1
source

All Articles