agreed...JNDI lookup makes sense once the application context is created and populated If you want access to file, http, jar file-systems have you evaluated commons-vfs for your new Abstract class to build upon? http://commons.apache.org/vfs/download_vfs.cgi
Martin... ______________________________________________ place extensive disclaimer here > Date: Fri, 1 Jun 2012 22:20:32 +0200 > Subject: Re: Abstract layer to access file system > From: lukasz.len...@googlemail.com > To: davelnew...@gmail.com > CC: dev@struts.apache.org > > 2012/5/31 Dave Newton <davelnew...@gmail.com>: > > 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/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org > For additional commands, e-mail: dev-h...@struts.apache.org >