Package org.eclipse.jetty.annotations
Class AnnotationConfiguration.ServletContainerInitializerOrdering
- java.lang.Object
- 
- org.eclipse.jetty.annotations.AnnotationConfiguration.ServletContainerInitializerOrdering
 
- 
- Enclosing class:
- AnnotationConfiguration
 
 public class AnnotationConfiguration.ServletContainerInitializerOrdering extends java.lang.ObjectServletContainerInitializerOrderingApplies an ordering to the ServletContainerInitializers for the context, using the value of the "org.eclipse.jetty.containerInitializerOrder" context attribute. The attribute value is a list of classnames of ServletContainerInitializers in the order in which they are to be called. One name only in the list can be "*", which is a wildcard which matches any other ServletContainerInitializer name not already matched.
- 
- 
Constructor SummaryConstructors Constructor Description ServletContainerInitializerOrdering(java.lang.String ordering)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIndexOf(java.lang.String name)Get the order index of the given classnameintgetSize()Get the number of elements of the orderingintgetWildcardIndex()booleanhasWildcard()booleanisDefaultOrder()java.lang.StringtoString()
 
- 
- 
- 
Method Detail- 
hasWildcardpublic boolean hasWildcard() - Returns:
- true if "*" is one of the values.
 
 - 
getWildcardIndexpublic int getWildcardIndex() - Returns:
- the index of the "*" element, if it is specified. -1 otherwise.
 
 - 
isDefaultOrderpublic boolean isDefaultOrder() - Returns:
- true if the ordering contains a single value of "*"
 
 - 
getIndexOfpublic int getIndexOf(java.lang.String name) Get the order index of the given classname- Parameters:
- name- the classname to look up
- Returns:
- the index of the class name (or -1 if not found)
 
 - 
getSizepublic int getSize() Get the number of elements of the ordering- Returns:
- the size of the index
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-