Feb 13th, 2008, 04:05 PM
Reflection-based Bean Documentor?
I was looking online, and found beandoc, but from what I could tell, it seemed to document beans as configured in the applicationContext.xml files, rather than create an API of what's possible with beans.
I wrote reflection-based "introspector" - (a very trivial/simplified one) and I have it loading JAR's, each class within it, and spitting back sample spring-like config xml based on what it thinks is "bean material" - namely classes with setters
I then ran it over a bunch of jars, and created an Ext.js based Visualizer here...
Are there plans for something like this, or does something like this exist already? I've found it very useful, and scripted it up in my ant build process so my "bean catalog" is generated whenever i build my project....
Feel free to download the ZIP and run it on your Jar's then upload your spring XML file to http://www.jsloader.com/twiki/bin/vi...eanCatalogList and the tool can visualize it.
Last edited by dovkatz; Feb 13th, 2008 at 04:11 PM.
Feb 20th, 2008, 03:48 PM
Peter Mularien | Blog
Author, Spring Security 3 (Book) - Packt Publishing, Available in print and eBook form
SCJP 5, Oracle DBA
Any postings are my own opinion, and should not be attributed to my employer or clients.