On Wed, Apr 11, 2001 at 11:23:11AM -0400, David Jencks wrote:
> OOPS!
> 
> I inadvertantly broke the .jcml xml below while trying to add an
> explanatory comment. Sorry.
> 
> Fixed below
> 
> Would it make any sense to configure instances of AutoDeployer to look for
> specific extensions?  So the next time we have a new deployer for .xyz
> files we set up a autodeployer to look only for them?

I think it would make more sense to have AutoDeployer ask its configured
deployer to decide, e.g. by returning a java.io.FilenameFilter.

The algorithm would then be:

1) if the deployer has a FileFilter getDeployableFilenameFilter() method, use
   that to grab the filter, otherwise use a filter that accepts all files
2) Change all the hardcoded checks in AutoDeployer to
   if(filter.accept(url.getFile()))

I'll commit this tonight if there are no objections.

Toby.

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to