Class ExternalResourceUtils


  • public class ExternalResourceUtils
    extends Object
    Utility class for external resource framework.
    • Method Detail

      • getExternalResourceConfigurationKeys

        public static Map<String,​String> getExternalResourceConfigurationKeys​(Configuration config,
                                                                                    String suffix)
        Get the external resource configuration keys map, indexed by the resource name. The configuration key should be used for deployment specific container request.
        Parameters:
        config - Configurations
        suffix - suffix of config option for deployment specific configuration key
        Returns:
        external resource configuration keys map, map the resource name to the configuration key for deployment * specific container request
      • generateExternalResourcesString

        public static String generateExternalResourcesString​(Collection<ExternalResource> extendedResources)
        Generate the string expression of the given external resources.