com.platform.api.utility
Class ServiceConfiguration

java.lang.Object
  extended by com.platform.api.utility.ServiceConfiguration

public class ServiceConfiguration
extends Object

Utility method to get details about the Service settings like Service name, the URL used to access the Service etc.


Constructor Summary
ServiceConfiguration()
           
 
Method Summary
static String getServiceDomainURL()
          This method returns the Domain URL as mentioned in Configure Service Settings
static String getServiceName()
          This method returns the Service Name as mentioned in Configure Service Settings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceConfiguration

public ServiceConfiguration()
Method Detail

getServiceName

public static String getServiceName()
                             throws Exception
This method returns the Service Name as mentioned in Configure Service Settings.

Returns:
The Service Name as mentioned in Configure Service Settings
Throws:
Exception

getServiceDomainURL

public static String getServiceDomainURL()
                                  throws Exception
This method returns the Domain URL as mentioned in Configure Service Settings

Returns:
The Domain URL as mentioned in Configure Service Settings
Throws:
Exception


Copyright and Legal Notices