This class is a comparator to sort deployment s based on the existence of a numeric prefix. The name portion of the URL is evaluated for any leading digits. If they exist, then they will define a numerical ordering for this comparator. If there is no leading digits, then they will compare as less than any name with leading digits. In the case of a tie, the order is determined by the behavior of the {@link LegacyDeploymentContextComparator} superclass.
The behavior of this comparator is to reproduce the behavior of the PrefixDeploymentSorter in JBoss 4.x.
For example, these names are in ascending order:
|
|
|
|