Package com._1c.g5.wiring.binder
Interface IServiceDecoratingBindingBuilder<T>
-
- All Known Subinterfaces:
IServiceAwareAnnotatedBindingBuilder<T>
,IServiceAwareLinkedBindingBuilder<T>
public interface IServiceDecoratingBindingBuilder<T>
Allows to decorate OSGi service binding.- See Also:
AbstractServiceAwareModule
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IServiceAwareLinkedBindingBuilder<T>
sticky(boolean sticky)
Configure service binding with aboolean
property whether service import need to cache the first valid service instance and use that until it becomes invalid.
-
-
-
Method Detail
-
sticky
IServiceAwareLinkedBindingBuilder<T> sticky(boolean sticky)
Configure service binding with aboolean
property whether service import need to cache the first valid service instance and use that until it becomes invalid. Default value istrue
.- 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
-
-