Added: websites/staging/felix/trunk/content/apidocs/dependencymanager.lambda/r13/index.html ============================================================================== --- websites/staging/felix/trunk/content/apidocs/dependencymanager.lambda/r13/index.html (added) +++ websites/staging/felix/trunk/content/apidocs/dependencymanager.lambda/r13/index.html Mon Oct 22 17:02:09 2018 @@ -0,0 +1,75 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (1.8.0_172) on Mon Oct 22 18:39:57 CEST 2018 --> +<title>Generated Documentation (Untitled)</title> +<script type="text/javascript"> + tmpTargetPage = "" + window.location.search; + if (tmpTargetPage != "" && tmpTargetPage != "undefined") + tmpTargetPage = tmpTargetPage.substring(1); + if (tmpTargetPage.indexOf(":") != -1 || (tmpTargetPage != "" && !validURL(tmpTargetPage))) + tmpTargetPage = "undefined"; + targetPage = tmpTargetPage; + function validURL(url) { + try { + url = decodeURIComponent(url); + } + catch (error) { + return false; + } + var pos = url.indexOf(".html"); + if (pos == -1 || pos != url.length - 5) + return false; + var allowNumber = false; + var allowSep = false; + var seenDot = false; + for (var i = 0; i < url.length - 5; i++) { + var ch = url.charAt(i); + if ('a' <= ch && ch <= 'z' || + 'A' <= ch && ch <= 'Z' || + ch == '$' || + ch == '_' || + ch.charCodeAt(0) > 127) { + allowNumber = true; + allowSep = true; + } else if ('0' <= ch && ch <= '9' + || ch == '-') { + if (!allowNumber) + return false; + } else if (ch == '/' || ch == '.') { + if (!allowSep) + return false; + allowNumber = false; + allowSep = false; + if (ch == '.') + seenDot = true; + if (ch == '/' && seenDot) + return false; + } else { + return false; + } + } + return true; + } + function loadFrames() { + if (targetPage != "" && targetPage != "undefined") + top.classFrame.location = top.targetPage; + } +</script> +</head> +<frameset cols="20%,80%" title="Documentation frame" onload="top.loadFrames()"> +<frameset rows="30%,70%" title="Left frames" onload="top.loadFrames()"> +<frame src="overview-frame.html" name="packageListFrame" title="All Packages"> +<frame src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)"> +</frameset> +<frame src="overview-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes"> +<noframes> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> +</noframes> +</frameset> +</html>
Added: websites/staging/felix/trunk/content/apidocs/dependencymanager.lambda/r13/org/apache/felix/dm/lambda/BundleAdapterBuilder.html ============================================================================== --- websites/staging/felix/trunk/content/apidocs/dependencymanager.lambda/r13/org/apache/felix/dm/lambda/BundleAdapterBuilder.html (added) +++ websites/staging/felix/trunk/content/apidocs/dependencymanager.lambda/r13/org/apache/felix/dm/lambda/BundleAdapterBuilder.html Mon Oct 22 17:02:09 2018 @@ -0,0 +1,769 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (1.8.0_172) on Mon Oct 22 18:39:56 CEST 2018 --> +<title>BundleAdapterBuilder</title> +<meta name="date" content="2018-10-22"> +<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="BundleAdapterBuilder"; + } + } + 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}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev Class</li> +<li><a href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html" title="interface in org.apache.felix.dm.lambda"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/felix/dm/lambda/BundleAdapterBuilder.html" target="_top">Frames</a></li> +<li><a href="BundleAdapterBuilder.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.felix.dm.lambda</div> +<h2 title="Interface BundleAdapterBuilder" class="title">Interface BundleAdapterBuilder</h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Superinterfaces:</dt> +<dd><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html" title="interface in org.apache.felix.dm.lambda">ComponentBuilder</a><<a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a>></dd> +</dl> +<hr> +<br> +<pre>public interface <span class="typeNameLabel">BundleAdapterBuilder</span> +extends <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html" title="interface in org.apache.felix.dm.lambda">ComponentBuilder</a><<a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a>></pre> +<div class="block">Builds a Dependency Manager bundle adapter. <p> The adapter created by this builder will be applied to any bundle that matches the specified + bundle state mask and filter condition. For each matching bundle an adapter service will be created based on the adapter implementation class. + The adapter will be registered with the specified interface and existing properties from the original bundle plus any extra properties + you supply here. The bundle is injected by reflection in adapter class fields having a Bundle type, or using a callback method that you can + specify. + + You can specify reflection based (using method names), or java8 method references for callbacks. + + <p> Example which creates a BundleAdapter service for each started bundle (the bundle is added by reflection on + a class field that has a "Bundle" type): + + <pre> <code> + public class Activator extends DependencyManagerActivator { + public void init(BundleContext ctx, DependencyManager dm) throws Exception { + bundleAdapter(adapt -> adapt + .impl(BundleAdapterImpl.class) + .provides(BundleAdapter.class) + .mask(Bundle.INSTALLED | Bundle.RESOLVED | Bundle.ACTIVE)); + } + } + </code> </pre> + + Example that creates a BundleAdapter service for each started bundle (the bundle is added using a method reference): + + <pre> <code> + public class Activator extends DependencyManagerActivator { + public void init(BundleContext ctx, DependencyManager dm) throws Exception { + bundleAdapter(adapt -> adapt + .impl(BundleAdapterImpl.class) + .provides(BundleAdapter.class) + .mask(Bundle.INSTALLED | Bundle.RESOLVED | Bundle.ACTIVE) + .add(BundleAdapterImpl::setBundle)); + } + } + </code></pre> + + Example that creates a BundleAdapter service for each started bundle (the bundle is added using a method name): + + <pre> <code> + public class Activator extends DependencyManagerActivator { + public void init(BundleContext ctx, DependencyManager dm) throws Exception { + bundleAdapter(adapt -> adapt + .impl(BundleAdapterImpl.class) + .provides(BundleAdapter.class) + .mask(Bundle.INSTALLED | Bundle.RESOLVED | Bundle.ACTIVE) + .add("setBundle")); + } + } + </code></pre></div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code><T> <a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.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 reference to a callback method invoked on one of the component implementation classes.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code><T> <a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.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 reference to a callback method invoked on one of the component implementation classes.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.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 reference to a callback method invoked on a given Object instance.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.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 reference to a callback method invoked on a given Object instance.</div> +</td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html#add-java.lang.String-">add</a></span>(java.lang.String callback)</code> +<div class="block">Sets a "add" callback name invoked on the component implementation instance(s).</div> +</td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html#callbackInstance-java.lang.Object-">callbackInstance</a></span>(java.lang.Object callbackInstance)</code> +<div class="block">Sets a callback instance to use when invoking reflection based callbacks.</div> +</td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code><T> <a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.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 reference to a callback method invoked on one of the component implementation classes.</div> +</td> +</tr> +<tr id="i7" class="rowColor"> +<td class="colFirst"><code><T> <a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.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 reference to a callback method invoked on one of the component implementation classes.</div> +</td> +</tr> +<tr id="i8" class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.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 reference to a callback method invoked on a given Object instance.</div> +</td> +</tr> +<tr id="i9" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.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 reference to a callback method invoked on a given Object instance.</div> +</td> +</tr> +<tr id="i10" class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html#change-java.lang.String-">change</a></span>(java.lang.String callback)</code> +<div class="block">Sets a "change" callback name invoked on the component implementation instance(s).</div> +</td> +</tr> +<tr id="i11" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.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="i12" class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.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="i13" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html#propagate--">propagate</a></span>()</code> +<div class="block">Enables property propagation.</div> +</td> +</tr> +<tr id="i14" class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html#propagate-boolean-">propagate</a></span>(boolean propagate)</code> +<div class="block">Sets property propagation.</div> +</td> +</tr> +<tr id="i15" class="rowColor"> +<td class="colFirst"><code><T> <a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.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 reference to a callback method invoked on one of the component implementation classes.</div> +</td> +</tr> +<tr id="i16" class="altColor"> +<td class="colFirst"><code><T> <a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.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 reference to a callback method invoked on one of the component implementation classes.</div> +</td> +</tr> +<tr id="i17" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.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 reference to a callback method invoked on a given Object instance.</div> +</td> +</tr> +<tr id="i18" class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.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 reference to a callback method invoked on a given Object instance.</div> +</td> +</tr> +<tr id="i19" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html#remove-java.lang.String-">remove</a></span>(java.lang.String callback)</code> +<div class="block">Sets a "remove" callback name invoked on the component implementation instance(s).</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.org.apache.felix.dm.lambda.ComponentBuilder"> +<!-- --> +</a> +<h3>Methods inherited from interface org.apache.felix.dm.lambda.<a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html" title="interface in org.apache.felix.dm.lambda">ComponentBuilder</a></h3> +<code><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#autoAdd-boolean-">autoAdd</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#autoConfig-java.lang.Class-boolean-">autoConfig</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#autoConfig-java.lang.Class-java.lang.String-">autoConfig</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#build--">build</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#composition-java.lang.Object-java.lang.String-">composition</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#composition-java.lang.String-">composition</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#composition-java.util.function.Supplier-">composition</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#debug-java.lang.String-">debug</a>, <a href="../../../../../org/apach e/felix/dm/lambda/ComponentBuilder.html#destroy-org.apache.felix.dm.lambda.callbacks.InstanceCb-">destroy</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#destroy-org.apache.felix.dm.lambda.callbacks.InstanceCbComponent-">destroy</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#destroy-java.lang.Object-java.lang.String-">destroy</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#destroy-java.lang.String-">destroy</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#factory-java.lang.Object-java.lang.String-">factory</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#factory-java.util.function.Supplier-">factory</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#factory-java.util.function.Supplier-java.util.function.Supplier-">factory</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#factory-jav a.util.function.Supplier-java.util.function.Function-java.util.function.Function-">factory</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#factory-java.util.function.Supplier-java.util.function.Function-">factory</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#impl-java.lang.Object-">impl</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#init-org.apache.felix.dm.lambda.callbacks.InstanceCb-">init</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#init-org.apache.felix.dm.lambda.callbacks.InstanceCbComponent-">init</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#init-java.lang.Object-java.lang.String-">init</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#init-java.lang.String-">init</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#listener-ComponentStateListener-">listener</a>, <a hr ef="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#properties-java.util.Dictionary-">properties</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#properties-org.apache.felix.dm.lambda.FluentProperty...-">properties</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#properties-java.lang.String-java.lang.Object-java.lang.Object...-">properties</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.Class-">provides</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.Class:A-">provides</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.Class:A-java.util.Dictionary-">provides</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.Class:A-org.apache.felix.dm.lambda.FluentProperty...-">provides</a>, <a href="../../../../../org/apache/felix/dm/lamb da/ComponentBuilder.html#provides-java.lang.Class:A-java.lang.String-java.lang.Object-java.lang.Object...-">provides</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.Class-java.util.Dictionary-">provides</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.Class-org.apache.felix.dm.lambda.FluentProperty...-">provides</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.Class-java.lang.String-java.lang.Object-java.lang.Object...-">provides</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.String-">provides</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.String:A-">provides</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.String:A-java.util.Dictionary-">provides</a>, <a href="../../../../../org/apache/felix/dm /lambda/ComponentBuilder.html#provides-java.lang.String:A-org.apache.felix.dm.lambda.FluentProperty...-">provides</a>, <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>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.String-java.util.Dictionary-">provides</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.String-org.apache.felix.dm.lambda.FluentProperty...-">provides</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#provides-java.lang.String-java.lang.String-java.lang.Object-java.lang.Object...-">provides</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#scope-ServiceScope-">scope</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#start-org.apache.felix.dm.lambda.callbacks.InstanceCb-">start</a >, <a >href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#start-org.apache.felix.dm.lambda.callbacks.InstanceCbComponent-">start</a>, > <a >href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#start-java.lang.Object-java.lang.String-">start</a>, > <a >href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#start-java.lang.String-">start</a>, > <a >href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#stop-org.apache.felix.dm.lambda.callbacks.InstanceCb-">stop</a>, > <a >href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#stop-org.apache.felix.dm.lambda.callbacks.InstanceCbComponent-">stop</a>, > <a >href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#stop-java.lang.Object-java.lang.String-">stop</a>, > <a >href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#stop-java.lang.String-">stop</a>, > <a >href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#withBundle-java.util. function.Consumer-">withBundle</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#withCnf-java.lang.Class-">withCnf</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#withCnf-java.util.function.Consumer-">withCnf</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#withCnf-java.lang.String...-">withCnf</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#withDep-Dependency-">withDep</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#withFuture-java.util.concurrent.CompletableFuture-java.util.function.Consumer-">withFuture</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#withSvc-boolean-java.lang.Class...-">withSvc</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#withSvc-java.lang.Class...-">withSvc</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#withSvc-java.lang.Clas s-boolean-">withSvc</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#withSvc-java.lang.Class-java.lang.String-boolean-">withSvc</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#withSvc-java.lang.Class-java.lang.String-java.lang.String-boolean-">withSvc</a>, <a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.html#withSvc-java.lang.Class-java.util.function.Consumer-">withSvc</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="mask-int-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>mask</h4> +<pre><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a> mask(int mask)</pre> +<div class="block">Sets the bundle state mask to depend on. The OSGi BundleTracker explains this mask in more detail, but + it is basically a mask with flags for each potential state a bundle can be in.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>mask</code> - the mask to use</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>this builder</dd> +</dl> +</li> +</ul> +<a name="filter-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>filter</h4> +<pre><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a> filter(java.lang.String filter)</pre> +<div class="block">Sets the filter condition to depend on. Filters are matched against the full manifest of a bundle.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>filter</code> - the filter condition</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>this builder</dd> +</dl> +</li> +</ul> +<a name="propagate-boolean-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>propagate</h4> +<pre><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</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> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>propagate</code> - <code>true</code> to propagate the bundle manifest properties</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>this builder</dd> +</dl> +</li> +</ul> +<a name="propagate--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>propagate</h4> +<pre><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a> propagate()</pre> +<div class="block">Enables property propagation. 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> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>this builder</dd> +</dl> +</li> +</ul> +<a name="add-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>add</h4> +<pre><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a> add(java.lang.String callback)</pre> +<div class="block">Sets a "add" callback name invoked on the component implementation instance(s). + The callback can be used as hooks whenever the dependency is added. When you specify a callback, + the auto configuration feature is automatically turned off, because we're assuming you don't need it in this case.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>callback</code> - the method to call when a bundle was added + + The following method signature are supported: + <pre><code> + callback(Bundle b) + callback(Component c, Bundle b) + </code></pre></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="change-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>change</h4> +<pre><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a> change(java.lang.String callback)</pre> +<div class="block">Sets a "change" callback name invoked on the component implementation instance(s). + The callback can be used as hooks whenever the dependency is changed. When you specify a callback, + the auto configuration feature is automatically turned off, because we're assuming you don't need it in this case.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>callback</code> - the method to call when a bundle was changed + + The following method signature are supported: + <pre><code> + callback(Bundle b) + callback(Component c, Bundle b) + </code></pre></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="remove-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>remove</h4> +<pre><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a> remove(java.lang.String callback)</pre> +<div class="block">Sets a "remove" callback name invoked on the component implementation instance(s). + The callback can be used as hooks whenever the dependency is removed. When you specify a callback, + the auto configuration feature is automatically turned off, because we're assuming you don't need it in this case.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>callback</code> - the method to call when a bundle was removed + + The following method signature are supported: + <pre><code> + callback(Bundle b) + callback(Component c, Bundle b) + </code></pre></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="callbackInstance-java.lang.Object-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>callbackInstance</h4> +<pre><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</a> callbackInstance(java.lang.Object callbackInstance)</pre> +<div class="block">Sets a callback instance to use when invoking reflection based callbacks.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>callbackInstance</code> - the instance to call 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/BundleAdapterBuilder.html#add-java.lang.String-"><code>add(String)</code></a>, +<a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html#change-java.lang.String-"><code>change(String)</code></a>, +<a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html#remove-java.lang.String-"><code>remove(String)</code></a></dd> +</dl> +</li> +</ul> +<a name="add-org.apache.felix.dm.lambda.callbacks.CbBundle-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>add</h4> +<pre><T> <a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</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 reference to a callback method invoked on one of the component implementation classes. + The method reference must point to a Component implementation class method, it is called when the bundle is added + 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.</dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>add</code> - the method reference invoked when a bundle is added.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>this builder</dd> +</dl> +</li> +</ul> +<a name="change-org.apache.felix.dm.lambda.callbacks.CbBundle-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>change</h4> +<pre><T> <a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</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 reference to a callback method invoked on one of the component implementation classes. + The method reference must point to a Component implementation class method, it is called when the bundle is changed + 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.</dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<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="remove-org.apache.felix.dm.lambda.callbacks.CbBundle-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>remove</h4> +<pre><T> <a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</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 reference to a callback method invoked on one of the component implementation classes. + The method reference must point to a Component implementation class method, it is called when the bundle is removed + 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.</dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<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="add-org.apache.felix.dm.lambda.callbacks.CbBundleComponent-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>add</h4> +<pre><T> <a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</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 reference to a callback method invoked on one of the component implementation classes. + The method reference must point to a Component implementation class method, it is called when the bundle is added + 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.</dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>add</code> - the method reference invoked when a bundle is added.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>this builder</dd> +</dl> +</li> +</ul> +<a name="change-org.apache.felix.dm.lambda.callbacks.CbBundleComponent-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>change</h4> +<pre><T> <a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</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 reference to a callback method invoked on one of the component implementation classes. + The method reference must point to a Component implementation class method, it is called when the bundle is changed + 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.</dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<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="remove-org.apache.felix.dm.lambda.callbacks.CbBundleComponent-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>remove</h4> +<pre><T> <a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</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 reference to a callback method invoked on one of the component implementation classes. + The method reference must point to a Component implementation class method, it is called when the bundle is removed + 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.</dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<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="add-org.apache.felix.dm.lambda.callbacks.InstanceCbBundle-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>add</h4> +<pre><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</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 reference to a callback method invoked on a given Object instance. + The method reference is invoked when the bundle is added and takes as argument a Bundle.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>add</code> - the method reference invoked when a bundle is added.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>this builder</dd> +</dl> +</li> +</ul> +<a name="change-org.apache.felix.dm.lambda.callbacks.InstanceCbBundle-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>change</h4> +<pre><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</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 reference to a callback method invoked on a given Object instance. + The method reference is invoked when the bundle has changed and takes as argument a Bundle.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<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="remove-org.apache.felix.dm.lambda.callbacks.InstanceCbBundle-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>remove</h4> +<pre><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</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 reference to a callback method invoked on a given Object instance. + The method reference is invoked when the bundle is removed and takes as argument a Bundle.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<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="add-org.apache.felix.dm.lambda.callbacks.InstanceCbBundleComponent-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>add</h4> +<pre><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</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 reference to a callback method invoked on a given Object instance. + The method reference is invoked when the bundle is added 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> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>this builder</dd> +</dl> +</li> +</ul> +<a name="change-org.apache.felix.dm.lambda.callbacks.InstanceCbBundleComponent-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>change</h4> +<pre><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</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 reference to a callback method invoked on a given Object instance. + The method reference is invoked when the bundle has changed and takes as argument a Bundle and a Component.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<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="remove-org.apache.felix.dm.lambda.callbacks.InstanceCbBundleComponent-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>remove</h4> +<pre><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleAdapterBuilder</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 reference to a callback method invoked on a given Object instance. + The method reference is invoked when the bundle is removed and takes as argument a Bundle and a Component.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<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> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev Class</li> +<li><a href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html" title="interface in org.apache.felix.dm.lambda"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/felix/dm/lambda/BundleAdapterBuilder.html" target="_top">Frames</a></li> +<li><a href="BundleAdapterBuilder.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html>