That'd require manual configuration, potentially complicating the build and/or deploy process, but that doesn't make it a bad idea. Grabbing it from a JNDI resource would be another potential solution.
Not sure if it could be (reliably) automatic with scanning, either, although perhaps there's already some "what am I running on" code out there somewhere. Dave On Fri, Jun 1, 2012 at 4:20 PM, Łukasz Lenart <[email protected]>wrote: > 2012/5/31 Dave Newton <[email protected]>: > > I think you'd have to either scan for a type or annotation; before the > > framework is up not sure what other options there could be. > > Thanks Dave, but right now I think about something simpler like > specifying FileManager implementation's class as a context-param and > provide web-fragment.xml. Not the best solution but quite simpler. > WDYT ? > > > Regards > -- > Łukasz > mobile +48 606 323 122 http://www.lenart.org.pl/ > Warszawa JUG conference - Confitura http://confitura.pl/ >
