Class AnnotationConfiguration.ServletContainerInitializerComparator

java.lang.Object
org.eclipse.jetty.ee10.annotations.AnnotationConfiguration.ServletContainerInitializerComparator
All Implemented Interfaces:
Comparator<jakarta.servlet.ServletContainerInitializer>
Enclosing class:
AnnotationConfiguration

public static class AnnotationConfiguration.ServletContainerInitializerComparator extends Object implements Comparator<jakarta.servlet.ServletContainerInitializer>
ServletContainerInitializerComparator

Comparator impl that orders a set of ServletContainerInitializers according to the list of classnames (optionally containing a "*" wildcard character) established in a ServletContainerInitializerOrdering.

See Also:
  • Constructor Details

  • Method Details

    • compare

      public int compare(jakarta.servlet.ServletContainerInitializer sci1, jakarta.servlet.ServletContainerInitializer sci2)
      Specified by:
      compare in interface Comparator<jakarta.servlet.ServletContainerInitializer>