Modified:
websites/staging/felix/trunk/content/apidocs/dependencymanager.lambda/r7/org/apache/felix/dm/lambda/BundleDependencyBuilder.html
==============================================================================
---
websites/staging/felix/trunk/content/apidocs/dependencymanager.lambda/r7/org/apache/felix/dm/lambda/BundleDependencyBuilder.html
(original)
+++
websites/staging/felix/trunk/content/apidocs/dependencymanager.lambda/r7/org/apache/felix/dm/lambda/BundleDependencyBuilder.html
Wed Feb 24 00:19:46 2016
@@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
-<!-- Generated by javadoc (1.8.0_72) on Thu Feb 04 08:50:09 CET 2016 -->
+<!-- Generated by javadoc (1.8.0_74) on Wed Feb 24 01:07:32 CET 2016 -->
<title>BundleDependencyBuilder</title>
-<meta name="date" content="2016-02-04">
+<meta name="date" content="2016-02-24">
<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};
+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};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance
Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -106,18 +106,18 @@ var activeTableTab = "activeTableTab";
<br>
<pre>public interface <span
class="typeNameLabel">BundleDependencyBuilder</span>
extends <a
href="../../../../../org/apache/felix/dm/lambda/DependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">DependencyBuilder</a><org.apache.felix.dm.BundleDependency></pre>
-<div class="block">Builds a Dependency Manager Bundle Dependency. The
Dependency is required by default (unlike in the original Dependency Manager
API).
+<div class="block">Builds a Dependency Manager Bundle Dependency.
+ When a bundle dependency is not explicitly defined as "required" or
"optional", then it is assumed to be required by default.
- <p> Example of a Component which tracks a started bundle having a given
bundle symbolic name:
+ <p> Example of a Pojo Component which tracks a started bundle having a given
bundle symbolic name:
<pre> <code>
public class Activator extends DependencyManagerActivator {
- public void activate() throws Exception {
+ public void init(BundleContext ctx, DependencyManager dm) throws
Exception {
String BSN = "org.apache.felix.dependencymanager";
component(comp -> comp
- .impl(MyComponent.class)
- .withBundle(b ->
b.mask(Bundle.ACTIVE).filter("(Bundle-SymbolicName=" + BSN +
")").cb(MyComponent::add, MyComponent::remove)));
-
+ .impl(Pojo.class)
+ .withBundle(b ->
b.mask(Bundle.ACTIVE).filter("(Bundle-SymbolicName=" + BSN +
")").add(Pojo::add).remove(Pojo::remove)));
}
}
</code> </pre></div>
@@ -140,164 +140,163 @@ extends <a href="../../../../../org/apac
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
-<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#autoConfig--">autoConfig</a></span>()</code>
-<div class="block">Enables auto configuration for this dependency.</div>
+<td class="colFirst"><code><T> <a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#add-org.apache.felix.dm.lambda.callbacks.CbBundle-">add</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbBundle</a><T> add)</code>
+<div class="block">Sets a <code>callback</code> method reference which is
invoked when a bundle is added.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
-<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#autoConfig-boolean-">autoConfig</a></span>(boolean autoConfig)</code>
-<div class="block">Enables auto configuration for this dependency.</div>
+<td class="colFirst"><code><T> <a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#add-org.apache.felix.dm.lambda.callbacks.CbBundleComponent-">add</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbBundleComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbBundleComponent</a><T> add)</code>
+<div class="block">Sets a <code>callback</code> method reference which is
invoked when a bundle is added.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#bundle-org.osgi.framework.Bundle-">bundle</a></span>(org.osgi.framework.Bundle bundle)</code>
-<div class="block">Sets the bundle to depend on directly.</div>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#add-org.apache.felix.dm.lambda.callbacks.InstanceCbBundle-">add</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCbBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCbBundle</a> add)</code>
+<div class="block">Sets a method reference on an Object instance which is
invoked when a bundle is added.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
-<td class="colFirst"><code><T> <a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#cb-org.apache.felix.dm.lambda.callbacks.CbTypeBundle-">cb</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbTypeBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbTypeBundle</a><T> add)</code>
-<div class="block">Sets a <code>callback</code> method reference which is
invoked when a bundle is added.</div>
+<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#add-org.apache.felix.dm.lambda.callbacks.InstanceCbBundleComponent-">add</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCbBundleComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCbBundleComponent</a> add)</code>
+<div class="block">Sets a <code>callback instance</code> method reference
which is invoked when a bundle is added.</div>
</td>
</tr>
<tr id="i4" class="altColor">
-<td class="colFirst"><code><T> <a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#cb-org.apache.felix.dm.lambda.callbacks.CbTypeBundle-org.apache.felix.dm.lambda.callbacks.CbTypeBundle-">cb</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbTypeBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbTypeBundle</a><T> add,
- <a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbTypeBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbTypeBundle</a><T> remove)</code>
-<div class="block">Sets some <code>callback</code> method references which are
invoked when a bundle is added, or removed.</div>
+<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#add-java.lang.String-">add</a></span>(java.lang.String callback)</code>
+<div class="block">Sets a "add" <code>callback</code> method to invoke on the
component implementation instance(s).</div>
</td>
</tr>
<tr id="i5" class="rowColor">
-<td class="colFirst"><code><T> <a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#cb-org.apache.felix.dm.lambda.callbacks.CbTypeBundle-org.apache.felix.dm.lambda.callbacks.CbTypeBundle-org.apache.felix.dm.lambda.callbacks.CbTypeBundle-">cb</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbTypeBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbTypeBundle</a><T> add,
- <a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbTypeBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbTypeBundle</a><T> change,
- <a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbTypeBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbTypeBundle</a><T> remove)</code>
-<div class="block">Sets some <code>callback</code> method references which are
invoked when a bundle is added, changed or removed.</div>
+<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#autoConfig--">autoConfig</a></span>()</code>
+<div class="block">Enables auto configuration for this dependency.</div>
</td>
</tr>
<tr id="i6" class="altColor">
-<td class="colFirst"><code><T> <a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#cb-org.apache.felix.dm.lambda.callbacks.CbTypeComponentBundle-">cb</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbTypeComponentBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbTypeComponentBundle</a><T> add)</code>
-<div class="block">Sets a <code>callback</code> method reference which is
invoked when a bundle is added.</div>
+<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#autoConfig-boolean-">autoConfig</a></span>(boolean autoConfig)</code>
+<div class="block">Enables auto configuration for this dependency.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
-<td class="colFirst"><code><T> <a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#cb-org.apache.felix.dm.lambda.callbacks.CbTypeComponentBundle-org.apache.felix.dm.lambda.callbacks.CbTypeComponentBundle-">cb</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbTypeComponentBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbTypeComponentBundle</a><T> add,
- <a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbTypeComponentBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbTypeComponentBundle</a><T> remove)</code>
-<div class="block">Sets some <code>callback</code> method references which are
invoked when a bundle is added, or removed.</div>
+<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#bundle-org.osgi.framework.Bundle-">bundle</a></span>(org.osgi.framework.Bundle bundle)</code>
+<div class="block">Sets the bundle to depend on directly.</div>
</td>
</tr>
<tr id="i8" class="altColor">
-<td class="colFirst"><code><T> <a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#cb-org.apache.felix.dm.lambda.callbacks.CbTypeComponentBundle-org.apache.felix.dm.lambda.callbacks.CbTypeComponentBundle-org.apache.felix.dm.lambda.callbacks.CbTypeComponentBundle-">cb</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbTypeComponentBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbTypeComponentBundle</a><T> add,
- <a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbTypeComponentBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbTypeComponentBundle</a><T> change,
- <a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbTypeComponentBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbTypeComponentBundle</a><T> remove)</code>
-<div class="block">Sets some <code>callback</code> method references which are
invoked when a bundle is added, changed or removed.</div>
+<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#callbackInstance-java.lang.Object-">callbackInstance</a></span>(java.lang.Object callbackInstance)</code>
+<div class="block">Specifies a callback instance used to invoke the reflection
based callbacks on it.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
-<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#cb-java.lang.Object-java.lang.String...-">cb</a></span>(java.lang.Object callbackInstance,
- java.lang.String... callbacks)</code>
-<div class="block">Sets some <code>callback instance</code> methods to invoke
on a given Object instance.</div>
+<td class="colFirst"><code><T> <a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#change-org.apache.felix.dm.lambda.callbacks.CbBundle-">change</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbBundle</a><T> change)</code>
+<div class="block">Sets a <code>callback</code> method reference which is
invoked when a bundle is changed.</div>
</td>
</tr>
<tr id="i10" class="altColor">
-<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#cb-java.lang.String...-">cb</a></span>(java.lang.String... callbacks)</code>
-<div class="block">Sets some <code>callback</code> methods to invoke on the
component instance(s).</div>
+<td class="colFirst"><code><T> <a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#change-org.apache.felix.dm.lambda.callbacks.CbBundleComponent-">change</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbBundleComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbBundleComponent</a><T> change)</code>
+<div class="block">Sets a <code>callback</code> method reference which is
invoked when a bundle is changed.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#cbi-org.apache.felix.dm.lambda.callbacks.CbBundle-">cbi</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbBundle</a> add)</code>
-<div class="block">Sets a <code>callback instance</code> method reference
which is invoked when a bundle is added.</div>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#change-org.apache.felix.dm.lambda.callbacks.InstanceCbBundle-">change</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCbBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCbBundle</a> change)</code>
+<div class="block">Sets a method reference on an Object instance which is
invoked when a bundle is changed.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#cbi-org.apache.felix.dm.lambda.callbacks.CbBundle-org.apache.felix.dm.lambda.callbacks.CbBundle-">cbi</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbBundle.html"
title="interface in org.apache.felix.dm.lambda.callbacks">CbBundle</a> add,
- <a href="../../../../../org/apache/felix/dm/lambda/callbacks/CbBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbBundle</a> remove)</code>
-<div class="block">Sets some <code>callback instance</code> method references
which are invoked when a bundle is added or removed.</div>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#change-org.apache.felix.dm.lambda.callbacks.InstanceCbBundleComponent-">change</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCbBundleComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCbBundleComponent</a> change)</code>
+<div class="block">Sets a <code>callback instance</code> method reference
which is invoked when a bundle is changed.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#cbi-org.apache.felix.dm.lambda.callbacks.CbBundle-org.apache.felix.dm.lambda.callbacks.CbBundle-org.apache.felix.dm.lambda.callbacks.CbBundle-">cbi</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbBundle.html"
title="interface in org.apache.felix.dm.lambda.callbacks">CbBundle</a> add,
- <a href="../../../../../org/apache/felix/dm/lambda/callbacks/CbBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbBundle</a> change,
- <a href="../../../../../org/apache/felix/dm/lambda/callbacks/CbBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbBundle</a> remove)</code>
-<div class="block">Sets some <code>callback instance</code> method references
which are invoked when a bundle is added, changed or removed.</div>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#change-java.lang.String-">change</a></span>(java.lang.String callback)</code>
+<div class="block">Sets a "change" <code>callback</code> method to invoke on
the component implementation instance(s).</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#cbi-org.apache.felix.dm.lambda.callbacks.CbComponentBundle-">cbi</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbComponentBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbComponentBundle</a> add)</code>
-<div class="block">Sets a <code>callback instance</code> method reference
which is invoked when a bundle is added.</div>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#filter-java.lang.String-">filter</a></span>(java.lang.String filter)</code>
+<div class="block">Sets the filter condition to depend on.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#cbi-org.apache.felix.dm.lambda.callbacks.CbComponentBundle-org.apache.felix.dm.lambda.callbacks.CbComponentBundle-">cbi</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbComponentBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbComponentBundle</a> add,
- <a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbComponentBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbComponentBundle</a> remove)</code>
-<div class="block">Sets some <code>callback instance</code> method references
which are invoked when a bundle is added or removed.</div>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#mask-int-">mask</a></span>(int mask)</code>
+<div class="block">Sets the bundle state mask to depend on.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#cbi-org.apache.felix.dm.lambda.callbacks.CbComponentBundle-org.apache.felix.dm.lambda.callbacks.CbComponentBundle-org.apache.felix.dm.lambda.callbacks.CbComponentBundle-">cbi</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbComponentBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbComponentBundle</a> add,
- <a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbComponentBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbComponentBundle</a> change,
- <a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbComponentBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbComponentBundle</a> remove)</code>
-<div class="block">Sets some <code>callback instance</code> method references
which are invoked when a bundle is added, changed or removed.</div>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#propagate--">propagate</a></span>()</code>
+<div class="block">Sets property propagation.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#filter-java.lang.String-">filter</a></span>(java.lang.String filter)</code>
-<div class="block">Sets the filter condition to depend on.</div>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#propagate-boolean-">propagate</a></span>(boolean propagate)</code>
+<div class="block">Sets property propagation.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#mask-int-">mask</a></span>(int mask)</code>
-<div class="block">Sets the bundle state mask to depend on.</div>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#propagate-java.util.function.Function-">propagate</a></span>(java.util.function.Function<org.osgi.framework.Bundle,java.util.Dictionary<?,?>> propagate)</code>
+<div class="block">Sets a reference to a method on an Object instance used to
propagate some bundle properties to the provided service properties.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#propagate--">propagate</a></span>()</code>
-<div class="block">Sets property propagation.</div>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#propagate-java.lang.Object-java.lang.String-">propagate</a></span>(java.lang.Object instance,
+ java.lang.String method)</code>
+<div class="block">Sets an Object instance and a callback method used to
propagate some properties to the provided service properties.</div>
</td>
</tr>
<tr id="i20" class="altColor">
-<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#propagate-boolean-">propagate</a></span>(boolean propagate)</code>
-<div class="block">Sets property propagation.</div>
+<td class="colFirst"><code><T> <a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#remove-org.apache.felix.dm.lambda.callbacks.CbBundle-">remove</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbBundle</a><T> remove)</code>
+<div class="block">Sets a <code>callback</code> method reference which is
invoked when a bundle is removed.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
-<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#propagate-java.lang.Object-java.lang.String-">propagate</a></span>(java.lang.Object instance,
- java.lang.String method)</code>
-<div class="block">Sets an Object instance and a callback method used to
propagate some properties to the provided service properties.</div>
+<td class="colFirst"><code><T> <a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#remove-org.apache.felix.dm.lambda.callbacks.CbBundleComponent-">remove</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbBundleComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbBundleComponent</a><T> remove)</code>
+<div class="block">Sets a <code>callback</code> method reference which is
invoked when a bundle is removed.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#propagate-java.util.function.Supplier-">propagate</a></span>(java.util.function.Supplier<java.util.Dictionary<?,?>> instance)</code>
-<div class="block">Sets an Object instance and a callback method used to
propagate some properties to the provided service properties.</div>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#remove-org.apache.felix.dm.lambda.callbacks.InstanceCbBundle-">remove</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCbBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCbBundle</a> remove)</code>
+<div class="block">Sets a method reference on an Object instance which is
invoked when a bundle is removed.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#remove-org.apache.felix.dm.lambda.callbacks.InstanceCbBundleComponent-">remove</a></span>(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCbBundleComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCbBundleComponent</a> remove)</code>
+<div class="block">Sets a <code>callback instance</code> method reference
which is invoked when a bundle is removed.</div>
+</td>
+</tr>
+<tr id="i24" class="altColor">
+<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#remove-java.lang.String-">remove</a></span>(java.lang.String callback)</code>
+<div class="block">Sets a "remove" <code>callback</code> method to invoke on
the component implementation instance(s).</div>
+</td>
+</tr>
+<tr id="i25" class="rowColor">
+<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#required--">required</a></span>()</code>
<div class="block">Sets the dependency to be required.</div>
</td>
</tr>
-<tr id="i24" class="altColor">
+<tr id="i26" class="altColor">
<td class="colFirst"><code><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#required-boolean-">required</a></span>(boolean required)</code>
<div class="block">Sets the dependency to be required.</div>
@@ -332,7 +331,7 @@ extends <a href="../../../../../org/apac
<li class="blockList">
<h4>autoConfig</h4>
<pre><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> autoConfig(boolean autoConfig)</pre>
-<div class="block">Enables auto configuration for this dependency. This means
the component implementation (composition) will be
+<div class="block">Enables auto configuration for this dependency. This means
the component implementation class fields will be
injected with this bundle dependency automatically.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -349,7 +348,7 @@ extends <a href="../../../../../org/apac
<li class="blockList">
<h4>autoConfig</h4>
<pre><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> autoConfig()</pre>
-<div class="block">Enables auto configuration for this dependency. This means
the component implementation (composition) will be
+<div class="block">Enables auto configuration for this dependency. This means
the component implementation class fields will be
injected with this bundle dependency automatically.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
@@ -364,10 +363,10 @@ extends <a href="../../../../../org/apac
<li class="blockList">
<h4>required</h4>
<pre><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> required(boolean required)</pre>
-<div class="block">Sets the dependency to be required. By default, the
dependency is required.</div>
+<div class="block">Sets the dependency to be required.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>required</code> - <code>true</code> if this bundle dependency is
required (true by default).</dd>
+<dd><code>required</code> - <code>true</code> if this bundle dependency is
required.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the bundle dependency builder</dd>
</dl>
@@ -444,7 +443,7 @@ extends <a href="../../../../../org/apac
<h4>propagate</h4>
<pre><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> propagate(boolean propagate)</pre>
<div class="block">Sets property propagation. If set to <code>true</code> any
bundle manifest properties will be added
- to the service properties of the component that has this dependency (if it
registers as a service).</div>
+ to the service properties of the component that declares this dependency (if
it provides a service).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>propagate</code> - <code>true</code> to propagate the bundle
manifest properties</dd>
@@ -478,9 +477,8 @@ extends <a href="../../../../../org/apac
java.lang.String method)</pre>
<div class="block">Sets an Object instance and a callback method used to
propagate some properties to the provided service properties.
The method will be invoked on the specified object instance and must have one
of the following signatures:
- <ul><li>Dictionary callback(ServiceReference, Object service)
- <li>Dictionary callback(ServiceReference)
- </ul></div>
+
+ <p><ul><li>Dictionary callback(Bundle bundle)</ul></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>instance</code> - the Object instance which is used to retrieve
propagated service properties</dd>
@@ -490,76 +488,117 @@ extends <a href="../../../../../org/apac
</dl>
</li>
</ul>
-<a name="propagate-java.util.function.Supplier-">
+<a name="propagate-java.util.function.Function-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>propagate</h4>
-<pre><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> propagate(java.util.function.Supplier<java.util.Dictionary<?,?>> instance)</pre>
-<div class="block">Sets an Object instance and a callback method used to
propagate some properties to the provided service properties.
- The method will be invoked on the specified object instance and must have one
of the following signatures:
- <ul><li>Dictionary callback(ServiceReference, Object service)
- <li>Dictionary callback(ServiceReference)
- </ul></div>
+<pre><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> propagate(java.util.function.Function<org.osgi.framework.Bundle,java.util.Dictionary<?,?>> propagate)</pre>
+<div class="block">Sets a reference to a method on an Object instance used to
propagate some bundle properties to the provided service properties.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>instance</code> - the Object instance which is used to retrieve
propagated service properties</dd>
+<dd><code>propagate</code> - a function which accepts a Bundle argument and
which returns some properties that will be
+ propagated to the provided component service properties.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this service dependency. builder</dd>
</dl>
</li>
</ul>
-<a name="cb-java.lang.String...-">
+<a name="add-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>add</h4>
+<pre><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> add(java.lang.String callback)</pre>
+<div class="block">Sets a "add" <code>callback</code> method to invoke on the
component implementation instance(s).
+ The callback is invoked when the bundle is added, and the following
signatures are supported:
+
+ <p><ol>
+ <li>method(Bundle)</li>
+ <li>method(Component, Bundle)</li>
+ </ol></div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>callback</code> - the add callback</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>this builder</dd>
+</dl>
+</li>
+</ul>
+<a name="change-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>change</h4>
+<pre><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> change(java.lang.String callback)</pre>
+<div class="block">Sets a "change" <code>callback</code> method to invoke on
the component implementation instance(s).
+ The callback is invoked when the bundle state has changed, and the following
signatures are supported:
+
+ <p><ol>
+ <li>method(Bundle)</li>
+ <li>method(Component, Bundle)</li>
+ </ol></div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>callback</code> - the change callback</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>this builder</dd>
+</dl>
+</li>
+</ul>
+<a name="remove-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>cb</h4>
-<pre><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> cb(java.lang.String... callbacks)</pre>
-<div class="block">Sets some <code>callback</code> methods to invoke on the
component instance(s). When a bundle state matches the bundle
- filter, then the bundle is injected using the specified callback methods.
When you specify one callback, it stands for the "add" callback.
- When you specify two callbacks, the first one corresponds to the "add"
callback, and the second one to the "remove" callback. When you specify three
- callbacks, the first one stands for the "add" callback, the second one for
the "change" callback, and the third one for the "remove" callback.</div>
+<h4>remove</h4>
+<pre><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> remove(java.lang.String callback)</pre>
+<div class="block">Sets a "remove" <code>callback</code> method to invoke on
the component implementation instance(s).
+ The callback is invoked when the bundle is removed, and the following
signatures are supported:
+ <p><ol>
+ <li>method(Bundle)</li>
+ <li>method(Component, Bundle)</li>
+ </ol></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>callbacks</code> - a list of callbacks (1 param: "add", 2 params:
"add"/remove", 3 params: "add"/"change"/"remove" callbacks).</dd>
+<dd><code>callback</code> - the remove callback</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this builder</dd>
</dl>
</li>
</ul>
-<a name="cb-java.lang.Object-java.lang.String...-">
+<a name="callbackInstance-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>cb</h4>
-<pre><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> cb(java.lang.Object callbackInstance,
- java.lang.String... callbacks)</pre>
-<div class="block">Sets some <code>callback instance</code> methods to invoke
on a given Object instance. When a bundle state matches the bundle
- filter, then the bundle is injected using the specified callback methods.
When you specify one callback, it stands for the "add" callback.
- When you specify two callbacks, the first one corresponds to the "add"
callback, and the second one to the "remove" callback.
- When you specify three callbacks, the first one stands for the "add"
callback, the second one for the "change" callback, and the third one for
- the "remove" callback.</div>
+<h4>callbackInstance</h4>
+<pre><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> callbackInstance(java.lang.Object callbackInstance)</pre>
+<div class="block">Specifies a callback instance used to invoke the reflection
based callbacks on it.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>callbackInstance</code> - the Object instance where the callbacks
are invoked on</dd>
-<dd><code>callbacks</code> - a list of callbacks (1 param: "add", 2 params:
"add/remove", 3 params: "add/change/remove" callbacks).</dd>
+<dd><code>callbackInstance</code> - the instance to invoke the reflection
based callbacks 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/BundleDependencyBuilder.html#add-java.lang.String-"><code>add(String)</code></a>,
+<a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#change-java.lang.String-"><code>change(String)</code></a>,
+<a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html#remove-java.lang.String-"><code>remove(String)</code></a></dd>
</dl>
</li>
</ul>
-<a name="cb-org.apache.felix.dm.lambda.callbacks.CbTypeBundle-">
+<a name="add-org.apache.felix.dm.lambda.callbacks.CbBundle-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>cb</h4>
-<pre><T> <a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> cb(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbTypeBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbTypeBundle</a><T> add)</pre>
+<h4>add</h4>
+<pre><T> <a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> add(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbBundle</a><T> add)</pre>
<div class="block">Sets a <code>callback</code> method reference which is
invoked when a bundle is added.
- The method reference must point to a Component implementation class method,
and take as argument a Bundle.</div>
+ The method reference must point to a Component implementation class method,
and takes as argument a Bundle.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - the type of the component implementation class on which
the callback is invoked on.</dd>
@@ -570,59 +609,53 @@ extends <a href="../../../../../org/apac
</dl>
</li>
</ul>
-<a
name="cb-org.apache.felix.dm.lambda.callbacks.CbTypeBundle-org.apache.felix.dm.lambda.callbacks.CbTypeBundle-">
+<a name="change-org.apache.felix.dm.lambda.callbacks.CbBundle-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>cb</h4>
-<pre><T> <a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> cb(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbTypeBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbTypeBundle</a><T> add,
- <a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbTypeBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbTypeBundle</a><T> remove)</pre>
-<div class="block">Sets some <code>callback</code> method references which are
invoked when a bundle is added, or removed.
- The method references must point to a Component implementation class method,
and take as argument a Bundle.</div>
+<h4>change</h4>
+<pre><T> <a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> change(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbBundle</a><T> change)</pre>
+<div class="block">Sets a <code>callback</code> method reference which is
invoked when a bundle is changed.
+ The method reference must point to a Component implementation class method,
and takes as argument a Bundle.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - the type of the component implementation class on which
the callback is invoked on.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>add</code> - the method reference invoked when a bundle is
added.</dd>
-<dd><code>remove</code> - the method reference invoked when a bundle is
removed.</dd>
+<dd><code>change</code> - the method reference invoked when a bundle has
changed.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this builder</dd>
</dl>
</li>
</ul>
-<a
name="cb-org.apache.felix.dm.lambda.callbacks.CbTypeBundle-org.apache.felix.dm.lambda.callbacks.CbTypeBundle-org.apache.felix.dm.lambda.callbacks.CbTypeBundle-">
+<a name="remove-org.apache.felix.dm.lambda.callbacks.CbBundle-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>cb</h4>
-<pre><T> <a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> cb(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbTypeBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbTypeBundle</a><T> add,
- <a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbTypeBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbTypeBundle</a><T> change,
- <a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbTypeBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbTypeBundle</a><T> remove)</pre>
-<div class="block">Sets some <code>callback</code> method references which are
invoked when a bundle is added, changed or removed.
- The method references must point to a Component implementation class method,
and take as argument a Bundle.</div>
+<h4>remove</h4>
+<pre><T> <a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> remove(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbBundle</a><T> remove)</pre>
+<div class="block">Sets a <code>callback</code> method reference which is
invoked when a bundle is removed.
+ The method reference must point to a Component implementation class method,
and takes as argument a Bundle.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - the type of the component implementation class on which
the callback is invoked on.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>add</code> - the method reference invoked when a bundle is
added.</dd>
-<dd><code>change</code> - the method reference invoked when a bundle has
changed.</dd>
<dd><code>remove</code> - the method reference invoked when a bundle is
removed.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this builder</dd>
</dl>
</li>
</ul>
-<a name="cb-org.apache.felix.dm.lambda.callbacks.CbTypeComponentBundle-">
+<a name="add-org.apache.felix.dm.lambda.callbacks.CbBundleComponent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>cb</h4>
-<pre><T> <a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> cb(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbTypeComponentBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbTypeComponentBundle</a><T> add)</pre>
+<h4>add</h4>
+<pre><T> <a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> add(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbBundleComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbBundleComponent</a><T> add)</pre>
<div class="block">Sets a <code>callback</code> method reference which is
invoked when a bundle is added.
- The method reference must point to a Component implementation class method,
and take as argument a Component and a Bundle.</div>
+ The method reference must point to a Component implementation class method,
and takes as argument a Bundle and a Component.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - the type of the component implementation class on which
the callback is invoked on.</dd>
@@ -633,58 +666,52 @@ extends <a href="../../../../../org/apac
</dl>
</li>
</ul>
-<a
name="cb-org.apache.felix.dm.lambda.callbacks.CbTypeComponentBundle-org.apache.felix.dm.lambda.callbacks.CbTypeComponentBundle-">
+<a name="change-org.apache.felix.dm.lambda.callbacks.CbBundleComponent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>cb</h4>
-<pre><T> <a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> cb(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbTypeComponentBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbTypeComponentBundle</a><T> add,
- <a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbTypeComponentBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbTypeComponentBundle</a><T> remove)</pre>
-<div class="block">Sets some <code>callback</code> method references which are
invoked when a bundle is added, or removed.
- The method references must point to a Component implementation class method,
and take as argument a Component and a Bundle.</div>
+<h4>change</h4>
+<pre><T> <a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> change(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbBundleComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbBundleComponent</a><T> change)</pre>
+<div class="block">Sets a <code>callback</code> method reference which is
invoked when a bundle is changed.
+ The method reference must point to a Component implementation class method,
and takes as argument a Bundle and a Component.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - the type of the component implementation class on which
the callback is invoked on.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>add</code> - the method reference invoked when a bundle is
added.</dd>
-<dd><code>remove</code> - the method reference invoked when a bundle is
removed.</dd>
+<dd><code>change</code> - the method reference invoked when a bundle has
changed.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this builder</dd>
</dl>
</li>
</ul>
-<a
name="cb-org.apache.felix.dm.lambda.callbacks.CbTypeComponentBundle-org.apache.felix.dm.lambda.callbacks.CbTypeComponentBundle-org.apache.felix.dm.lambda.callbacks.CbTypeComponentBundle-">
+<a name="remove-org.apache.felix.dm.lambda.callbacks.CbBundleComponent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>cb</h4>
-<pre><T> <a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> cb(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbTypeComponentBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbTypeComponentBundle</a><T> add,
- <a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbTypeComponentBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbTypeComponentBundle</a><T> change,
- <a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbTypeComponentBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbTypeComponentBundle</a><T> remove)</pre>
-<div class="block">Sets some <code>callback</code> method references which are
invoked when a bundle is added, changed or removed.
- The method references must point to a Component implementation class method,
and take as argument a Component and a Bundle.</div>
+<h4>remove</h4>
+<pre><T> <a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> remove(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbBundleComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbBundleComponent</a><T> remove)</pre>
+<div class="block">Sets a <code>callback</code> method reference which is
invoked when a bundle is removed.
+ The method reference must point to a Component implementation class method,
and takes as argument a Bundle and a Component.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - the type of the component implementation class on which
the callback is invoked on.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>add</code> - the method reference invoked when a bundle is
added.</dd>
-<dd><code>change</code> - the method reference invoked when a bundle has
changed.</dd>
<dd><code>remove</code> - the method reference invoked when a bundle is
removed.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this builder</dd>
</dl>
</li>
</ul>
-<a name="cbi-org.apache.felix.dm.lambda.callbacks.CbBundle-">
+<a name="add-org.apache.felix.dm.lambda.callbacks.InstanceCbBundle-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>cbi</h4>
-<pre><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> cbi(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbBundle</a> add)</pre>
-<div class="block">Sets a <code>callback instance</code> method reference
which is invoked when a bundle is added.
+<h4>add</h4>
+<pre><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> add(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCbBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCbBundle</a> add)</pre>
+<div class="block">Sets a method reference on an Object instance which is
invoked when a bundle is added.
The method reference must point to an Object instance method, and takes as
argument a Bundle parameter.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -694,55 +721,49 @@ extends <a href="../../../../../org/apac
</dl>
</li>
</ul>
-<a
name="cbi-org.apache.felix.dm.lambda.callbacks.CbBundle-org.apache.felix.dm.lambda.callbacks.CbBundle-">
+<a name="change-org.apache.felix.dm.lambda.callbacks.InstanceCbBundle-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>cbi</h4>
-<pre><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> cbi(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbBundle.html"
title="interface in org.apache.felix.dm.lambda.callbacks">CbBundle</a> add,
- <a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbBundle</a> remove)</pre>
-<div class="block">Sets some <code>callback instance</code> method references
which are invoked when a bundle is added or removed.
- The method references must point to an Object instance method, and take as
argument a Bundle parameter.</div>
+<h4>change</h4>
+<pre><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> change(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCbBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCbBundle</a> change)</pre>
+<div class="block">Sets a method reference on an Object instance which is
invoked when a bundle is changed.
+ The method reference must point to an Object instance method, and takes as
argument a Bundle parameter.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>add</code> - the method reference invoked when a bundle is
added.</dd>
-<dd><code>remove</code> - the method reference invoked when a bundle is
removed.</dd>
+<dd><code>change</code> - the method reference invoked when a bundle is
changed.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this builder</dd>
</dl>
</li>
</ul>
-<a
name="cbi-org.apache.felix.dm.lambda.callbacks.CbBundle-org.apache.felix.dm.lambda.callbacks.CbBundle-org.apache.felix.dm.lambda.callbacks.CbBundle-">
+<a name="remove-org.apache.felix.dm.lambda.callbacks.InstanceCbBundle-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>cbi</h4>
-<pre><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> cbi(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbBundle.html"
title="interface in org.apache.felix.dm.lambda.callbacks">CbBundle</a> add,
- <a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbBundle</a> change,
- <a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbBundle</a> remove)</pre>
-<div class="block">Sets some <code>callback instance</code> method references
which are invoked when a bundle is added, changed or removed.
- The method references must point to an Object instance method, and take as
argument a Bundle parameter.</div>
+<h4>remove</h4>
+<pre><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> remove(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCbBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCbBundle</a> remove)</pre>
+<div class="block">Sets a method reference on an Object instance which is
invoked when a bundle is removed.
+ The method reference must point to an Object instance method, and takes as
argument a Bundle parameter.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>add</code> - the method reference invoked when a bundle is
added.</dd>
-<dd><code>change</code> - the method reference invoked when a bundle has
changed.</dd>
<dd><code>remove</code> - the method reference invoked when a bundle is
removed.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this builder</dd>
</dl>
</li>
</ul>
-<a name="cbi-org.apache.felix.dm.lambda.callbacks.CbComponentBundle-">
+<a name="add-org.apache.felix.dm.lambda.callbacks.InstanceCbBundleComponent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>cbi</h4>
-<pre><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> cbi(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbComponentBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbComponentBundle</a> add)</pre>
+<h4>add</h4>
+<pre><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> add(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCbBundleComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCbBundleComponent</a> add)</pre>
<div class="block">Sets a <code>callback instance</code> method reference
which is invoked when a bundle is added.
- The method reference must point to an Object instance method, and takes as
arguments a Component and a Bundle.</div>
+ The method reference must point to an Object instance method, and takes as
arguments a Bundle and a Component.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>add</code> - the method reference invoked when a bundle is
added.</dd>
@@ -751,40 +772,34 @@ extends <a href="../../../../../org/apac
</dl>
</li>
</ul>
-<a
name="cbi-org.apache.felix.dm.lambda.callbacks.CbComponentBundle-org.apache.felix.dm.lambda.callbacks.CbComponentBundle-">
+<a
name="change-org.apache.felix.dm.lambda.callbacks.InstanceCbBundleComponent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>cbi</h4>
-<pre><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> cbi(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbComponentBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbComponentBundle</a> add,
- <a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbComponentBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbComponentBundle</a> remove)</pre>
-<div class="block">Sets some <code>callback instance</code> method references
which are invoked when a bundle is added or removed.
- The method references must point to an Object instance method, and take as
argument a Component and a Bundle.</div>
+<h4>change</h4>
+<pre><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> change(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCbBundleComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCbBundleComponent</a> change)</pre>
+<div class="block">Sets a <code>callback instance</code> method reference
which is invoked when a bundle is changed.
+ The method reference must point to an Object instance method, and takes as
argument a Bundle and a Component.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>add</code> - the method reference invoked when a bundle is
added.</dd>
-<dd><code>remove</code> - the method reference invoked when a bundle is
removed.</dd>
+<dd><code>change</code> - the method reference invoked when a bundle is
changed.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this builder</dd>
</dl>
</li>
</ul>
-<a
name="cbi-org.apache.felix.dm.lambda.callbacks.CbComponentBundle-org.apache.felix.dm.lambda.callbacks.CbComponentBundle-org.apache.felix.dm.lambda.callbacks.CbComponentBundle-">
+<a
name="remove-org.apache.felix.dm.lambda.callbacks.InstanceCbBundleComponent-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
-<h4>cbi</h4>
-<pre><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> cbi(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbComponentBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbComponentBundle</a> add,
- <a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbComponentBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbComponentBundle</a> change,
- <a
href="../../../../../org/apache/felix/dm/lambda/callbacks/CbComponentBundle.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">CbComponentBundle</a> remove)</pre>
-<div class="block">Sets some <code>callback instance</code> method references
which are invoked when a bundle is added, changed or removed.
- The method references must point to an Object instance method, and take as
argument a Component and a Bundle.</div>
+<h4>remove</h4>
+<pre><a
href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html"
title="interface in
org.apache.felix.dm.lambda">BundleDependencyBuilder</a> remove(<a
href="../../../../../org/apache/felix/dm/lambda/callbacks/InstanceCbBundleComponent.html"
title="interface in
org.apache.felix.dm.lambda.callbacks">InstanceCbBundleComponent</a> remove)</pre>
+<div class="block">Sets a <code>callback instance</code> method reference
which is invoked when a bundle is removed.
+ The method reference must point to an Object instance method, and takes as
argument a Bundle and a Component.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>add</code> - the method reference invoked when a bundle is
added.</dd>
-<dd><code>change</code> - the method reference invoked when a bundle has
changed.</dd>
<dd><code>remove</code> - the method reference invoked when a bundle is
removed.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this builder</dd>