Results 1 to 2 of 2

Thread: Reflection-based Bean Documentor?

  1. #1
    Join Date
    Feb 2008
    Posts
    1

    Default 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...

    http://www.jsloader.com/twiki/bin/view/SpringThings/

    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.

    Screenshot:
    Last edited by dovkatz; Feb 13th, 2008 at 04:11 PM. Reason: Attachment

  2. #2
    Join Date
    Sep 2004
    Location
    Manchester, NH
    Posts
    1,236

    Default

    That is really nice!
    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •