> As larry said (do you have rw yet?)

Yup.  I've already checked in at least one bug :-)

> let's not shove it down people's throat
> and let's document all of this.  Case closed. Implementation needed :)

Simple, and not too hacked implementation:

Add MBean attribute to URLDeploymentScanner: URLComparator
make default comparator point to: org.jboss.deployment.DeploymentSorter
(make this a comparator that does the correct ordering)
in scanDirectory, change: list = sorter.sortURLs(list);
 to: if (urlComparator != null) Collections.sort(list, urlComparator);

This allows users unhappy with the ordering scheme to replace it with their
own Comparator  (or simply drop it to remove all ordering).  If this sounds
OK, I am mucking about in that code anyway.  Would you like me to make these
changes?

-Larry


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

Reply via email to