Class ThreadContextDataInjector

    • Field Detail

      • LOGGER

        private static final Logger LOGGER
      • contextDataProviders

        public static java.util.Collection<ContextDataProvider> contextDataProviders
        ContextDataProviders loaded via OSGi.
      • SERVICE_PROVIDERS

        private static final java.util.List<ContextDataProvider> SERVICE_PROVIDERS
    • Constructor Detail

      • ThreadContextDataInjector

        public ThreadContextDataInjector()
    • Method Detail

      • initServiceProviders

        @Deprecated
        public static void initServiceProviders()
        Deprecated.
        no-op
        Previously this method allowed ContextDataProviders to be loaded eagerly, now they are loaded when this class is initialized.
      • getServiceProviders

        private static java.util.List<ContextDataProvider> getServiceProviders()
      • copyProperties

        public static void copyProperties​(java.util.List<Property> properties,
                                          StringMap result)
        Copies key-value pairs from the specified property list into the specified StringMap.
        Parameters:
        properties - list of configuration properties, may be null
        result - the StringMap object to add the key-values to. Must be non-null.