Modified:
websites/staging/felix/trunk/content/apidocs/dependencymanager.lambda/r7/org/apache/felix/dm/lambda/ComponentBuilder.html
==============================================================================
---
websites/staging/felix/trunk/content/apidocs/dependencymanager.lambda/r7/org/apache/felix/dm/lambda/ComponentBuilder.html
(original)
+++
websites/staging/felix/trunk/content/apidocs/dependencymanager.lambda/r7/org/apache/felix/dm/lambda/ComponentBuilder.html
Sun Feb 28 19:14:37 2016
@@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
-<!-- Generated by javadoc (1.8.0_74) on Wed Feb 24 09:41:52 CET 2016 -->
+<!-- Generated by javadoc (1.8.0_74) on Sun Feb 28 20:11:23 CET 2016 -->
<title>ComponentBuilder</title>
-<meta name="date" content="2016-02-24">
+<meta name="date" content="2016-02-28">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css"
title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
@@ -18,7 +18,7 @@
catch(err) {
}
//-->
-var methods =
{"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6,"i38":6,"i39":6,"i40":6,"i41":6,"i42":6,"i43":6,"i44":6,"i45":6,"i46":6,"i47":6,"i48":6,"i49":6,"i50":6,"i51":6,"i52":6,"i53":6,"i54":6,"i55":18,"i56":6,"i57":18,"i58":6,"i59":6,"i60":6,"i61":6};
+var methods =
{"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6,"i38":6,"i39":6,"i40":6,"i41":6,"i42":6,"i43":6,"i44":6,"i45":6,"i46":6,"i47":6,"i48":6,"i49":6,"i50":18,"i51":6,"i52":18,"i53":6,"i54":18,"i55":18,"i56":18,"i57":18,"i58":18,"i59":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance
Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -115,13 +115,13 @@ var activeTableTab = "activeTableTab";
required dependencies are available. This interface is also the base
interface for extended components like
aspects, adapters, etc ...
- <p> Example of a component that depends on a ConfigurationAdmin service. The
dependency is injected by reflection
- on a class field which type matches the ConfigurationAdmin interface:
+ <p> Example of a component that depends on a LogServce service. The
dependency is injected by reflection
+ on fields having a compatible type with the LogService interface:
<pre><code>
public class Activator extends DependencyManagerActivator {
public void init(BundleContext ctx, DependencyManager dm) throws Exception {
- component(comp ->
comp.impl(Configurator.class).withSvc(ConfigurationAdmin.class));
+ component(comp -> comp.impl(Pojo.class).withSvc(LogService.class));
}
}
</code> </pre></div>
@@ -197,56 +197,51 @@ var activeTableTab = "activeTableTab";
</td>
</tr>
<tr id="i8" class="altColor">
-<td class="colFirst"><code><T> <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#destroy-org.apache.felix.dm.lambda.callbacks.Cb-">destroy</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/Cb.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">Cb</a><T> callback)</code>
-<div class="block">Sets a reference to a component implementation class
"destroy" callback method.</div>
+<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#destroy-org.apache.felix.dm.lambda.callbacks.InstanceCb-">destroy</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCb.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCb</a> callback)</code>
+<div class="block">Sets an Object instance method reference used as the
"destroy" callback.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
-<td class="colFirst"><code><T> <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#destroy-org.apache.felix.dm.lambda.callbacks.CbComponent-">destroy</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbComponent</a><T> callback)</code>
-<div class="block">Sets a reference to a component implementation class
"destroy" callback method.</div>
+<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#destroy-org.apache.felix.dm.lambda.callbacks.InstanceCbComponent-">destroy</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCbComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCbComponent</a> callback)</code>
+<div class="block">Sets an Object instance method reference used as the
"destroy" callback.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#destroy-java.lang.String-">destroy</a></span>(java.lang.String callback)</code>
-<div class="block">Sets the name of the method used as the "destroy"
callback.</div>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#destroy-java.lang.Object-java.lang.String-">destroy</a></span>(java.lang.Object callbackInstance,
+ java.lang.String callback)</code>
+<div class="block">Sets a callback instance and the name of the method used as
the "destroy" callback.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#destroyInstance-org.apache.felix.dm.lambda.callbacks.InstanceCb-">destroyInstance</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCb.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCb</a> callback)</code>
-<div class="block">Sets an Object instance method reference used as the
"destroy" callback.</div>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#destroy-java.lang.String-">destroy</a></span>(java.lang.String callback)</code>
+<div class="block">Sets the name of the method used as the "destroy"
callback.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#destroyInstance-org.apache.felix.dm.lambda.callbacks.InstanceCbComponent-">destroyInstance</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCbComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCbComponent</a> callback)</code>
-<div class="block">Sets an Object instance method reference used as the
"destroy" callback.</div>
-</td>
-</tr>
-<tr id="i13" class="rowColor">
-<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#factory-java.lang.Object-java.lang.String-">factory</a></span>(java.lang.Object factory,
java.lang.String createMethod)</code>
<div class="block">Sets the factory to use when creating the
implementation.</div>
</td>
</tr>
-<tr id="i14" class="altColor">
+<tr id="i13" class="rowColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#factory-java.util.function.Supplier-">factory</a></span>(java.util.function.Supplier<?> create)</code>
<div class="block">Configures a factory that can be used to create this
component implementation.</div>
</td>
</tr>
-<tr id="i15" class="rowColor">
+<tr id="i14" class="altColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#factory-java.util.function.Supplier-java.util.function.Supplier-">factory</a></span>(java.util.function.Supplier<?> factory,
java.util.function.Supplier<java.lang.Object[]> getComposition)</code>
<div class="block">Configures a factory used to create this component
implementation using a Factory object and a "getComposition" factory
method.</div>
</td>
</tr>
-<tr id="i16" class="altColor">
+<tr id="i15" class="rowColor">
<td class="colFirst"><code><U> <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#factory-java.util.function.Supplier-java.util.function.Function-java.util.function.Function-">factory</a></span>(java.util.function.Supplier<U> factory,
java.util.function.Function<U,?> create,
@@ -254,68 +249,57 @@ var activeTableTab = "activeTableTab";
<div class="block">Configures a factory that also returns a composition of
objects for this component implemenation.</div>
</td>
</tr>
-<tr id="i17" class="rowColor">
+<tr id="i16" class="altColor">
<td class="colFirst"><code><U,V> <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#factory-java.util.function.Supplier-java.util.function.Function-">factory</a></span>(java.util.function.Supplier<U> factory,
java.util.function.Function<U,V> create)</code>
<div class="block">Configures a factory used to create this component
implementation using a Factory object and a method in the Factory object.</div>
</td>
</tr>
-<tr id="i18" class="altColor">
+<tr id="i17" class="rowColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#impl-java.lang.Object-">impl</a></span>(java.lang.Object impl)</code>
<div class="block">Configures the component implementation.</div>
</td>
</tr>
-<tr id="i19" class="rowColor">
-<td class="colFirst"><code><T> <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#init-org.apache.felix.dm.lambda.callbacks.Cb-">init</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/Cb.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">Cb</a><T> callback)</code>
-<div class="block">Sets a reference to a component implementation class "init"
callback method.</div>
-</td>
-</tr>
-<tr id="i20" class="altColor">
-<td class="colFirst"><code><T> <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#init-org.apache.felix.dm.lambda.callbacks.CbComponent-">init</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbComponent</a><T> callback)</code>
-<div class="block">Sets a reference to a component implementation class "init"
callback method.</div>
-</td>
-</tr>
-<tr id="i21" class="rowColor">
+<tr id="i18" class="altColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#init-java.lang.String-">init</a></span>(java.lang.String callback)</code>
-<div class="block">Sets the name of the method used as the "init"
callback.</div>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#init-org.apache.felix.dm.lambda.callbacks.InstanceCb-">init</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCb.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCb</a> callback)</code>
+<div class="block">Sets an Object instance method reference used as the "init"
callback.</div>
</td>
</tr>
-<tr id="i22" class="altColor">
+<tr id="i19" class="rowColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#initInstance-org.apache.felix.dm.lambda.callbacks.InstanceCb-">initInstance</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCb.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCb</a> callback)</code>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#init-org.apache.felix.dm.lambda.callbacks.InstanceCbComponent-">init</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCbComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCbComponent</a> callback)</code>
<div class="block">Sets an Object instance method reference used as the "init"
callback.</div>
</td>
</tr>
-<tr id="i23" class="rowColor">
+<tr id="i20" class="altColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#initInstance-org.apache.felix.dm.lambda.callbacks.InstanceCbComponent-">initInstance</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCbComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCbComponent</a> callback)</code>
-<div class="block">Sets an Object instance method reference used as the "init"
callback.</div>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#init-java.lang.Object-java.lang.String-">init</a></span>(java.lang.Object callbackInstance,
+ java.lang.String callback)</code>
+<div class="block">Sets a callback instance and the name of the method used as
the "init" callback.</div>
</td>
</tr>
-<tr id="i24" class="altColor">
+<tr id="i21" class="rowColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#lifecycleCallbackInstance-java.lang.Object-">lifecycleCallbackInstance</a></span>(java.lang.Object lifecycleCallbackInstance)</code>
-<div class="block">Sets the instance to invoke with the reflection based
lifecycle callbacks.</div>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#init-java.lang.String-">init</a></span>(java.lang.String callback)</code>
+<div class="block">Sets the name of the method used as the "init"
callback.</div>
</td>
</tr>
-<tr id="i25" class="rowColor">
+<tr id="i22" class="altColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#properties-java.util.Dictionary-">properties</a></span>(java.util.Dictionary<?,?> properties)</code>
<div class="block">Sets the component's service properties</div>
</td>
</tr>
-<tr id="i26" class="altColor">
+<tr id="i23" class="rowColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#properties-org.apache.felix.dm.lambda.FluentProperty...-">properties</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/FluentProperty.html"
title="interface in
org.apache.felix.dm.lambda">FluentProperty</a>... properties)</code>
<div class="block">Sets the components's service properties using List of
lamda properties.</div>
</td>
</tr>
-<tr id="i27" class="rowColor">
+<tr id="i24" class="altColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#properties-java.lang.String-java.lang.Object-java.lang.Object...-">properties</a></span>(java.lang.String name,
java.lang.Object value,
@@ -323,33 +307,33 @@ var activeTableTab = "activeTableTab";
<div class="block">Sets the components's service properties using
varargs.</div>
</td>
</tr>
-<tr id="i28" class="altColor">
+<tr id="i25" class="rowColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.Class-">provides</a></span>(java.lang.Class<?> iface)</code>
<div class="block">Sets the public interface under which this component should
be registered in the OSGi service registry.</div>
</td>
</tr>
-<tr id="i29" class="rowColor">
+<tr id="i26" class="altColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.Class:A-">provides</a></span>(java.lang.Class<?>[] ifaces)</code>
<div class="block">Sets the public interfaces under which this component
should be registered in the OSGi service registry.</div>
</td>
</tr>
-<tr id="i30" class="altColor">
+<tr id="i27" class="rowColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.Class:A-java.util.Dictionary-">provides</a></span>(java.lang.Class<?>[] ifaces,
java.util.Dictionary<?,?> properties)</code>
<div class="block">Sets the public interfaces under which this component
should be registered in the OSGi service registry.</div>
</td>
</tr>
-<tr id="i31" class="rowColor">
+<tr id="i28" class="altColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.Class:A-org.apache.felix.dm.lambda.FluentProperty...-">provides</a></span>(java.lang.Class<?>[] ifaces,
<a
href="../../../../../org/apache/felix/dm/lambda/FluentProperty.html"
title="interface in
org.apache.felix.dm.lambda">FluentProperty</a>... properties)</code>
<div class="block">Sets the public interfaces under which this component
should be registered in the OSGi service registry.</div>
</td>
</tr>
-<tr id="i32" class="altColor">
+<tr id="i29" class="rowColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.Class:A-java.lang.String-java.lang.Object-java.lang.Object...-">provides</a></span>(java.lang.Class<?>[] ifaces,
java.lang.String name,
@@ -358,21 +342,21 @@ var activeTableTab = "activeTableTab";
<div class="block">Sets the public interfaces under which this component
should be registered in the OSGi service registry.</div>
</td>
</tr>
-<tr id="i33" class="rowColor">
+<tr id="i30" class="altColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.Class-java.util.Dictionary-">provides</a></span>(java.lang.Class<?> iface,
java.util.Dictionary<?,?> properties)</code>
<div class="block">Sets the public interface under which this component should
be registered in the OSGi service registry.</div>
</td>
</tr>
-<tr id="i34" class="altColor">
+<tr id="i31" class="rowColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.Class-org.apache.felix.dm.lambda.FluentProperty...-">provides</a></span>(java.lang.Class<?> iface,
<a
href="../../../../../org/apache/felix/dm/lambda/FluentProperty.html"
title="interface in
org.apache.felix.dm.lambda">FluentProperty</a>... properties)</code>
<div class="block">Sets the public interface under which this component should
be registered in the OSGi service registry.</div>
</td>
</tr>
-<tr id="i35" class="rowColor">
+<tr id="i32" class="altColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.Class-java.lang.String-java.lang.Object-java.lang.Object...-">provides</a></span>(java.lang.Class<?> iface,
java.lang.String name,
@@ -381,33 +365,33 @@ var activeTableTab = "activeTableTab";
<div class="block">Sets the public interface under which this component should
be registered in the OSGi service registry.</div>
</td>
</tr>
-<tr id="i36" class="altColor">
+<tr id="i33" class="rowColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.String-">provides</a></span>(java.lang.String iface)</code>
<div class="block">Sets the public interface under which this component should
be registered in the OSGi service registry.</div>
</td>
</tr>
-<tr id="i37" class="rowColor">
+<tr id="i34" class="altColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.String:A-">provides</a></span>(java.lang.String[] ifaces)</code>
<div class="block">Sets the public interfaces under which this component
should be registered in the OSGi service registry.</div>
</td>
</tr>
-<tr id="i38" class="altColor">
+<tr id="i35" class="rowColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.String:A-java.util.Dictionary-">provides</a></span>(java.lang.String[] ifaces,
java.util.Dictionary<?,?> properties)</code>
<div class="block">Sets the public interfaces under which this component
should be registered in the OSGi service registry.</div>
</td>
</tr>
-<tr id="i39" class="rowColor">
+<tr id="i36" class="altColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.String:A-org.apache.felix.dm.lambda.FluentProperty...-">provides</a></span>(java.lang.String[] ifaces,
<a
href="../../../../../org/apache/felix/dm/lambda/FluentProperty.html"
title="interface in
org.apache.felix.dm.lambda">FluentProperty</a>... properties)</code>
<div class="block">Sets the public interfaces under which this component
should be registered in the OSGi service registry.</div>
</td>
</tr>
-<tr id="i40" class="altColor">
+<tr id="i37" class="rowColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.String:A-java.lang.String-java.lang.Object-java.lang.Object...-">provides</a></span>(java.lang.String[] ifaces,
java.lang.String name,
@@ -416,21 +400,21 @@ var activeTableTab = "activeTableTab";
<div class="block">Sets the public interfaces under which this component
should be registered in the OSGi service registry.</div>
</td>
</tr>
-<tr id="i41" class="rowColor">
+<tr id="i38" class="altColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.String-java.util.Dictionary-">provides</a></span>(java.lang.String iface,
java.util.Dictionary<?,?> properties)</code>
<div class="block">Sets the public interface under which this component should
be registered in the OSGi service registry.</div>
</td>
</tr>
-<tr id="i42" class="altColor">
+<tr id="i39" class="rowColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.String-org.apache.felix.dm.lambda.FluentProperty...-">provides</a></span>(java.lang.String iface,
<a
href="../../../../../org/apache/felix/dm/lambda/FluentProperty.html"
title="interface in
org.apache.felix.dm.lambda">FluentProperty</a>... properties)</code>
<div class="block">Sets the public interface under which this component should
be registered in the OSGi service registry.</div>
</td>
</tr>
-<tr id="i43" class="rowColor">
+<tr id="i40" class="altColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.String-java.lang.String-java.lang.Object-java.lang.Object...-">provides</a></span>(java.lang.String iface,
java.lang.String name,
@@ -439,111 +423,125 @@ var activeTableTab = "activeTableTab";
<div class="block">Sets the public interface under which this component should
be registered in the OSGi service registry.</div>
</td>
</tr>
-<tr id="i44" class="altColor">
-<td class="colFirst"><code><T> <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#start-org.apache.felix.dm.lambda.callbacks.Cb-">start</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/Cb.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">Cb</a><T> callback)</code>
-<div class="block">Sets a reference to a component implementation class
"start" callback method.</div>
-</td>
-</tr>
-<tr id="i45" class="rowColor">
-<td class="colFirst"><code><T> <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#start-org.apache.felix.dm.lambda.callbacks.CbComponent-">start</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbComponent</a><T> callback)</code>
-<div class="block">Sets a reference to a component implementation class
"start" callback method.</div>
-</td>
-</tr>
-<tr id="i46" class="altColor">
+<tr id="i41" class="rowColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#start-java.lang.String-">start</a></span>(java.lang.String callback)</code>
-<div class="block">Sets the name of the method used as the "start"
callback.</div>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#start-org.apache.felix.dm.lambda.callbacks.InstanceCb-">start</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCb.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCb</a> callback)</code>
+<div class="block">Sets an Object instance method reference used as the
"start" callback.</div>
</td>
</tr>
-<tr id="i47" class="rowColor">
+<tr id="i42" class="altColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#startInstance-org.apache.felix.dm.lambda.callbacks.InstanceCb-">startInstance</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCb.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCb</a> callback)</code>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#start-org.apache.felix.dm.lambda.callbacks.InstanceCbComponent-">start</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCbComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCbComponent</a> callback)</code>
<div class="block">Sets an Object instance method reference used as the
"start" callback.</div>
</td>
</tr>
-<tr id="i48" class="altColor">
+<tr id="i43" class="rowColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#startInstance-org.apache.felix.dm.lambda.callbacks.InstanceCbComponent-">startInstance</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCbComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCbComponent</a> callback)</code>
-<div class="block">Sets an Object instance method reference used as the
"start" callback.</div>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#start-java.lang.Object-java.lang.String-">start</a></span>(java.lang.Object callbackInstance,
+ java.lang.String callback)</code>
+<div class="block">Sets the name of the method used as the "start"
callback.</div>
</td>
</tr>
-<tr id="i49" class="rowColor">
-<td class="colFirst"><code><T> <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#stop-org.apache.felix.dm.lambda.callbacks.Cb-">stop</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/Cb.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">Cb</a><T> callback)</code>
-<div class="block">Sets a reference to a component implementation class "stop"
callback method.</div>
+<tr id="i44" class="altColor">
+<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#start-java.lang.String-">start</a></span>(java.lang.String callback)</code>
+<div class="block">Sets a callback instance and the name of the method used as
the "start" callback.</div>
</td>
</tr>
-<tr id="i50" class="altColor">
-<td class="colFirst"><code><T> <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#stop-org.apache.felix.dm.lambda.callbacks.CbComponent-">stop</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbComponent</a><T> callback)</code>
-<div class="block">Sets a reference to a component implementation class "stop"
callback method.</div>
+<tr id="i45" class="rowColor">
+<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#stop-org.apache.felix.dm.lambda.callbacks.InstanceCb-">stop</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCb.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCb</a> callback)</code>
+<div class="block">Sets an Object instance method reference used as the "stop"
callback.</div>
</td>
</tr>
-<tr id="i51" class="rowColor">
+<tr id="i46" class="altColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#stop-java.lang.String-">stop</a></span>(java.lang.String callback)</code>
-<div class="block">Sets the name of the method used as the "stop"
callback.</div>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#stop-org.apache.felix.dm.lambda.callbacks.InstanceCbComponent-">stop</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCbComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCbComponent</a> callback)</code>
+<div class="block">Sets an Object instance method reference used as the "stop"
callback.</div>
</td>
</tr>
-<tr id="i52" class="altColor">
+<tr id="i47" class="rowColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#stopInstance-org.apache.felix.dm.lambda.callbacks.InstanceCb-">stopInstance</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCb.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCb</a> callback)</code>
-<div class="block">Sets an Object instance method reference used as the "stop"
callback.</div>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#stop-java.lang.Object-java.lang.String-">stop</a></span>(java.lang.Object callbackInstance,
+ java.lang.String callback)</code>
+<div class="block">Sets a callback instance and the name of the method used as
the "stop" callback.</div>
</td>
</tr>
-<tr id="i53" class="rowColor">
+<tr id="i48" class="altColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#stopInstance-org.apache.felix.dm.lambda.callbacks.InstanceCbComponent-">stopInstance</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCbComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCbComponent</a> callback)</code>
-<div class="block">Sets an Object instance method reference used as the "stop"
callback.</div>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#stop-java.lang.String-">stop</a></span>(java.lang.String callback)</code>
+<div class="block">Sets the name of the method used as the "stop"
callback.</div>
</td>
</tr>
-<tr id="i54" class="altColor">
+<tr id="i49" class="rowColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#withBundle-java.util.function.Consumer-">withBundle</a></span>(java.util.function.Consumer<<a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a>> consumer)</code>
<div class="block">Adds a bundle dependency.</div>
</td>
</tr>
-<tr id="i55" class="rowColor">
+<tr id="i50" class="altColor">
<td class="colFirst"><code>default <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#withCnf-java.lang.Class-">withCnf</a></span>(java.lang.Class<?> configType)</code>
<div class="block">Adds a configuration dependency using a configuration
type.</div>
</td>
</tr>
-<tr id="i56" class="altColor">
+<tr id="i51" class="rowColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#withCnf-java.util.function.Consumer-">withCnf</a></span>(java.util.function.Consumer<<a
href="../../../../../org/apache/felix/dm/lambda/ConfigurationDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">ConfigurationDependencyBuilder</a>> consumer)</code>
<div class="block">Adds a configuration dependency.</div>
</td>
</tr>
-<tr id="i57" class="rowColor">
+<tr id="i52" class="altColor">
<td class="colFirst"><code>default <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#withCnf-java.lang.String...-">withCnf</a></span>(java.lang.String... pids)</code>
<div class="block">Adds multiple configuration dependencies in one single
call.</div>
</td>
</tr>
-<tr id="i58" class="altColor">
+<tr id="i53" class="rowColor">
<td class="colFirst"><code><U> <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#withFuture-java.util.concurrent.CompletableFuture-java.util.function.Consumer-">withFuture</a></span>(java.util.concurrent.CompletableFuture<U> future,
java.util.function.Consumer<<a
href="../../../../../org/apache/felix/dm/lambda/FutureDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">FutureDependencyBuilder</a><U>> consumer)</code>
<div class="block">Adds a CompletableFuture dependency.</div>
</td>
</tr>
-<tr id="i59" class="rowColor">
-<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
+<tr id="i54" class="altColor">
+<td class="colFirst"><code>default <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#withSvc-boolean-java.lang.Class...-">withSvc</a></span>(boolean required,
+ java.lang.Class<?>... services)</code>
+<div class="block">Adds in one shot multiple service dependencies injected in
compatible class fields.</div>
+</td>
+</tr>
+<tr id="i55" class="rowColor">
+<td class="colFirst"><code>default <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#withSvc-java.lang.Class...-">withSvc</a></span>(java.lang.Class<?>... services)</code>
-<div class="block">Adds in one shot multiple required/autoconfig service
dependencies.</div>
+<div class="block">Adds in one shot multiple service dependencies injected in
compatible class fields.</div>
</td>
</tr>
-<tr id="i60" class="altColor">
-<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#withSvc-java.lang.Class-java.lang.String-">withSvc</a></span>(java.lang.Class<?> service,
- java.lang.String filter)</code>
-<div class="block">Adds a required/autoconfig service dependency.</div>
+<tr id="i56" class="altColor">
+<td class="colFirst"><code>default <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#withSvc-java.lang.Class-boolean-">withSvc</a></span>(java.lang.Class<?> service,
+ boolean required)</code>
+<div class="block">Adds a service dependency injected in compatible class
fields.</div>
+</td>
+</tr>
+<tr id="i57" class="rowColor">
+<td class="colFirst"><code>default <T> <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#withSvc-java.lang.Class-java.lang.String-boolean-">withSvc</a></span>(java.lang.Class<T> service,
+ java.lang.String filter,
+ boolean required)</code>
+<div class="block">Adds a service dependency injected in compatible class
fields.</div>
+</td>
+</tr>
+<tr id="i58" class="altColor">
+<td class="colFirst"><code>default <T> <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#withSvc-java.lang.Class-java.lang.String-java.lang.String-boolean-">withSvc</a></span>(java.lang.Class<T> service,
+ java.lang.String filter,
+ java.lang.String field,
+ boolean required)</code>
+<div class="block">Adds a service dependency injected in a given compatible
class field.</div>
</td>
</tr>
-<tr id="i61" class="rowColor">
+<tr id="i59" class="rowColor">
<td class="colFirst"><code><U> <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#withSvc-java.lang.Class-java.util.function.Consumer-">withSvc</a></span>(java.lang.Class<U> service,
java.util.function.Consumer<<a
href="../../../../../org/apache/felix/dm/lambda/ServiceDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">ServiceDependencyBuilder</a><U>> consumer)</code>
@@ -1098,21 +1096,23 @@ var activeTableTab = "activeTableTab";
</dl>
</li>
</ul>
-<a name="withSvc-java.lang.Class-java.lang.String-">
+<a name="withSvc-java.lang.Class-java.util.function.Consumer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withSvc</h4>
-<pre><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in
ComponentBuilder">B</a> withSvc(java.lang.Class<?> service,
- java.lang.String filter)</pre>
-<div class="block">Adds a required/autoconfig service dependency.</div>
+<pre><U> <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in
ComponentBuilder">B</a> withSvc(java.lang.Class<U> service,
+ java.util.function.Consumer<<a
href="../../../../../org/apache/felix/dm/lambda/ServiceDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">ServiceDependencyBuilder</a><U>> consumer)</pre>
+<div class="block">Adds a service dependency built using a Consumer lambda
that is provided with a ServiceDependencyBuilder.</div>
<dl>
+<dt><span class="paramLabel">Type Parameters:</span></dt>
+<dd><code>U</code> - the type of the dependency service</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>service</code> - the service dependency filter</dd>
-<dd><code>filter</code> - the service filter</dd>
+<dd><code>service</code> - the service</dd>
+<dd><code>consumer</code> - the lambda used to build the service
dependency</dd>
<dt><span class="returnLabel">Returns:</span></dt>
-<dd>this builder</dd>
+<dd>this builder.</dd>
</dl>
</li>
</ul>
@@ -1122,33 +1122,95 @@ var activeTableTab = "activeTableTab";
<ul class="blockList">
<li class="blockList">
<h4>withSvc</h4>
-<pre><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in
ComponentBuilder">B</a> withSvc(java.lang.Class<?>... services)</pre>
-<div class="block">Adds in one shot multiple required/autoconfig service
dependencies.</div>
+<pre>default <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in
ComponentBuilder">B</a> withSvc(java.lang.Class<?>... services)</pre>
+<div class="block">Adds in one shot multiple service dependencies injected in
compatible class fields.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>services</code> - the dependencies that are required and that will
be injected in any field with the same dependency type.</dd>
+<dd><code>services</code> - some dependencies to inject in compatible class
fields.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this builder</dd>
</dl>
</li>
</ul>
-<a name="withSvc-java.lang.Class-java.util.function.Consumer-">
+<a name="withSvc-boolean-java.lang.Class...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withSvc</h4>
-<pre><U> <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in
ComponentBuilder">B</a> withSvc(java.lang.Class<U> service,
- java.util.function.Consumer<<a
href="../../../../../org/apache/felix/dm/lambda/ServiceDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">ServiceDependencyBuilder</a><U>> consumer)</pre>
-<div class="block">Adds a service dependency built using a Consumer lambda
that is provided with a ServiceDependencyBuilder.</div>
+<pre>default <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in
ComponentBuilder">B</a> withSvc(boolean required,
+ java.lang.Class<?>... services)</pre>
+<div class="block">Adds in one shot multiple service dependencies injected in
compatible class fields.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>required</code> - true if the dependency is required, false if
not</dd>
+<dd><code>services</code> - some dependencies to inject in compatible class
fields.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>this builder</dd>
+</dl>
+</li>
+</ul>
+<a name="withSvc-java.lang.Class-boolean-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>withSvc</h4>
+<pre>default <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in
ComponentBuilder">B</a> withSvc(java.lang.Class<?> service,
+ boolean required)</pre>
+<div class="block">Adds a service dependency injected in compatible class
fields.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>service</code> - a service dependency</dd>
+<dd><code>required</code> - true if the dependency is required, false if
not</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>this builder</dd>
+</dl>
+</li>
+</ul>
+<a name="withSvc-java.lang.Class-java.lang.String-boolean-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>withSvc</h4>
+<pre>default <T> <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in
ComponentBuilder">B</a> withSvc(java.lang.Class<T> service,
+ java.lang.String filter,
+ boolean required)</pre>
+<div class="block">Adds a service dependency injected in compatible class
fields.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
-<dd><code>U</code> - the type of the dependency service</dd>
+<dd><code>T</code> - the service dependency type</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>service</code> - the service</dd>
-<dd><code>consumer</code> - the lambda for building the service dependency</dd>
+<dd><code>service</code> - the service dependency.</dd>
+<dd><code>filter</code> - the service filter</dd>
+<dd><code>required</code> - true if the dependency is required, false if
not</dd>
<dt><span class="returnLabel">Returns:</span></dt>
-<dd>this builder.</dd>
+<dd>this builder</dd>
+</dl>
+</li>
+</ul>
+<a name="withSvc-java.lang.Class-java.lang.String-java.lang.String-boolean-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>withSvc</h4>
+<pre>default <T> <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in
ComponentBuilder">B</a> withSvc(java.lang.Class<T> service,
+ java.lang.String filter,
+ java.lang.String field,
+ boolean required)</pre>
+<div class="block">Adds a service dependency injected in a given compatible
class field.</div>
+<dl>
+<dt><span class="paramLabel">Type Parameters:</span></dt>
+<dd><code>T</code> - the service dependency type</dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>service</code> - the service dependency</dd>
+<dd><code>filter</code> - the service filter</dd>
+<dd><code>field</code> - the class field when the dependency has to be
injected</dd>
+<dd><code>required</code> - true if the dependency is required, false if
not</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>this builder</dd>
</dl>
</li>
</ul>
@@ -1194,10 +1256,12 @@ var activeTableTab = "activeTableTab";
<div class="block">Adds a configuration dependency using a configuration type.
The configuration is injected in an updated callback which takes in argument
an implementation of the specified configuration type.</div>
<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>configType</code> - the configuration type that will be injected to
the "updated" callback</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this builder</dd>
<dt><span class="seeLabel">See Also:</span></dt>
-<dd><a
href="../../../../../org/apache/felix/dm/lambda/ConfigurationDependencyBuilder.html"
title="interface in org.apache.felix.dm.lambda"><code>for informations about
configuration types.</code></a></dd>
+<dd><a
href="../../../../../org/apache/felix/dm/lambda/ConfigurationDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda"><code>ConfigurationDependencyBuilder</code></a></dd>
</dl>
</li>
</ul>
@@ -1237,34 +1301,6 @@ var activeTableTab = "activeTableTab";
</dl>
</li>
</ul>
-<a name="lifecycleCallbackInstance-java.lang.Object-">
-<!-- -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>lifecycleCallbackInstance</h4>
-<pre><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in
ComponentBuilder">B</a> lifecycleCallbackInstance(java.lang.Object lifecycleCallbackInstance)</pre>
-<div class="block">Sets the instance to invoke with the reflection based
lifecycle callbacks. By default, reflection based
- lifecycle callbacks (init/start/stop/destroy) methods are invoked on the
component implementation instance(s).
- But you can set a specific callback instance using this method.
- <p>
- Specifying an instance means you can create a manager
- that will be invoked whenever the life cycle of a component changes and this
manager
- can then decide how to expose this life cycle to the actual component,
offering an
- important indirection when developing your own component models.</div>
-<dl>
-<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>lifecycleCallbackInstance</code> - the instance the lifecycle
callback will be invoked on.</dd>
-<dt><span class="returnLabel">Returns:</span></dt>
-<dd>this builder.</dd>
-<dt><span class="seeLabel">See Also:</span></dt>
-<dd><a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#init-java.lang.String-"><code>init(String)</code></a>,
-<a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#start-java.lang.String-"><code>start(String)</code></a>,
-<a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#stop-java.lang.String-"><code>stop(String)</code></a>,
-<a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#destroy-java.lang.String-"><code>destroy(String)</code></a></dd>
-</dl>
-</li>
-</ul>
<a name="init-java.lang.String-">
<!-- -->
</a>
@@ -1291,39 +1327,20 @@ var activeTableTab = "activeTableTab";
</dl>
</li>
</ul>
-<a name="start-java.lang.String-">
+<a name="init-java.lang.Object-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>start</h4>
-<pre><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in
ComponentBuilder">B</a> start(java.lang.String callback)</pre>
-<div class="block">Sets the name of the method used as the "start" callback.
This method, when found, is
- invoked as part of the life cycle management of the component implementation.
<p>The
- dependency manager will look for a method of this name with the following
signatures,
- in this order:
- <ol>
- <li>method(Component component)</li>
- <li>method()</li>
- </ol></div>
-<dl>
-<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>callback</code> - the callback name</dd>
-<dt><span class="returnLabel">Returns:</span></dt>
-<dd>this builder.</dd>
-</dl>
-</li>
-</ul>
-<a name="stop-java.lang.String-">
-<!-- -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>stop</h4>
-<pre><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in
ComponentBuilder">B</a> stop(java.lang.String callback)</pre>
-<div class="block">Sets the name of the method used as the "stop" callback.
This method, when found, is
- invoked as part of the life cycle management of the component implementation.
<p>The
- dependency manager will look for a method of this name with the following
signatures,
+<h4>init</h4>
+<pre><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in
ComponentBuilder">B</a> init(java.lang.Object callbackInstance,
+ java.lang.String callback)</pre>
+<div class="block">Sets a callback instance and the name of the method used as
the "init" callback. This method, when found, is
+ invoked as part of the life cycle management of the component implementation.
+ This method is useful because when it is invoked, all required dependencies
defines in the Activator
+ are already injected, and you can then add more extra dependencies from the
init() method.
+ And once all extra dependencies will be available and injected, then the
"start" callback will be invoked.
+ <p>The dependency manager will look for a method of this name with the
following signatures,
in this order:
<ol>
<li>method(Component component)</li>
@@ -1331,209 +1348,195 @@ var activeTableTab = "activeTableTab";
</ol></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>callbackInstance</code> - a callback instance object the callback is
invoked on</dd>
<dd><code>callback</code> - the callback name</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this builder.</dd>
</dl>
</li>
</ul>
-<a name="destroy-java.lang.String-">
+<a name="init-org.apache.felix.dm.lambda.callbacks.InstanceCb-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>destroy</h4>
-<pre><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in
ComponentBuilder">B</a> destroy(java.lang.String callback)</pre>
-<div class="block">Sets the name of the method used as the "destroy" callback.
This method, when found, is
- invoked as part of the life cycle management of the component implementation.
<p>The
- dependency manager will look for a method of this name with the following
signatures,
- in this order:
- <ol>
- <li>method(Component component)</li>
- <li>method()</li>
- </ol></div>
+<h4>init</h4>
+<pre><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a> init(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCb.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCb</a> callback)</pre>
+<div class="block">Sets an Object instance method reference used as the "init"
callback. It is invoked as part of the life cycle management of the component
+ implementation.
+ This method is useful because when it is invoked, all required dependencies
defines in the Activator
+ are already injected, and you can then add more extra dependencies from the
init() method.
+ And once all extra dependencies will be available and injected, then the
"start" callback will be invoked.
+ The method does not take any parameters.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>callback</code> - the callback name</dd>
+<dd><code>callback</code> - an Object instance method reference. The method
does not take any parameters.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
-<dd>this builder.</dd>
+<dd>this builder</dd>
</dl>
</li>
</ul>
-<a name="init-org.apache.felix.dm.lambda.callbacks.Cb-">
+<a name="init-org.apache.felix.dm.lambda.callbacks.InstanceCbComponent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>init</h4>
-<pre><T> <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a> init(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/Cb.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">Cb</a><T> callback)</pre>
-<div class="block">Sets a reference to a component implementation class "init"
callback method.
- This method does not take any arguments and is
- invoked as part of the life cycle management of the component implementation.
+<pre><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a> init(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCbComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCbComponent</a> callback)</pre>
+<div class="block">Sets an Object instance method reference used as the "init"
callback. It is invoked as part of the life cycle management of the component
+ implementation.
This method is useful because when it is invoked, all required dependencies
defines in the Activator
are already injected, and you can then add more extra dependencies from the
init() method.
- And once all extra dependencies will be available and injected, then the
"start" callback will be invoked.</div>
+ And once all extra dependencies will be available and injected, then the
"start" callback will be invoked.
+ The method takes as argument a Component parameter.</div>
<dl>
-<dt><span class="paramLabel">Type Parameters:</span></dt>
-<dd><code>T</code> - the type of the component class on which the callback is
invoked on.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>callback</code> - a method reference must point to method from the
component implementation class(es).</dd>
+<dd><code>callback</code> - an Object instance method reference. The method
takes as argument a Component parameter.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this builder</dd>
</dl>
</li>
</ul>
-<a name="start-org.apache.felix.dm.lambda.callbacks.Cb-">
+<a name="start-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>start</h4>
-<pre><T> <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a> start(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/Cb.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">Cb</a><T> callback)</pre>
-<div class="block">Sets a reference to a component implementation class
"start" callback method.
- This method does not take any arguments and is
- invoked as part of the life cycle management of the component
implementation.</div>
+<pre><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in
ComponentBuilder">B</a> start(java.lang.String callback)</pre>
+<div class="block">Sets a callback instance and the name of the method used as
the "start" callback. This method, when found, is
+ invoked as part of the life cycle management of the component implementation.
<p>The
+ dependency manager will look for a method of this name with the following
signatures,
+ in this order:
+ <ol>
+ <li>method(Component component)</li>
+ <li>method()</li>
+ </ol></div>
<dl>
-<dt><span class="paramLabel">Type Parameters:</span></dt>
-<dd><code>T</code> - the type of the component class on which the callback is
invoked on.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>callback</code> - a method reference must point to method from one
of the component implementation classes.</dd>
+<dd><code>callback</code> - the callback name</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this builder.</dd>
</dl>
</li>
</ul>
-<a name="stop-org.apache.felix.dm.lambda.callbacks.Cb-">
+<a name="start-java.lang.Object-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>stop</h4>
-<pre><T> <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a> stop(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/Cb.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">Cb</a><T> callback)</pre>
-<div class="block">Sets a reference to a component implementation class "stop"
callback method.
- This method does not take any arguments and is
- invoked as part of the life cycle management of the component
implementation.</div>
+<h4>start</h4>
+<pre><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in
ComponentBuilder">B</a> start(java.lang.Object callbackInstance,
+ java.lang.String callback)</pre>
+<div class="block">Sets the name of the method used as the "start" callback.
This method, when found, is
+ invoked as part of the life cycle management of the component implementation.
<p>The
+ dependency manager will look for a method of this name with the following
signatures,
+ in this order:
+ <ol>
+ <li>method(Component component)</li>
+ <li>method()</li>
+ </ol></div>
<dl>
-<dt><span class="paramLabel">Type Parameters:</span></dt>
-<dd><code>T</code> - the type of the component class on which the callback is
invoked on.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>callback</code> - a method reference must point to method from one
of the component implementation classes.</dd>
+<dd><code>callbackInstance</code> - a callback instance object the callback is
invoked on</dd>
+<dd><code>callback</code> - the callback name</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this builder.</dd>
</dl>
</li>
</ul>
-<a name="destroy-org.apache.felix.dm.lambda.callbacks.Cb-">
+<a name="start-org.apache.felix.dm.lambda.callbacks.InstanceCb-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>destroy</h4>
-<pre><T> <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a> destroy(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/Cb.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">Cb</a><T> callback)</pre>
-<div class="block">Sets a reference to a component implementation class
"destroy" callback method.
- This method does not take any arguments and is
- invoked as part of the life cycle management of the component
implementation.</div>
+<h4>start</h4>
+<pre><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a> start(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCb.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCb</a> callback)</pre>
+<div class="block">Sets an Object instance method reference used as the
"start" callback.
+ This method is invoked as part of the life cycle management of the component
implementation.
+ The method does not take any parameters.</div>
<dl>
-<dt><span class="paramLabel">Type Parameters:</span></dt>
-<dd><code>T</code> - the type of the component class on which the callback is
invoked on.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>callback</code> - a method reference must point to method from one
of the component implementation classes.</dd>
+<dd><code>callback</code> - an Object instance method reference. The method
does not take any parameters.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this builder.</dd>
</dl>
</li>
</ul>
-<a name="init-org.apache.felix.dm.lambda.callbacks.CbComponent-">
-<!-- -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>init</h4>
-<pre><T> <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a> init(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbComponent</a><T> callback)</pre>
-<div class="block">Sets a reference to a component implementation class "init"
callback method.
- This method takes a Component argument and is
- invoked as part of the life cycle management of the component implementation.
- This method is useful because when it is invoked, all required dependencies
defines in the Activator
- are already injected, and you can then add more extra dependencies from the
init() method.
- And once all extra dependencies will be available and injected, then the
"start" callback will be invoked.</div>
-<dl>
-<dt><span class="paramLabel">Type Parameters:</span></dt>
-<dd><code>T</code> - the type of the component class on which the callback is
invoked on.</dd>
-<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>callback</code> - a method reference must point to method from one
of the component implementation classes. The method takes as argument a
Component parameter.</dd>
-<dt><span class="returnLabel">Returns:</span></dt>
-<dd>this builder</dd>
-</dl>
-</li>
-</ul>
-<a name="start-org.apache.felix.dm.lambda.callbacks.CbComponent-">
+<a name="start-org.apache.felix.dm.lambda.callbacks.InstanceCbComponent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>start</h4>
-<pre><T> <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a> start(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbComponent</a><T> callback)</pre>
-<div class="block">Sets a reference to a component implementation class
"start" callback method.
- This method takes a Component argument and is
- invoked as part of the life cycle management of the component
implementation.</div>
+<pre><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a> start(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCbComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCbComponent</a> callback)</pre>
+<div class="block">Sets an Object instance method reference used as the
"start" callback.
+ This method is invoked as part of the life cycle management of the component
implementation.
+ The method takes as argument a Component parameter.</div>
<dl>
-<dt><span class="paramLabel">Type Parameters:</span></dt>
-<dd><code>T</code> - the type of the component class on which the callback is
invoked on.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>callback</code> - a method reference must point to method from one
of the component implementation classes. The method takes as argument a
Component parameter.</dd>
+<dd><code>callback</code> - an Object instance method reference. The method
takes as argument a Component parameter.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this builder.</dd>
</dl>
</li>
</ul>
-<a name="stop-org.apache.felix.dm.lambda.callbacks.CbComponent-">
+<a name="stop-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stop</h4>
-<pre><T> <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a> stop(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbComponent</a><T> callback)</pre>
-<div class="block">Sets a reference to a component implementation class "stop"
callback method.
- This method takes a Component argument and is
- invoked as part of the life cycle management of the component
implementation.</div>
+<pre><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in
ComponentBuilder">B</a> stop(java.lang.String callback)</pre>
+<div class="block">Sets the name of the method used as the "stop" callback.
This method, when found, is
+ invoked as part of the life cycle management of the component implementation.
<p>The
+ dependency manager will look for a method of this name with the following
signatures,
+ in this order:
+ <ol>
+ <li>method(Component component)</li>
+ <li>method()</li>
+ </ol></div>
<dl>
-<dt><span class="paramLabel">Type Parameters:</span></dt>
-<dd><code>T</code> - the type of the component class on which the callback is
invoked on.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>callback</code> - a method reference must point to method from one
of the component implementation classes. The method takes as argument a
Component parameter.</dd>
+<dd><code>callback</code> - the callback name</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this builder.</dd>
</dl>
</li>
</ul>
-<a name="destroy-org.apache.felix.dm.lambda.callbacks.CbComponent-">
+<a name="stop-java.lang.Object-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>destroy</h4>
-<pre><T> <a
href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a> destroy(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbComponent</a><T> callback)</pre>
-<div class="block">Sets a reference to a component implementation class
"destroy" callback method.
- This method takes a Component argument and is
- invoked as part of the life cycle management of the component
implementation.</div>
+<h4>stop</h4>
+<pre><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in
ComponentBuilder">B</a> stop(java.lang.Object callbackInstance,
+ java.lang.String callback)</pre>
+<div class="block">Sets a callback instance and the name of the method used as
the "stop" callback. This method, when found, is
+ invoked as part of the life cycle management of the component implementation.
<p>The
+ dependency manager will look for a method of this name with the following
signatures,
+ in this order:
+ <ol>
+ <li>method(Component component)</li>
+ <li>method()</li>
+ </ol></div>
<dl>
-<dt><span class="paramLabel">Type Parameters:</span></dt>
-<dd><code>T</code> - the type of the component class on which the callback is
invoked on.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>callback</code> - a method reference must point to method from one
of the component implementation classes. The method takes as argument a
Component parameter.</dd>
+<dd><code>callbackInstance</code> - a callback instance object the callback is
invoked on</dd>
+<dd><code>callback</code> - the callback name</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this builder.</dd>
</dl>
</li>
</ul>
-<a name="initInstance-org.apache.felix.dm.lambda.callbacks.InstanceCb-">
+<a name="stop-org.apache.felix.dm.lambda.callbacks.InstanceCb-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>initInstance</h4>
-<pre><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a> initInstance(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCb.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCb</a> callback)</pre>
-<div class="block">Sets an Object instance method reference used as the "init"
callback. It is invoked as part of the life cycle management of the component
+<h4>stop</h4>
+<pre><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a> stop(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCb.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCb</a> callback)</pre>
+<div class="block">Sets an Object instance method reference used as the "stop"
callback. It is invoked as part of the life cycle management of the component
implementation.
This method is useful because when it is invoked, all required dependencies
defines in the Activator
are already injected, and you can then add more extra dependencies from the
init() method.
@@ -1547,130 +1550,100 @@ var activeTableTab = "activeTableTab";
</dl>
</li>
</ul>
-<a name="startInstance-org.apache.felix.dm.lambda.callbacks.InstanceCb-">
+<a name="stop-org.apache.felix.dm.lambda.callbacks.InstanceCbComponent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>startInstance</h4>
-<pre><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a> startInstance(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCb.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCb</a> callback)</pre>
-<div class="block">Sets an Object instance method reference used as the
"start" callback.
+<h4>stop</h4>
+<pre><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a> stop(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCbComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCbComponent</a> callback)</pre>
+<div class="block">Sets an Object instance method reference used as the "stop"
callback.
This method is invoked as part of the life cycle management of the component
implementation.
- The method does not take any parameters.</div>
+ The method takes as argument a Component parameter.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>callback</code> - an Object instance method reference. The method
does not take any parameters.</dd>
+<dd><code>callback</code> - an Object instance method reference. The method
takes as argument a Component parameter.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this builder.</dd>
</dl>
</li>
</ul>
-<a name="stopInstance-org.apache.felix.dm.lambda.callbacks.InstanceCb-">
+<a name="destroy-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>stopInstance</h4>
-<pre><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a> stopInstance(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCb.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCb</a> callback)</pre>
-<div class="block">Sets an Object instance method reference used as the "stop"
callback. It is invoked as part of the life cycle management of the component
- implementation.
- This method is useful because when it is invoked, all required dependencies
defines in the Activator
- are already injected, and you can then add more extra dependencies from the
init() method.
- And once all extra dependencies will be available and injected, then the
"start" callback will be invoked.
- The method does not take any parameters.</div>
+<h4>destroy</h4>
+<pre><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in
ComponentBuilder">B</a> destroy(java.lang.String callback)</pre>
+<div class="block">Sets the name of the method used as the "destroy" callback.
This method, when found, is
+ invoked as part of the life cycle management of the component implementation.
<p>The
+ dependency manager will look for a method of this name with the following
signatures,
+ in this order:
+ <ol>
+ <li>method(Component component)</li>
+ <li>method()</li>
+ </ol></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>callback</code> - an Object instance method reference. The method
does not take any parameters.</dd>
+<dd><code>callback</code> - the callback name</dd>
<dt><span class="returnLabel">Returns:</span></dt>
-<dd>this builder</dd>
+<dd>this builder.</dd>
</dl>
</li>
</ul>
-<a name="destroyInstance-org.apache.felix.dm.lambda.callbacks.InstanceCb-">
+<a name="destroy-java.lang.Object-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>destroyInstance</h4>
-<pre><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a> destroyInstance(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCb.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCb</a> callback)</pre>
-<div class="block">Sets an Object instance method reference used as the
"destroy" callback. It is invoked as part of the life cycle management of the
component
- implementation.
- This method is useful because when it is invoked, all required dependencies
defines in the Activator
- are already injected, and you can then add more extra dependencies from the
init() method.
- And once all extra dependencies will be available and injected, then the
"start" callback will be invoked.
- The method does not take any parameters.</div>
+<h4>destroy</h4>
+<pre><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in
ComponentBuilder">B</a> destroy(java.lang.Object callbackInstance,
+ java.lang.String callback)</pre>
+<div class="block">Sets a callback instance and the name of the method used as
the "destroy" callback. This method, when found, is
+ invoked as part of the life cycle management of the component implementation.
<p>The
+ dependency manager will look for a method of this name with the following
signatures,
+ in this order:
+ <ol>
+ <li>method(Component component)</li>
+ <li>method()</li>
+ </ol></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>callback</code> - an Object instance method reference. The method
does not take any parameters.</dd>
+<dd><code>callbackInstance</code> - a callback instance object the callback is
invoked on</dd>
+<dd><code>callback</code> - the callback name</dd>
<dt><span class="returnLabel">Returns:</span></dt>
-<dd>this builder</dd>
+<dd>this builder.</dd>
</dl>
</li>
</ul>
-<a
name="initInstance-org.apache.felix.dm.lambda.callbacks.InstanceCbComponent-">
+<a name="destroy-org.apache.felix.dm.lambda.callbacks.InstanceCb-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>initInstance</h4>
-<pre><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a> initInstance(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCbComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCbComponent</a> callback)</pre>
-<div class="block">Sets an Object instance method reference used as the "init"
callback. It is invoked as part of the life cycle management of the component
+<h4>destroy</h4>
+<pre><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html"
title="type parameter in ComponentBuilder">B</a> destroy(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCb.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCb</a> callback)</pre>
+<div class="block">Sets an Object instance method reference used as the
"destroy" callback. It is invoked as part of the life cycle management of the
component
implementation.
This method is useful because when it is invoked, all required dependencies
defines in the Activator
are already injected, and you can then add more extra dependencies from the
init() method.
And once all extra dependencies will be available and injected, then the
"start" callback will be invoked.
- The method takes as argument a Component parameter.</div>
+ The method does not take any parameters.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>callback</code> - an Object instance method reference. The method
takes as argument a Component parameter.</dd>
+<dd><code>callback</code> - an Object instance method reference. The method
does not take any parameters.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this builder</dd>
</dl>
</li>
</ul>
-<a
name="startInstance-org.apache.felix.dm.lambda.callbacks.InstanceCbComponent-">
+<a name="destroy-org.apache.felix.dm.lambda.callbacks.InstanceCbComponent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>startInstance</h4>
[... 43 lines stripped ...]