Package com._1c.g5.wiring.binder
Interface IServiceAwareLinkedBindingBuilder<T>
-
- Type Parameters:
T
- the binding type
- All Superinterfaces:
IServiceDecoratingBindingBuilder<T>
,com.google.inject.binder.LinkedBindingBuilder<T>
,com.google.inject.binder.ScopedBindingBuilder
- All Known Subinterfaces:
IServiceAwareAnnotatedBindingBuilder<T>
public interface IServiceAwareLinkedBindingBuilder<T> extends com.google.inject.binder.LinkedBindingBuilder<T>, IServiceDecoratingBindingBuilder<T>
LinkedBindingBuilder
extension with ability to bind Guice bindings to OSGi services.- See Also:
AbstractServiceAwareModule
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IServiceConfiguringBindingBuilder
toService()
Bind configuring Guice key to importing OSGi service with the same type.IServiceConfiguringBindingBuilder
toService(Class<? extends T> importType)
Bind configuring Guice key to importing OSGi service with the given type.IServiceConfiguringBindingBuilder
toService(Class<? extends T> importType, String key, Object value)
Bind configuring Guice key to importing OSGi service with the given type.IServiceConfiguringBindingBuilder
toService(Class<? extends T> importType, Map<String,?> properties)
Bind configuring Guice key to importing OSGi service with the given type.IServiceConfiguringBindingBuilder
toService(String key, Object value)
Bind configuring Guice key to importing OSGi service with the same type.IServiceConfiguringBindingBuilder
toService(Map<String,?> properties)
Bind configuring Guice key to importing OSGi service with the same type.-
Methods inherited from interface com._1c.g5.wiring.binder.IServiceDecoratingBindingBuilder
sticky
-
-
-
-
Method Detail
-
toService
IServiceConfiguringBindingBuilder toService()
Bind configuring Guice key to importing OSGi service with the same type.- Returns:
- a builder to configure service binding, cannot be
null
-
toService
IServiceConfiguringBindingBuilder toService(String key, Object value)
Bind configuring Guice key to importing OSGi service with the same type.- Parameters:
key
- the propertyString
key, cannot benull
value
- the property value, cannot benull
- Returns:
- a builder to configure service binding, cannot be
null
-
toService
IServiceConfiguringBindingBuilder toService(Map<String,?> properties)
Bind configuring Guice key to importing OSGi service with the same type.- Parameters:
properties
- the properties map, cannot benull
- Returns:
- a builder to configure service binding, cannot be
null
-
toService
IServiceConfiguringBindingBuilder toService(Class<? extends T> importType)
Bind configuring Guice key to importing OSGi service with the given type.- Parameters:
importType
- the import service type, cannot benull
- Returns:
- a builder to configure service binding, cannot be
null
-
toService
IServiceConfiguringBindingBuilder toService(Class<? extends T> importType, String key, Object value)
Bind configuring Guice key to importing OSGi service with the given type.- Parameters:
importType
- the import service type, cannot benull
key
- the propertyString
key, cannot benull
value
- the property value, cannot benull
- Returns:
- a builder to configure service binding, cannot be
null
-
toService
IServiceConfiguringBindingBuilder toService(Class<? extends T> importType, Map<String,?> properties)
Bind configuring Guice key to importing OSGi service with the given type.- Parameters:
importType
- the import service type, cannot benull
properties
- the properties map, cannot benull
- Returns:
- a builder to configure service binding, cannot be
null
-
-