Interface ServiceChooser

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface @Deprecated(since="4.8.0") public interface ServiceChooser
Deprecated.
Allows SPIs to implement custom Service Chooser.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Chooses one of the service to use
  • Method Details

    • choose

      Deprecated.
      Chooses one of the service to use
      Parameters:
      services - list of services
      Returns:
      the chosen service to use.