| <!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_191) on Sun Dec 23 12:06:05 CET 2018 --> |
| <title>DependencyManagerCompat</title> |
| <meta name="date" content="2018-12-23"> |
| <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="DependencyManagerCompat"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":6,"i1":42,"i2":42,"i3":42,"i4":42,"i5":42,"i6":42,"i7":6,"i8":42,"i9":42,"i10":42,"i11":42,"i12":42,"i13":42,"i14":42,"i15":6,"i16":6,"i17":42,"i18":42,"i19":42,"i20":42,"i21":42,"i22":42,"i23":42,"i24":42,"i25":6}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated 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/compat/DependencyActivatorBaseCompat.html" title="class in org.apache.felix.dm.compat"><span class="typeNameLink">Prev Class</span></a></li> |
| <li>Next Class</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/felix/dm/compat/DependencyManagerCompat.html" target="_top">Frames</a></li> |
| <li><a href="DependencyManagerCompat.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><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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.compat</div> |
| <h2 title="Class DependencyManagerCompat" class="title">Class DependencyManagerCompat</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.felix.dm.compat.DependencyManagerCompat</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><a href="../../../../../org/apache/felix/dm/DependencyManager.html" title="class in org.apache.felix.dm">DependencyManager</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public abstract class <span class="typeNameLabel">DependencyManagerCompat</span> |
| extends java.lang.Object</pre> |
| <div class="block">This class contains some methods which have been deprecated from the DependencyManager class.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#DependencyManagerCompat--">DependencyManagerCompat</a></span>()</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== 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><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated 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>abstract <a href="../../../../../org/apache/felix/dm/AdapterComponent.html" title="interface in org.apache.felix.dm">AdapterComponent</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createAdapterComponent--">createAdapterComponent</a></span>()</code> |
| <div class="block">Creates a new adapter component.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createAdapterFactoryConfigurationService-java.lang.String-java.lang.String-boolean-java.lang.String-java.lang.String-java.lang.String-org.apache.felix.dm.PropertyMetaData:A-">createAdapterFactoryConfigurationService</a></span>(java.lang.String factoryPid, |
| java.lang.String update, |
| boolean propagate, |
| java.lang.String heading, |
| java.lang.String desc, |
| java.lang.String localization, |
| <a href="../../../../../org/apache/felix/dm/PropertyMetaData.html" title="interface in org.apache.felix.dm">PropertyMetaData</a>[] propertiesMetaData)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createFactoryComponent--"><code>DependencyManager.createFactoryComponent()</code></a></span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createAdapterService-java.lang.Class-java.lang.String-">createAdapterService</a></span>(java.lang.Class<?> serviceInterface, |
| java.lang.String serviceFilter)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createAdapterComponent--"><code>DependencyManager.createAdapterComponent()</code></a></span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createAdapterService-java.lang.Class-java.lang.String-java.lang.String-">createAdapterService</a></span>(java.lang.Class<?> serviceInterface, |
| java.lang.String serviceFilter, |
| java.lang.String autoConfig)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createAdapterComponent--"><code>DependencyManager.createAdapterComponent()</code></a></span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createAdapterService-java.lang.Class-java.lang.String-java.lang.String-java.lang.Object-java.lang.String-java.lang.String-java.lang.String-java.lang.String-boolean-">createAdapterService</a></span>(java.lang.Class<?> serviceInterface, |
| java.lang.String serviceFilter, |
| java.lang.String autoConfig, |
| java.lang.Object callbackInstance, |
| java.lang.String add, |
| java.lang.String change, |
| java.lang.String remove, |
| java.lang.String swap, |
| boolean propagate)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createAdapterComponent--"><code>DependencyManager.createAdapterComponent()</code></a></span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createAdapterService-java.lang.Class-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">createAdapterService</a></span>(java.lang.Class<?> serviceInterface, |
| java.lang.String serviceFilter, |
| java.lang.String add, |
| java.lang.String change, |
| java.lang.String remove)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createAdapterComponent--"><code>DependencyManager.createAdapterComponent()</code></a></span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createAdapterService-java.lang.Class-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">createAdapterService</a></span>(java.lang.Class<?> serviceInterface, |
| java.lang.String serviceFilter, |
| java.lang.String add, |
| java.lang.String change, |
| java.lang.String remove, |
| java.lang.String swap)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createAdapterComponent--"><code>DependencyManager.createAdapterComponent()</code></a></span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>abstract <a href="../../../../../org/apache/felix/dm/AspectComponent.html" title="interface in org.apache.felix.dm">AspectComponent</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createAspectComponent--">createAspectComponent</a></span>()</code> |
| <div class="block">Creates a new aspect component.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createAspectService-java.lang.Class-java.lang.String-int-">createAspectService</a></span>(java.lang.Class<?> serviceInterface, |
| java.lang.String serviceFilter, |
| int ranking)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createAspectComponent--"><code>DependencyManager.createAspectComponent()</code></a></span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createAspectService-java.lang.Class-java.lang.String-int-java.lang.Object-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">createAspectService</a></span>(java.lang.Class<?> serviceInterface, |
| java.lang.String serviceFilter, |
| int ranking, |
| java.lang.Object callbackInstance, |
| java.lang.String add, |
| java.lang.String change, |
| java.lang.String remove, |
| java.lang.String swap)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createAspectComponent--"><code>DependencyManager.createAspectComponent()</code></a></span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createAspectService-java.lang.Class-java.lang.String-int-java.lang.String-">createAspectService</a></span>(java.lang.Class<?> serviceInterface, |
| java.lang.String serviceFilter, |
| int ranking, |
| java.lang.String autoConfig)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createAspectComponent--"><code>DependencyManager.createAspectComponent()</code></a></span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createAspectService-java.lang.Class-java.lang.String-int-java.lang.String-java.lang.String-java.lang.String-">createAspectService</a></span>(java.lang.Class<?> serviceInterface, |
| java.lang.String serviceFilter, |
| int ranking, |
| java.lang.String add, |
| java.lang.String change, |
| java.lang.String remove)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createAspectComponent--"><code>DependencyManager.createAspectComponent()</code></a></span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createAspectService-java.lang.Class-java.lang.String-int-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">createAspectService</a></span>(java.lang.Class<?> serviceInterface, |
| java.lang.String serviceFilter, |
| int ranking, |
| java.lang.String add, |
| java.lang.String change, |
| java.lang.String remove, |
| java.lang.String swap)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createAspectComponent--"><code>DependencyManager.createAspectComponent()</code></a></span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createBundleAdapterService-int-java.lang.String-boolean-">createBundleAdapterService</a></span>(int bundleStateMask, |
| java.lang.String bundleFilter, |
| boolean propagate)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createBundleComponent--"><code>DependencyManager.createBundleComponent()</code></a></span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createBundleAdapterService-int-java.lang.String-boolean-java.lang.Object-java.lang.String-java.lang.String-java.lang.String-">createBundleAdapterService</a></span>(int bundleStateMask, |
| java.lang.String bundleFilter, |
| boolean propagate, |
| java.lang.Object callbackInstance, |
| java.lang.String add, |
| java.lang.String change, |
| java.lang.String remove)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createBundleComponent--"><code>DependencyManager.createBundleComponent()</code></a></span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>abstract <a href="../../../../../org/apache/felix/dm/BundleComponent.html" title="interface in org.apache.felix.dm">BundleComponent</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createBundleComponent--">createBundleComponent</a></span>()</code> |
| <div class="block">Creates a new bundle adapter.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>abstract <a href="../../../../../org/apache/felix/dm/FactoryComponent.html" title="interface in org.apache.felix.dm">FactoryComponent</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createFactoryComponent--">createFactoryComponent</a></span>()</code> |
| <div class="block">Creates a new Factory Component.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createFactoryConfigurationAdapterService-java.lang.String-java.lang.String-boolean-">createFactoryConfigurationAdapterService</a></span>(java.lang.String factoryPid, |
| java.lang.String update, |
| boolean propagate)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createFactoryComponent--"><code>DependencyManager.createFactoryComponent()</code></a></span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createFactoryConfigurationAdapterService-java.lang.String-java.lang.String-boolean-java.lang.Class-">createFactoryConfigurationAdapterService</a></span>(java.lang.String factoryPid, |
| java.lang.String update, |
| boolean propagate, |
| java.lang.Class<?> configType)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createFactoryComponent--"><code>DependencyManager.createFactoryComponent()</code></a></span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createFactoryConfigurationAdapterService-java.lang.String-java.lang.String-boolean-java.lang.Object-">createFactoryConfigurationAdapterService</a></span>(java.lang.String factoryPid, |
| java.lang.String update, |
| boolean propagate, |
| java.lang.Object callbackInstance)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createFactoryComponent--"><code>DependencyManager.createFactoryComponent()</code></a></span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createFactoryConfigurationAdapterService-java.lang.String-java.lang.String-boolean-java.lang.Object-java.lang.Class-">createFactoryConfigurationAdapterService</a></span>(java.lang.String factoryPid, |
| java.lang.String update, |
| boolean propagate, |
| java.lang.Object callbackInstance, |
| java.lang.Class<?> configType)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createFactoryComponent--"><code>DependencyManager.createFactoryComponent()</code></a></span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createResourceAdapterService-java.lang.String-boolean-java.lang.Object-java.lang.String-">createResourceAdapterService</a></span>(java.lang.String resourceFilter, |
| boolean propagate, |
| java.lang.Object callbackInstance, |
| java.lang.String callbackChanged)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createResourceComponent--"><code>DependencyManager.createResourceComponent()</code></a></span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createResourceAdapterService-java.lang.String-boolean-java.lang.Object-java.lang.String-java.lang.String-">createResourceAdapterService</a></span>(java.lang.String resourceFilter, |
| boolean propagate, |
| java.lang.Object callbackInstance, |
| java.lang.String callbackSet, |
| java.lang.String callbackChanged)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createResourceComponent--"><code>DependencyManager.createResourceComponent()</code></a></span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createResourceAdapterService-java.lang.String-java.lang.Object-java.lang.String-java.lang.Object-java.lang.String-">createResourceAdapterService</a></span>(java.lang.String resourceFilter, |
| java.lang.Object propagateCallbackInstance, |
| java.lang.String propagateCallbackMethod, |
| java.lang.Object callbackInstance, |
| java.lang.String callbackChanged)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createResourceComponent--"><code>DependencyManager.createResourceComponent()</code></a></span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createResourceAdapterService-java.lang.String-java.lang.Object-java.lang.String-java.lang.Object-java.lang.String-java.lang.String-">createResourceAdapterService</a></span>(java.lang.String resourceFilter, |
| java.lang.Object propagateCallbackInstance, |
| java.lang.String propagateCallbackMethod, |
| java.lang.Object callbackInstance, |
| java.lang.String callbackSet, |
| java.lang.String callbackChanged)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createResourceComponent--"><code>DependencyManager.createResourceComponent()</code></a></span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>abstract <a href="../../../../../org/apache/felix/dm/ResourceComponent.html" title="interface in org.apache.felix.dm">ResourceComponent</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createResourceComponent--">createResourceComponent</a></span>()</code> |
| <div class="block">Creates a new resource adapter component.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="DependencyManagerCompat--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>DependencyManagerCompat</h4> |
| <pre>public DependencyManagerCompat()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="createAspectComponent--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createAspectComponent</h4> |
| <pre>public abstract <a href="../../../../../org/apache/felix/dm/AspectComponent.html" title="interface in org.apache.felix.dm">AspectComponent</a> createAspectComponent()</pre> |
| <div class="block">Creates a new aspect component. The aspect will be applied to any service that |
| matches the specified interface and filter. For each matching service |
| an aspect will be created based on the aspect implementation class. |
| The aspect will be registered with the same interface and properties |
| as the original service, plus any extra properties you supply here. |
| It will also inherit all dependencies, and if you declare the original |
| service as a member it will be injected.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>an aspect component</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createAdapterComponent--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createAdapterComponent</h4> |
| <pre>public abstract <a href="../../../../../org/apache/felix/dm/AdapterComponent.html" title="interface in org.apache.felix.dm">AdapterComponent</a> createAdapterComponent()</pre> |
| <div class="block">Creates a new adapter component. The adapter will be applied to any service that |
| matches the specified interface and filter. For each matching service |
| an adapter will be created based on the adapter implementation class. |
| The adapter will be registered with the specified interface and existing properties |
| from the original service plus any extra properties you supply here. |
| It will also inherit all dependencies, and if you declare the original |
| service as a member it will be injected.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>an adapter component</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createFactoryComponent--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createFactoryComponent</h4> |
| <pre>public abstract <a href="../../../../../org/apache/felix/dm/FactoryComponent.html" title="interface in org.apache.felix.dm">FactoryComponent</a> createFactoryComponent()</pre> |
| <div class="block">Creates a new Factory Component. For each new factory configuration matching |
| the factoryPid, a component will be created based on the component implementation class. |
| The component will be registered with the specified interface, and with the specified service properties. |
| Depending on the <code>propagate</code> parameter, every public factory configuration properties |
| (which don't start with ".") will be propagated along with the adapter service properties. |
| It will also inherit all dependencies.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a factory pid component</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createBundleComponent--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createBundleComponent</h4> |
| <pre>public abstract <a href="../../../../../org/apache/felix/dm/BundleComponent.html" title="interface in org.apache.felix.dm">BundleComponent</a> createBundleComponent()</pre> |
| <div class="block">Creates a new bundle adapter. The adapter will be applied to any bundle that |
| matches the specified bundle state mask and filter condition. For each matching |
| bundle an adapter will be created based on the adapter implementation class. |
| The adapter will be registered with the specified interface |
| |
| TODO and existing properties from the original resource plus any extra properties you supply here. |
| It will also inherit all dependencies, and if you declare the original |
| service as a member it will be injected.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a service that acts as a factory for generating bundle adapters</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createResourceComponent--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createResourceComponent</h4> |
| <pre>public abstract <a href="../../../../../org/apache/felix/dm/ResourceComponent.html" title="interface in org.apache.felix.dm">ResourceComponent</a> createResourceComponent()</pre> |
| <div class="block">Creates a new resource adapter component. The adapter will be applied to any resource that |
| matches the specified filter condition. For each matching resource |
| an adapter will be created based on the adapter implementation class. |
| The adapter will be registered with the specified interface and existing properties |
| from the original resource plus any extra properties you supply here. |
| It will also inherit all dependencies, and if you declare the original |
| service as a member it will be injected.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a Resource Adapter Component</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createAspectService-java.lang.Class-java.lang.String-int-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createAspectService</h4> |
| <pre>public <a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> createAspectService(java.lang.Class<?> serviceInterface, |
| java.lang.String serviceFilter, |
| int ranking, |
| java.lang.String autoConfig)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createAspectComponent--"><code>DependencyManager.createAspectComponent()</code></a></span></div> |
| <div class="block">Creates a new aspect. The aspect will be applied to any service that |
| matches the specified interface and filter. For each matching service |
| an aspect will be created based on the aspect implementation class. |
| The aspect will be registered with the same interface and properties |
| as the original service, plus any extra properties you supply here. |
| It will also inherit all dependencies, and if you declare the original |
| service as a member it will be injected. |
| |
| <p>Usage example: |
| |
| <blockquote><pre> |
| manager.createAspectService(ExistingService.class, "(foo=bar)", 10, "m_service") |
| .setImplementation(ExistingServiceAspect.class) |
| ); |
| </pre></blockquote></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>serviceInterface</code> - the service interface to apply the aspect to</dd> |
| <dd><code>serviceFilter</code> - the filter condition to use with the service interface</dd> |
| <dd><code>ranking</code> - the level used to organize the aspect chain ordering</dd> |
| <dd><code>autoConfig</code> - the aspect implementation field name where to inject original service. |
| If null, any field matching the original service will be injected.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a service that acts as a factory for generating aspects</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createAspectService-java.lang.Class-java.lang.String-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createAspectService</h4> |
| <pre>public <a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> createAspectService(java.lang.Class<?> serviceInterface, |
| java.lang.String serviceFilter, |
| int ranking)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createAspectComponent--"><code>DependencyManager.createAspectComponent()</code></a></span></div> |
| <div class="block">Creates a new aspect. The aspect will be applied to any service that |
| matches the specified interface and filter. For each matching service |
| an aspect will be created based on the aspect implementation class. |
| The aspect will be registered with the same interface and properties |
| as the original service, plus any extra properties you supply here. |
| It will also inherit all dependencies, and if you declare the original |
| service as a member it will be injected. |
| |
| <p>Usage example: |
| |
| <blockquote><pre> |
| manager.createAspectService(ExistingService.class, "(foo=bar)", 10) |
| .setImplementation(ExistingServiceAspect.class) |
| ); |
| </pre></blockquote></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>serviceInterface</code> - the service interface to apply the aspect to</dd> |
| <dd><code>serviceFilter</code> - the filter condition to use with the service interface</dd> |
| <dd><code>ranking</code> - the level used to organize the aspect chain ordering</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a service that acts as a factory for generating aspects</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createAspectService-java.lang.Class-java.lang.String-int-java.lang.String-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createAspectService</h4> |
| <pre>public <a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> createAspectService(java.lang.Class<?> serviceInterface, |
| java.lang.String serviceFilter, |
| int ranking, |
| java.lang.String add, |
| java.lang.String change, |
| java.lang.String remove)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createAspectComponent--"><code>DependencyManager.createAspectComponent()</code></a></span></div> |
| <div class="block">Creates a new aspect. The aspect will be applied to any service that |
| matches the specified interface and filter. For each matching service |
| an aspect will be created based on the aspect implementation class. |
| The aspect will be registered with the same interface and properties |
| as the original service, plus any extra properties you supply here. |
| It will also inherit all dependencies, and if you declare the original |
| service as a member it will be injected. |
| |
| <p>Usage example: |
| |
| <blockquote><pre> |
| manager.createAspectService(ExistingService.class, "(foo=bar)", 10, "add", "change", "remove") |
| .setImplementation(ExistingServiceAspect.class) |
| ); |
| </pre></blockquote></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>serviceInterface</code> - the service interface to apply the aspect to</dd> |
| <dd><code>serviceFilter</code> - the filter condition to use with the service interface</dd> |
| <dd><code>ranking</code> - the level used to organize the aspect chain ordering</dd> |
| <dd><code>add</code> - name of the callback method to invoke on add</dd> |
| <dd><code>change</code> - name of the callback method to invoke on change</dd> |
| <dd><code>remove</code> - name of the callback method to invoke on remove</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a service that acts as a factory for generating aspects</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createAspectService-java.lang.Class-java.lang.String-int-java.lang.String-java.lang.String-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createAspectService</h4> |
| <pre>public <a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> createAspectService(java.lang.Class<?> serviceInterface, |
| java.lang.String serviceFilter, |
| int ranking, |
| java.lang.String add, |
| java.lang.String change, |
| java.lang.String remove, |
| java.lang.String swap)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createAspectComponent--"><code>DependencyManager.createAspectComponent()</code></a></span></div> |
| <div class="block">Creates a new aspect. The aspect will be applied to any service that |
| matches the specified interface and filter. For each matching service |
| an aspect will be created based on the aspect implementation class. |
| The aspect will be registered with the same interface and properties |
| as the original service, plus any extra properties you supply here. |
| It will also inherit all dependencies, and if you declare the original |
| service as a member it will be injected. |
| |
| <p>Usage example: |
| |
| <blockquote><pre> |
| manager.createAspectService(ExistingService.class, "(foo=bar)", 10, "add", "change", "remove") |
| .setImplementation(ExistingServiceAspect.class) |
| ); |
| </pre></blockquote></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>serviceInterface</code> - the service interface to apply the aspect to</dd> |
| <dd><code>serviceFilter</code> - the filter condition to use with the service interface</dd> |
| <dd><code>ranking</code> - the level used to organize the aspect chain ordering</dd> |
| <dd><code>add</code> - name of the callback method to invoke on add</dd> |
| <dd><code>change</code> - name of the callback method to invoke on change</dd> |
| <dd><code>remove</code> - name of the callback method to invoke on remove</dd> |
| <dd><code>swap</code> - name of the callback method to invoke on swap</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a service that acts as a factory for generating aspects</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createAspectService-java.lang.Class-java.lang.String-int-java.lang.Object-java.lang.String-java.lang.String-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createAspectService</h4> |
| <pre>public <a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> createAspectService(java.lang.Class<?> serviceInterface, |
| java.lang.String serviceFilter, |
| int ranking, |
| java.lang.Object callbackInstance, |
| java.lang.String add, |
| java.lang.String change, |
| java.lang.String remove, |
| java.lang.String swap)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createAspectComponent--"><code>DependencyManager.createAspectComponent()</code></a></span></div> |
| <div class="block">Creates a new aspect. The aspect will be applied to any service that |
| matches the specified interface and filter. For each matching service |
| an aspect will be created based on the aspect implementation class. |
| The aspect will be registered with the same interface and properties |
| as the original service, plus any extra properties you supply here. |
| It will also inherit all dependencies, and if you declare the original |
| service as a member it will be injected. |
| |
| <p>Usage example: |
| |
| <blockquote><pre> |
| manager.createAspectService(ExistingService.class, "(foo=bar)", 10, "add", "change", "remove") |
| .setImplementation(ExistingServiceAspect.class) |
| ); |
| </pre></blockquote></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>serviceInterface</code> - the service interface to apply the aspect to</dd> |
| <dd><code>serviceFilter</code> - the filter condition to use with the service interface</dd> |
| <dd><code>ranking</code> - the level used to organize the aspect chain ordering</dd> |
| <dd><code>callbackInstance</code> - the instance to invoke the callbacks on, or null if the callbacks have to be invoked on the aspect itself</dd> |
| <dd><code>add</code> - name of the callback method to invoke on add</dd> |
| <dd><code>change</code> - name of the callback method to invoke on change</dd> |
| <dd><code>remove</code> - name of the callback method to invoke on remove</dd> |
| <dd><code>swap</code> - name of the callback method to invoke on swap</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a service that acts as a factory for generating aspects</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createAdapterService-java.lang.Class-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createAdapterService</h4> |
| <pre>public <a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> createAdapterService(java.lang.Class<?> serviceInterface, |
| java.lang.String serviceFilter)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createAdapterComponent--"><code>DependencyManager.createAdapterComponent()</code></a></span></div> |
| <div class="block">Creates a new adapter. The adapter will be applied to any service that |
| matches the specified interface and filter. For each matching service |
| an adapter will be created based on the adapter implementation class. |
| The adapter will be registered with the specified interface and existing properties |
| from the original service plus any extra properties you supply here. |
| It will also inherit all dependencies, and if you declare the original |
| service as a member it will be injected. |
| |
| <p>Usage example: |
| |
| <blockquote><pre> |
| manager.createAdapterService(AdapteeService.class, "(foo=bar)") |
| .setInterface(AdapterService.class, new Hashtable() {{ put("extra", "property"); }}) |
| .setImplementation(AdapterImpl.class); |
| </pre></blockquote></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>serviceInterface</code> - the service interface to apply the adapter to</dd> |
| <dd><code>serviceFilter</code> - the filter condition to use with the service interface</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a service that acts as a factory for generating adapters</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createAdapterService-java.lang.Class-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createAdapterService</h4> |
| <pre>public <a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> createAdapterService(java.lang.Class<?> serviceInterface, |
| java.lang.String serviceFilter, |
| java.lang.String autoConfig)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createAdapterComponent--"><code>DependencyManager.createAdapterComponent()</code></a></span></div> |
| <div class="block">Creates a new adapter. The adapter will be applied to any service that |
| matches the specified interface and filter. For each matching service |
| an adapter will be created based on the adapter implementation class. |
| The adapter will be registered with the specified interface and existing properties |
| from the original service plus any extra properties you supply here. |
| It will also inherit all dependencies, and if you declare the original |
| service as a member it will be injected. |
| |
| <p>Usage example: |
| |
| <blockquote><pre> |
| manager.createAdapterService(AdapteeService.class, "(foo=bar)", "m_service") |
| .setInterface(AdapterService.class, new Hashtable() {{ put("extra", "property"); }}) |
| .setImplementation(AdapterImpl.class); |
| </pre></blockquote></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>serviceInterface</code> - the service interface to apply the adapter to</dd> |
| <dd><code>serviceFilter</code> - the filter condition to use with the service interface</dd> |
| <dd><code>autoConfig</code> - the name of the member to inject the service into</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a service that acts as a factory for generating adapters</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createAdapterService-java.lang.Class-java.lang.String-java.lang.String-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createAdapterService</h4> |
| <pre>public <a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> createAdapterService(java.lang.Class<?> serviceInterface, |
| java.lang.String serviceFilter, |
| java.lang.String add, |
| java.lang.String change, |
| java.lang.String remove)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createAdapterComponent--"><code>DependencyManager.createAdapterComponent()</code></a></span></div> |
| <div class="block">Creates a new adapter. The adapter will be applied to any service that |
| matches the specified interface and filter. For each matching service |
| an adapter will be created based on the adapter implementation class. |
| The adapter will be registered with the specified interface and existing properties |
| from the original service plus any extra properties you supply here. |
| It will also inherit all dependencies, and if you declare the original |
| service as a member it will be injected. |
| |
| <p>Usage example: |
| |
| <blockquote><pre> |
| manager.createAdapterService(AdapteeService.class, "(foo=bar)", "add", "change", "remove") |
| .setInterface(AdapterService.class, new Hashtable() {{ put("extra", "property"); }}) |
| .setImplementation(AdapterImpl.class); |
| </pre></blockquote></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>serviceInterface</code> - the service interface to apply the adapter to</dd> |
| <dd><code>serviceFilter</code> - the filter condition to use with the service interface</dd> |
| <dd><code>add</code> - name of the callback method to invoke on add</dd> |
| <dd><code>change</code> - name of the callback method to invoke on change</dd> |
| <dd><code>remove</code> - name of the callback method to invoke on remove</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a service that acts as a factory for generating adapters</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createAdapterService-java.lang.Class-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createAdapterService</h4> |
| <pre>public <a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> createAdapterService(java.lang.Class<?> serviceInterface, |
| java.lang.String serviceFilter, |
| java.lang.String add, |
| java.lang.String change, |
| java.lang.String remove, |
| java.lang.String swap)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createAdapterComponent--"><code>DependencyManager.createAdapterComponent()</code></a></span></div> |
| <div class="block">Creates a new adapter. The adapter will be applied to any service that |
| matches the specified interface and filter. For each matching service |
| an adapter will be created based on the adapter implementation class. |
| The adapter will be registered with the specified interface and existing properties |
| from the original service plus any extra properties you supply here. |
| It will also inherit all dependencies, and if you declare the original |
| service as a member it will be injected. |
| |
| <p>Usage example: |
| |
| <blockquote><pre> |
| manager.createAdapterService(AdapteeService.class, "(foo=bar)", "add", "change", "remove", "swap") |
| .setInterface(AdapterService.class, new Hashtable() {{ put("extra", "property"); }}) |
| .setImplementation(AdapterImpl.class); |
| </pre></blockquote></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>serviceInterface</code> - the service interface to apply the adapter to</dd> |
| <dd><code>serviceFilter</code> - the filter condition to use with the service interface</dd> |
| <dd><code>add</code> - name of the callback method to invoke on add</dd> |
| <dd><code>change</code> - name of the callback method to invoke on change</dd> |
| <dd><code>remove</code> - name of the callback method to invoke on remove</dd> |
| <dd><code>swap</code> - name of the callback method to invoke on swap</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a service that acts as a factory for generating adapters</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createAdapterService-java.lang.Class-java.lang.String-java.lang.String-java.lang.Object-java.lang.String-java.lang.String-java.lang.String-java.lang.String-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createAdapterService</h4> |
| <pre>public <a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> createAdapterService(java.lang.Class<?> serviceInterface, |
| java.lang.String serviceFilter, |
| java.lang.String autoConfig, |
| java.lang.Object callbackInstance, |
| java.lang.String add, |
| java.lang.String change, |
| java.lang.String remove, |
| java.lang.String swap, |
| boolean propagate)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createAdapterComponent--"><code>DependencyManager.createAdapterComponent()</code></a></span></div> |
| <div class="block">Creates a new adapter. The adapter will be applied to any service that |
| matches the specified interface and filter. For each matching service |
| an adapter will be created based on the adapter implementation class. |
| The adapter will be registered with the specified interface (and existing properties |
| from the original service if you set the propagate flag) plus any extra properties you supply here. |
| It will also inherit all dependencies, and if you declare the original |
| service as a member it will be injected. |
| |
| <p>Usage example: |
| |
| <blockquote><pre> |
| manager.createAdapterService(AdapteeService.class, "(foo=bar)", "add", "change", "remove", "swap") |
| .setInterface(AdapterService.class, new Hashtable() {{ put("extra", "property"); }}) |
| .setImplementation(AdapterImpl.class); |
| </pre></blockquote></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>serviceInterface</code> - the service interface to apply the adapter to</dd> |
| <dd><code>serviceFilter</code> - the filter condition to use with the service interface</dd> |
| <dd><code>autoConfig</code> - the name of the member to inject the service into, or null.</dd> |
| <dd><code>callbackInstance</code> - the instance to invoke the callbacks on, or null if the callbacks have to be invoked on the adapter itself</dd> |
| <dd><code>add</code> - name of the callback method to invoke on add</dd> |
| <dd><code>change</code> - name of the callback method to invoke on change</dd> |
| <dd><code>remove</code> - name of the callback method to invoke on remove</dd> |
| <dd><code>swap</code> - name of the callback method to invoke on swap</dd> |
| <dd><code>propagate</code> - true if the adaptee service properties should be propagated to the adapter service consumers</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a service that acts as a factory for generating adapters</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createFactoryConfigurationAdapterService-java.lang.String-java.lang.String-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createFactoryConfigurationAdapterService</h4> |
| <pre>public <a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> createFactoryConfigurationAdapterService(java.lang.String factoryPid, |
| java.lang.String update, |
| boolean propagate)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createFactoryComponent--"><code>DependencyManager.createFactoryComponent()</code></a></span></div> |
| <div class="block">Creates a new Factory Configuration Adapter. For each new factory configuration matching |
| the factoryPid, an adapter will be created based on the adapter implementation class. |
| The adapter will be registered with the specified interface, and with the specified adapter service properties. |
| Depending on the <code>propagate</code> parameter, every public factory configuration properties |
| (which don't start with ".") will be propagated along with the adapter service properties. |
| It will also inherit all dependencies. |
| <p> The callback you specify may accept the following method signatures: |
| <ul><li> updated(Dictionary) |
| <li> updated(Component, Dictionary) |
| </ul> |
| |
| <p>Usage example: |
| |
| <blockquote><pre> |
| manager.createFactoryConfigurationAdapterService("MyFactoryPid", "update", true) |
| // The interface to use when registering adapter |
| .setInterface(AdapterService.class.getName(), new Hashtable() {{ put("foo", "bar"); }}) |
| // the implementation of the adapter |
| .setImplementation(AdapterServiceImpl.class); |
| </pre></blockquote></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>factoryPid</code> - the pid matching the factory configuration</dd> |
| <dd><code>update</code> - the adapter method name that will be notified when the factory configuration is created/updated.</dd> |
| <dd><code>propagate</code> - true if public factory configuration should be propagated to the adapter service properties</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a service that acts as a factory for generating the managed service factory configuration adapter</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createFactoryConfigurationAdapterService-java.lang.String-java.lang.String-boolean-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createFactoryConfigurationAdapterService</h4> |
| <pre>public <a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> createFactoryConfigurationAdapterService(java.lang.String factoryPid, |
| java.lang.String update, |
| boolean propagate, |
| java.lang.Object callbackInstance)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createFactoryComponent--"><code>DependencyManager.createFactoryComponent()</code></a></span></div> |
| <div class="block">Creates a new Factory Configuration Adapter using a specific update callback instance. |
| For each new factory configuration matching the factoryPid, an adapter will be created |
| based on the adapter implementation class. |
| The adapter will be registered with the specified interface, and with the specified adapter service properties. |
| Depending on the <code>propagate</code> parameter, every public factory configuration properties |
| (which don't start with ".") will be propagated along with the adapter service properties. |
| It will also inherit all dependencies. |
| <p> The callback you specify may accept the following method signatures: |
| <ul><li> updated(Dictionary) |
| <li> updated(Component, Dictionary) |
| </ul></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>factoryPid</code> - the pid matching the factory configuration</dd> |
| <dd><code>update</code> - the adapter method name that will be notified when the factory configuration is created/updated.</dd> |
| <dd><code>propagate</code> - true if public factory configuration should be propagated to the adapter service properties</dd> |
| <dd><code>callbackInstance</code> - the object on which the updated callback will be invoked.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a service that acts as a factory for generating the managed service factory configuration adapter</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createFactoryConfigurationAdapterService-java.lang.String-java.lang.String-boolean-java.lang.Class-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createFactoryConfigurationAdapterService</h4> |
| <pre>public <a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> createFactoryConfigurationAdapterService(java.lang.String factoryPid, |
| java.lang.String update, |
| boolean propagate, |
| java.lang.Class<?> configType)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createFactoryComponent--"><code>DependencyManager.createFactoryComponent()</code></a></span></div> |
| <div class="block">Creates a new Factory Configuration Adapter. For each new factory configuration matching |
| the factoryPid, an adapter will be created based on the adapter implementation class. |
| The adapter will be registered with the specified interface, and with the specified adapter service properties. |
| Depending on the <code>propagate</code> parameter, every public factory configuration properties |
| (which don't start with ".") will be propagated along with the adapter service properties. |
| It will also inherit all dependencies. |
| <p> The callback you specify may accept the following method signatures: |
| <ul><li> updated(Dictionary) |
| <li> updated(Component, Dictionary) |
| <li> updated(ConfigurationType) |
| <li> updated(Component, ConfigurationType) |
| </ul> |
| <p>The ConfigurationType parameter is an implementation of the <code>configType</code> argument.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>factoryPid</code> - the pid matching the factory configuration</dd> |
| <dd><code>update</code> - the adapter method name that will be notified when the factory configuration is created/updated.<p></dd> |
| <dd><code>propagate</code> - true if public factory configuration should be propagated to the adapter service properties</dd> |
| <dd><code>configType</code> - the configuration type to use instead of a dictionary. See the javadoc from <a href="../../../../../org/apache/felix/dm/ConfigurationDependency.html" title="interface in org.apache.felix.dm"><code>ConfigurationDependency</code></a> for |
| more informations about type-safe configuration.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a service that acts as a factory for generating the managed service factory configuration adapter</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/apache/felix/dm/ConfigurationDependency.html" title="interface in org.apache.felix.dm"><code>ConfigurationDependency</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createFactoryConfigurationAdapterService-java.lang.String-java.lang.String-boolean-java.lang.Object-java.lang.Class-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createFactoryConfigurationAdapterService</h4> |
| <pre>public <a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> createFactoryConfigurationAdapterService(java.lang.String factoryPid, |
| java.lang.String update, |
| boolean propagate, |
| java.lang.Object callbackInstance, |
| java.lang.Class<?> configType)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createFactoryComponent--"><code>DependencyManager.createFactoryComponent()</code></a></span></div> |
| <div class="block">Creates a new Factory Configuration Adapter using a specific update callback instance. |
| For each new factory configuration matching the factoryPid, an adapter will be created |
| based on the adapter implementation class. |
| The adapter will be registered with the specified interface, and with the specified adapter service properties. |
| Depending on the <code>propagate</code> parameter, every public factory configuration properties |
| (which don't start with ".") will be propagated along with the adapter service properties. |
| It will also inherit all dependencies. |
| <p> The callback you specify may accept the following method signatures: |
| <ul><li> updated(Dictionary) |
| <li> updated(Component, Dictionary) |
| <li> updated(ConfigurationType) |
| <li> updated(Component, ConfigurationType) |
| </ul> |
| <p>The ConfigurationType parameter is an implementation of the <code>configType</code> argument.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>factoryPid</code> - the pid matching the factory configuration</dd> |
| <dd><code>propagate</code> - true if public factory configuration should be propagated to the adapter service properties</dd> |
| <dd><code>callbackInstance</code> - the object on which the updated callback will be invoked.</dd> |
| <dd><code>configType</code> - the configuration type to use instead of a dictionary. See the javadoc from <a href="../../../../../org/apache/felix/dm/ConfigurationDependency.html" title="interface in org.apache.felix.dm"><code>ConfigurationDependency</code></a> for |
| more informations about type-safe configuration.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a service that acts as a factory for generating the managed service factory configuration adapter</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createAdapterFactoryConfigurationService-java.lang.String-java.lang.String-boolean-java.lang.String-java.lang.String-java.lang.String-org.apache.felix.dm.PropertyMetaData:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createAdapterFactoryConfigurationService</h4> |
| <pre>public <a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> createAdapterFactoryConfigurationService(java.lang.String factoryPid, |
| java.lang.String update, |
| boolean propagate, |
| java.lang.String heading, |
| java.lang.String desc, |
| java.lang.String localization, |
| <a href="../../../../../org/apache/felix/dm/PropertyMetaData.html" title="interface in org.apache.felix.dm">PropertyMetaData</a>[] propertiesMetaData)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createFactoryComponent--"><code>DependencyManager.createFactoryComponent()</code></a></span></div> |
| <div class="block">Creates a new Managed Service Factory Configuration Adapter with meta type support. For each new |
| factory configuration matching the factoryPid, an adapter will be created based on the adapter implementation |
| class. The adapter will be registered with the specified interface, and with the specified adapter service |
| properties. Depending on the <code>propagate</code> parameter, every public factory configuration properties |
| (which don't start with ".") will be propagated along with the adapter service properties. |
| It will also inherit all dependencies. |
| |
| <p>Usage example: |
| |
| <blockquote><pre> |
| PropertyMetaData[] propertiesMetaData = new PropertyMetaData[] { |
| manager.createPropertyMetaData() |
| .setCardinality(Integer.MAX_VALUE) |
| .setType(String.class) |
| .setHeading("English words") |
| .setDescription("Declare here some valid english words") |
| .setDefaults(new String[] {"hello", "world"}) |
| .setId("words") |
| }; |
| |
| manager.add(createFactoryConfigurationAdapterService("FactoryPid", |
| "updated", |
| true, // propagate CM settings |
| "EnglishDictionary", |
| "English dictionary configuration properties", |
| null, |
| propertiesMetaData) |
| .setImplementation(Adapter.class)); |
| </pre></blockquote></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>factoryPid</code> - the pid matching the factory configuration</dd> |
| <dd><code>update</code> - the adapter method name that will be notified when the factory configuration is created/updated.<p> |
| The following signatures are supported:<p> |
| <ul><li> updated(Dictionary) |
| <li> updated(Component, Dictionary) |
| </ul></dd> |
| <dd><code>propagate</code> - true if public factory configuration should be propagated to the adapter service properties</dd> |
| <dd><code>heading</code> - The label used to display the tab name (or section) where the properties are displayed. |
| Example: "Printer Service"</dd> |
| <dd><code>desc</code> - A human readable description of the factory PID this configuration is associated with. |
| Example: "Configuration for the PrinterService bundle"</dd> |
| <dd><code>localization</code> - Points to the basename of the Properties file that can localize the Meta Type informations. |
| The default localization base name for the properties is OSGI-INF/l10n/bundle, but can |
| be overridden by the manifest Bundle-Localization header (see core specification, in section Localization |
| on page 68). You can specify a specific localization basename file using this parameter |
| (e.g. <code>"person"</code> will match person_du_NL.properties in the root bundle directory).</dd> |
| <dd><code>propertiesMetaData</code> - Array of MetaData regarding configuration properties</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a service that acts as a factory for generating the managed service factory configuration adapter</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createBundleAdapterService-int-java.lang.String-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createBundleAdapterService</h4> |
| <pre>public <a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> createBundleAdapterService(int bundleStateMask, |
| java.lang.String bundleFilter, |
| boolean propagate)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createBundleComponent--"><code>DependencyManager.createBundleComponent()</code></a></span></div> |
| <div class="block">Creates a new bundle adapter. The adapter will be applied to any bundle that |
| matches the specified bundle state mask and filter condition. For each matching |
| bundle an adapter will be created based on the adapter implementation class. |
| The adapter will be registered with the specified interface</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>bundleStateMask</code> - the bundle state mask to apply</dd> |
| <dd><code>bundleFilter</code> - the filter to apply to the bundle manifest</dd> |
| <dd><code>propagate</code> - <code>true</code> if properties from the bundle should be propagated to the service</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a service that acts as a factory for generating bundle adapters</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createBundleAdapterService-int-java.lang.String-boolean-java.lang.Object-java.lang.String-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createBundleAdapterService</h4> |
| <pre>public <a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> createBundleAdapterService(int bundleStateMask, |
| java.lang.String bundleFilter, |
| boolean propagate, |
| java.lang.Object callbackInstance, |
| java.lang.String add, |
| java.lang.String change, |
| java.lang.String remove)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createBundleComponent--"><code>DependencyManager.createBundleComponent()</code></a></span></div> |
| <div class="block">Creates a new bundle adapter using specific callback instance. |
| The adapter will be applied to any bundle that matches the specified bundle state mask and filter condition. |
| For each matching bundle an adapter will be created based on the adapter implementation class, and |
| The adapter will be registered with the specified interface.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>bundleStateMask</code> - the bundle state mask to apply</dd> |
| <dd><code>bundleFilter</code> - the filter to apply to the bundle manifest</dd> |
| <dd><code>propagate</code> - <code>true</code> if properties from the bundle should be propagated to the service</dd> |
| <dd><code>callbackInstance</code> - the instance to invoke the callbacks on, or null if the callbacks have to be invoked on the adapter itself</dd> |
| <dd><code>add</code> - name of the callback method to invoke on add</dd> |
| <dd><code>change</code> - name of the callback method to invoke on change</dd> |
| <dd><code>remove</code> - name of the callback method to invoke on remove</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a service that acts as a factory for generating bundle adapters</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createResourceAdapterService-java.lang.String-boolean-java.lang.Object-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createResourceAdapterService</h4> |
| <pre>public <a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> createResourceAdapterService(java.lang.String resourceFilter, |
| boolean propagate, |
| java.lang.Object callbackInstance, |
| java.lang.String callbackChanged)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createResourceComponent--"><code>DependencyManager.createResourceComponent()</code></a></span></div> |
| <div class="block">Creates a new resource adapter. The adapter will be applied to any resource that |
| matches the specified filter condition. For each matching resource |
| an adapter will be created based on the adapter implementation class. |
| The adapter will be registered with the specified interface and existing properties |
| from the original resource plus any extra properties you supply here. |
| It will also inherit all dependencies, and if you declare the original |
| service as a member it will be injected.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>resourceFilter</code> - the filter condition to use with the resource</dd> |
| <dd><code>propagate</code> - <code>true</code> if properties from the resource should be propagated to the service</dd> |
| <dd><code>callbackInstance</code> - instance to invoke the callback on</dd> |
| <dd><code>callbackChanged</code> - the name of the callback method</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a service that acts as a factory for generating resource adapters</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createResourceAdapterService-java.lang.String-boolean-java.lang.Object-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createResourceAdapterService</h4> |
| <pre>public <a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> createResourceAdapterService(java.lang.String resourceFilter, |
| boolean propagate, |
| java.lang.Object callbackInstance, |
| java.lang.String callbackSet, |
| java.lang.String callbackChanged)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createResourceComponent--"><code>DependencyManager.createResourceComponent()</code></a></span></div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createResourceAdapterService-java.lang.String-boolean-java.lang.Object-java.lang.String-"><code>createResourceAdapterService(String, boolean, Object, String)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createResourceAdapterService-java.lang.String-java.lang.Object-java.lang.String-java.lang.Object-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createResourceAdapterService</h4> |
| <pre>public <a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> createResourceAdapterService(java.lang.String resourceFilter, |
| java.lang.Object propagateCallbackInstance, |
| java.lang.String propagateCallbackMethod, |
| java.lang.Object callbackInstance, |
| java.lang.String callbackChanged)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createResourceComponent--"><code>DependencyManager.createResourceComponent()</code></a></span></div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createResourceAdapterService-java.lang.String-boolean-java.lang.Object-java.lang.String-"><code>createResourceAdapterService(String, boolean, Object, String)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createResourceAdapterService-java.lang.String-java.lang.Object-java.lang.String-java.lang.Object-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>createResourceAdapterService</h4> |
| <pre>public <a href="../../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> createResourceAdapterService(java.lang.String resourceFilter, |
| java.lang.Object propagateCallbackInstance, |
| java.lang.String propagateCallbackMethod, |
| java.lang.Object callbackInstance, |
| java.lang.String callbackSet, |
| java.lang.String callbackChanged)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use <a href="../../../../../org/apache/felix/dm/DependencyManager.html#createResourceComponent--"><code>DependencyManager.createResourceComponent()</code></a></span></div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/apache/felix/dm/compat/DependencyManagerCompat.html#createResourceAdapterService-java.lang.String-boolean-java.lang.Object-java.lang.String-"><code>createResourceAdapterService(String, boolean, Object, String)</code></a></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/compat/DependencyActivatorBaseCompat.html" title="class in org.apache.felix.dm.compat"><span class="typeNameLink">Prev Class</span></a></li> |
| <li>Next Class</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/felix/dm/compat/DependencyManagerCompat.html" target="_top">Frames</a></li> |
| <li><a href="DependencyManagerCompat.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><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </body> |
| </html> |