Added: websites/staging/felix/trunk/content/apidocs/dependencymanager.lambda/r13/org/apache/felix/dm/lambda/BundleDependencyBuilder.html ============================================================================== --- websites/staging/felix/trunk/content/apidocs/dependencymanager.lambda/r13/org/apache/felix/dm/lambda/BundleDependencyBuilder.html (added) +++ websites/staging/felix/trunk/content/apidocs/dependencymanager.lambda/r13/org/apache/felix/dm/lambda/BundleDependencyBuilder.html Mon Oct 22 17:02:09 2018 @@ -0,0 +1,897 @@ +<!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>BundleDependencyBuilder</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="BundleDependencyBuilder"; + } + } + catch(err) { + } +//--> +var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6}; +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><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.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/BundleDependencyBuilder.html" target="_top">Frames</a></li> +<li><a href="BundleDependencyBuilder.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 BundleDependencyBuilder" class="title">Interface BundleDependencyBuilder</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/DependencyBuilder.html" title="interface in org.apache.felix.dm.lambda">DependencyBuilder</a><BundleDependency></dd> +</dl> +<hr> +<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><BundleDependency></pre> +<div class="block">Builds a Dependency Manager Bundle Dependency. + + <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 init(BundleContext ctx, DependencyManager dm) throws Exception { + String BSN = "org.apache.felix.dependencymanager"; + component(comp -> comp + .impl(Pojo.class) + .withBundle(b -> b.mask(Bundle.ACTIVE).filter("(Bundle-SymbolicName=" + BSN + ")").add(Pojo::add).remove(Pojo::remove))); + } + } + </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/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><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#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><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><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><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><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><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-Bundle-">bundle</a></span>(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><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><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><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#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#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#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#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#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#optional--">optional</a></span>()</code> +<div class="block">Sets the dependency to be optional.</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#propagate--">propagate</a></span>()</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#propagate-boolean-">propagate</a></span>(boolean propagate)</code> +<div class="block">Sets property propagation.</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-java.util.function.Function-">propagate</a></span>(java.util.function.Function<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="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-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="i21" 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#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="i22" 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#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="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.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="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-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="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#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="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--">required</a></span>()</code> +<div class="block">Sets the dependency to be required.</div> +</td> +</tr> +<tr id="i27" 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-boolean-">required</a></span>(boolean required)</code> +<div class="block">Sets the dependency to be required.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.org.apache.felix.dm.lambda.DependencyBuilder"> +<!-- --> +</a> +<h3>Methods inherited from interface org.apache.felix.dm.lambda.<a href="../../../../../org/apache/felix/dm/lambda/DependencyBuilder.html" title="interface in org.apache.felix.dm.lambda">DependencyBuilder</a></h3> +<code><a href="../../../../../org/apache/felix/dm/lambda/DependencyBuilder.html#build--">build</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="autoConfig-boolean-"> +<!-- --> +</a> +<ul class="blockList"> +<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 class fields will be + injected with this bundle dependency automatically.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>autoConfig</code> - <code>true</code> to enable auto configuration</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the bundle dependency builder</dd> +</dl> +</li> +</ul> +<a name="autoConfig--"> +<!-- --> +</a> +<ul class="blockList"> +<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 class fields will be + injected with this bundle dependency automatically.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the bundle dependency builder</dd> +</dl> +</li> +</ul> +<a name="required-boolean-"> +<!-- --> +</a> +<ul class="blockList"> +<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.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<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> +</li> +</ul> +<a name="required--"> +<!-- --> +</a> +<ul class="blockList"> +<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()</pre> +<div class="block">Sets the dependency to be required.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the bundle dependency builder</dd> +</dl> +</li> +</ul> +<a name="optional--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>optional</h4> +<pre><a href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleDependencyBuilder</a> optional()</pre> +<div class="block">Sets the dependency to be optional.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the bundle dependency builder</dd> +</dl> +</li> +</ul> +<a name="bundle-Bundle-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>bundle</h4> +<pre><a href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleDependencyBuilder</a> bundle(Bundle bundle)</pre> +<div class="block">Sets the bundle to depend on directly.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>bundle</code> - the bundle to depend on</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the bundle dependency 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/BundleDependencyBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleDependencyBuilder</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>the bundle dependency builder</dd> +</dl> +</li> +</ul> +<a name="mask-int-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>mask</h4> +<pre><a href="../../../../../org/apache/felix/dm/lambda/BundleDependencyBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleDependencyBuilder</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>the bundle dependency 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/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 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> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the bundle dependency 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/BundleDependencyBuilder.html" title="interface in org.apache.felix.dm.lambda">BundleDependencyBuilder</a> propagate()</pre> +<div class="block">Sets 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>the bundle dependency builder</dd> +</dl> +</li> +</ul> +<a name="propagate-java.lang.Object-java.lang.String-"> +<!-- --> +</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.lang.Object instance, + 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: + + <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> +<dd><code>method</code> - the method to invoke for retrieving the properties to be propagated to the service properties.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>this service dependency. builder</dd> +</dl> +</li> +</ul> +<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.Function<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>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="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>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>callback</code> - the remove callback</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/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 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="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/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 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> +<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/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>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/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>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/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 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> +<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/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>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/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>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/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> +<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/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>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="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/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>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/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 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/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>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="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/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>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><a href="../../../../../org/apache/felix/dm/lambda/BundleAdapterBuilder.html" title="interface in org.apache.felix.dm.lambda"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/felix/dm/lambda/ComponentBuilder.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/BundleDependencyBuilder.html" target="_top">Frames</a></li> +<li><a href="BundleDependencyBuilder.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>