Interface IServiceAwareLinkedBindingBuilder<T>

    • 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 property String key, cannot be null
        value - the property value, cannot be null
        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 be null
        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 be null
        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 be null
        key - the property String key, cannot be null
        value - the property value, cannot be null
        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 be null
        properties - the properties map, cannot be null
        Returns:
        a builder to configure service binding, cannot be null