Class DiscoveryServiceProvider

  • All Implemented Interfaces:

    
    public class DiscoveryServiceProvider
    
                        

    Facilitates keeping a global reference to discovery service host. By default it points to production host https://mobile-service-discovery-hub.cfapps.eu10.hana.ondemand.com. Customer can change it to devtest host like https://service-discovery-hub-development.cfapps.eu10.hana.ondemand.com.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static void set(@NonNull() String url) Set the url of the discovery service host.
      static String get() Get the url of the discovery service host.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • set

         static void set(@NonNull() String url)

        Set the url of the discovery service host.

        Parameters:
        url - url of the discovery service host
      • get

        @NonNull() static String get()

        Get the url of the discovery service host.

        Returns:

        url of the discovery service host