Interface IServiceDecoratingBindingBuilder<T>

    • Method Detail

      • sticky

        IServiceAwareLinkedBindingBuilder<T> sticky​(boolean sticky)
        Configure service binding with a boolean property whether service import need to cache the first valid service instance and use that until it becomes invalid. Default value is true.
        Parameters:
        sticky - whether service import need to cache the first valid service instance and use that until it becomes invalid
        Returns:
        a builder to configure service binding, cannot be null