Interface OrderedServiceProvider

All Superinterfaces:
Comparable<OrderedServiceProvider>
All Known Subinterfaces:
ExpressionResolverProvider, LiteralRhsCompiler, MemoryFactoryProvider, TypeResolverProvider

public interface OrderedServiceProvider extends Comparable<OrderedServiceProvider>
  • Method Summary

    Modifier and Type
    Method
    Description
    default int
     
    int
    When 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

      default int compareTo(OrderedServiceProvider o)
      Specified by:
      compareTo in interface Comparable<OrderedServiceProvider>