Home » geronimo-2.2-source-release » org.apache.geronimo.jetty6.deployment » [javadoc | source]
org.apache.geronimo.jetty6.deployment
static class: JettyModuleBuilder.StartupOrderComparator [javadoc | source]
java.lang.Object
   org.apache.geronimo.jetty6.deployment.JettyModuleBuilder$StartupOrderComparator

All Implemented Interfaces:
    Comparator

Method from org.apache.geronimo.jetty6.deployment.JettyModuleBuilder$StartupOrderComparator Summary:
compare
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.jetty6.deployment.JettyModuleBuilder$StartupOrderComparator Detail:
 public int compare(ServletType s1,
    ServletType s2) 
    comparator that compares first on the basis of startup order, and then on the lexicographical ordering of servlet name. Since the servlet names have a uniqueness constraint, this should provide a total ordering consistent with equals. All servlets with no startup order are after all servlets with a startup order.