I am interested in using extending WadlGeneratorConfig in order
to customize my Wadl (and maybe specify my JAXBContext - see seperate post).
I looked at the examples which all shows how to pass file references to a builder in configure(). As per normal Java EE practices, it would seem to be a much better practice to use URLs, URI's or inputstreams instead as this will work in all kind of deployment scenarios unlike Files. The javadoc makes references to using inputstreams but the prop() method only accepts strings so I am curious about how to use InputStream's instead of files ?
Another problem is how to pass parameters into any WadlGenerators that I create ? All the configure examples uses xxx.class references which jersey instantiate so that I can't pass parameters to the constructor. Any examples of how to create my own instances (I tried overloading getWadlGenerator() instead of configure() but got some nullpointer execeptions if I did so I guess I did not implement it correctly). Any examples of creating my own instances of WadlGenerators so I can pass relevant information?
/Cheers
Morten