I think the simplest thing for you to do would be to parse the sql-map-config.xml and grab the resources from the <sqlMap> entries. It's a pretty simple structure.
In the future we may provide a configuration API, not only for reporting the configuration, but also for programmatic configuration of the framework.
Cheers,
Clinton
As I mentioned in my last email, we' re trying to get WebWork and iBatis playing nice with each other. Specifically, I want to enable advanced functionality, such as intelligent reloading of the iBatis configuration whenever a mapping file changes. So far I' ve accomplished this (using XWork' s IoC container and the ResourceAware interface) for only the sql-map-config.xml. I could do this for all the mapping files if iBatis simply exposed (via the configuration object) the mapped objects/XML files.
Any reason why this shouldn' t be available?
Patrick
_________________
Patrick Lightbody
Professional Services
Jive Software
[EMAIL PROTECTED]
www.jivesoftware.com
317 SW Alder, Ste 500
Portland, OR 97204
ph (503) 295-6552
fx (503) 961-1047