- All Superinterfaces:
Comparable<OrderedServiceProvider>
- All Known Subinterfaces:
ExpressionResolverProvider,LiteralRhsCompiler,LiteralSourceCompiler,MemoryFactoryProvider,TypeResolverProvider
The OrderedServiceProvider interface represents a service provider interface (SPI)
that allows multiple implementations to be ordered based on their assigned sort order.
-
Method Summary
Modifier and TypeMethodDescriptiondefault intintWhen several implementations are found, and no specific implementation class is given, the engine will automatically pick the one with the least sorting order.
-
Method Details
-
sortOrder
int sortOrder()When several implementations are found, and no specific implementation class is given, the engine will automatically pick the one with the least sorting order.
- Returns:
- sort order
-
compareTo
- Specified by:
compareToin interfaceComparable<OrderedServiceProvider>
-