Class Services


  • public class Services
    extends java.lang.Object
    A simple locator for SPI implementations.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Services()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> T get​(java.lang.Class<T> serviceType, T defaultValue)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Services

        private Services()
    • Method Detail

      • get

        public static <T> T get​(java.lang.Class<T> serviceType,
                                T defaultValue)