commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Jack" <aj...@trysybase.com>
Subject RE: [VFS] Dynamic FSM Configuration
Date Tue, 05 Aug 2003 21:17:48 GMT
Adam wrote:

	Yes.  If HttpClient isn't available, the provider won't get added when the
fsm
	is configured.  And so, http urls will fall through to the default
provider,
	which uses java.net.URL.

Ah yes, thanks, I was forgetting the default would do it.

	> 		fsm.setLogger(LogFactory.getLog(name));

	You don't need to set logger, the fsm will use LogFactory to locate one if
it
	hasn't been set.

Thanks, I'll keep it -- just to pass the "name" in. Helps me grok log output
easier.

	ie, all you really need is this:

	fsm = new StandardFileSystemManager();
	fsm.init();
	fsm.setBaseFile( ... );

Sold, changed to that. Thanks very much for the help/feedback.

regards

Adam


Mime
View raw message