I need an advice ...

FileManager is used in bootstrap configuration (see
DefaultConfiguration.createBootstrapContainer()) but this is in-code
defined configuration. Right now I've introduced FileManagerFactory to
create FileManager but it base on Container (which is created by
createBootstrapContainer()) to list all defined instances of
FileManager. It's a bad idea as during bootstrap there are no
FileManagers defined yet, they can be loaded with users' custom config
xmls (too late) and with struts-default.xml (also a bit too late).

The questions is: how to solve that ? Scan packages for given type of class ?


Regards
-- 
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to