Uses of Interface
org.apache.felix.dm.lambda.ServiceDependencyBuilder
Packages that use ServiceDependencyBuilder
-
Uses of ServiceDependencyBuilder in org.apache.felix.dm.lambda
Methods in org.apache.felix.dm.lambda that return ServiceDependencyBuilderModifier and TypeMethodDescriptionServiceDependencyBuilder.autoConfig()Injects this dependency in all fields matching the dependency type.ServiceDependencyBuilder.autoConfig(boolean autoConfig) Configures whether or not the dependency can be injected in all fields matching the dependency type.ServiceDependencyBuilder.autoConfig(String field) Injects this dependency on the field with the given nameConfigures debug modeSets the default implementation if the service is not available.Configures the service dependency filterServiceDependencyBuilder.optional()Configures this dependency as optional.ServiceDependencyBuilder.propagate()Propagates the dependency properties to the component service properties.ServiceDependencyBuilder.propagate(boolean propagate) Configures whether the dependency properties must be propagated or not to the component service properties.Configures a method that can is called in order to get propagated service properties.ServiceDependencyBuilder.propagate(BiFunction<org.osgi.framework.ServiceReference<S>, S, Dictionary<String, Object>> propagate) Specifies a function that is called to get the propagated service properties for this service dependency.ServiceDependencyBuilder.propagate(Function<org.osgi.framework.ServiceReference<S>, Dictionary<String, Object>> propagate) Specifies a function that is called to get the propagated service properties for this service dependency.Configures this dependency with the given ServiceReference.ServiceDependencyBuilder.required()Configures this dependency as required.ServiceDependencyBuilder.required(boolean required) Configures whether this dependency is required or not.static <T> ServiceDependencyBuilder<T> DependencyManagerActivator.serviceDependency(org.apache.felix.dm.Component component, Class<T> service) Creates a DM ServiceDependency builder.ServiceDependencyBuilder.timeout(long timeout) Sets a timeout for this dependency.Method parameters in org.apache.felix.dm.lambda with type arguments of type ServiceDependencyBuilderModifier and TypeMethodDescription<U> BComponentBuilder.withSvc(Class<U> service, Consumer<ServiceDependencyBuilder<U>> consumer) Adds a service dependency built using a Consumer lambda that is provided with a ServiceDependencyBuilder.