com.worklight.adapters.rest.api

Interface ConfigurationAPI


  • Deprecated. 
    This interface is deprecated since V8.0, use ConfigurationAPI instead.

    @Deprecated
    public interface ConfigurationAPI
    API to get values of configuration properties during runtime (both worklight.properties and JNDI properties)
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String getMFPConfigurationProperty(java.lang.String name)
      Deprecated. 
      Does exactly the same as getServerJNDIProperty, This method is still there for backwards compatibility reason and it is deprecated.
      java.lang.String getServerJNDIProperty(java.lang.String name)
      Deprecated. 
      Get JNDI property from the server configuration.
    • Method Detail

      • getMFPConfigurationProperty

        java.lang.String getMFPConfigurationProperty(java.lang.String name)
        Deprecated. 
        Does exactly the same as getServerJNDIProperty, This method is still there for backwards compatibility reason and it is deprecated. In MFP 7.1 and older versions we used to have this method to look at JNDI, and if the property was missing from there, it was looking at worklight.properties inside the WAR Since that starting from 8.0.0 there is no WAR customization, there is no worklight.properties in the WAR Thus this method only looks at the JNDI and hence it is identical to getServerJNDIProperty below Take a look at: com.ibm.mfp.adapter.api.ConfigurationAPI - we recommend to use it instead
        Parameters:
        name - - The property's name
        Returns:
        - The value of the property or null if the property is not defined.
      • getServerJNDIProperty

        java.lang.String getServerJNDIProperty(java.lang.String name)
        Deprecated. 
        Get JNDI property from the server configuration.
        Parameters:
        name - - The property's name
        Returns:
        The value of the property or null if the property is not defined


© Copyright IBM Corp. 2006, 2015. All Rights Reserved.