You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by pd...@apache.org on 2015/05/27 00:06:47 UTC
svn commit: r1681877 [3/13] - in
/felix/site/trunk/content/apidocs/dependencymanager/r2: ./ org/ org/apache/
org/apache/felix/ org/apache/felix/dm/ org/apache/felix/dm/context/
org/apache/felix/dm/tracker/ resources/
Added: felix/site/trunk/content/apidocs/dependencymanager/r2/index.html
URL: http://svn.apache.org/viewvc/felix/site/trunk/content/apidocs/dependencymanager/r2/index.html?rev=1681877&view=auto
==============================================================================
--- felix/site/trunk/content/apidocs/dependencymanager/r2/index.html (added)
+++ felix/site/trunk/content/apidocs/dependencymanager/r2/index.html Tue May 26 22:06:46 2015
@@ -0,0 +1,74 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc on Wed May 27 00:04:14 CEST 2015 -->
+<title>Generated Documentation (Untitled)</title>
+<script type="text/javascript">
+ targetPage = "" + window.location.search;
+ if (targetPage != "" && targetPage != "undefined")
+ targetPage = targetPage.substring(1);
+ if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
+ targetPage = "undefined";
+ function validURL(url) {
+ try {
+ url = decodeURIComponent(url);
+ }
+ catch (error) {
+ return false;
+ }
+ var pos = url.indexOf(".html");
+ if (pos == -1 || pos != url.length - 5)
+ return false;
+ var allowNumber = false;
+ var allowSep = false;
+ var seenDot = false;
+ for (var i = 0; i < url.length - 5; i++) {
+ var ch = url.charAt(i);
+ if ('a' <= ch && ch <= 'z' ||
+ 'A' <= ch && ch <= 'Z' ||
+ ch == '$' ||
+ ch == '_' ||
+ ch.charCodeAt(0) > 127) {
+ allowNumber = true;
+ allowSep = true;
+ } else if ('0' <= ch && ch <= '9'
+ || ch == '-') {
+ if (!allowNumber)
+ return false;
+ } else if (ch == '/' || ch == '.') {
+ if (!allowSep)
+ return false;
+ allowNumber = false;
+ allowSep = false;
+ if (ch == '.')
+ seenDot = true;
+ if (ch == '/' && seenDot)
+ return false;
+ } else {
+ return false;
+ }
+ }
+ return true;
+ }
+ function loadFrames() {
+ if (targetPage != "" && targetPage != "undefined")
+ top.classFrame.location = top.targetPage;
+ }
+</script>
+</head>
+<frameset cols="20%,80%" title="Documentation frame" onload="top.loadFrames()">
+<frameset rows="30%,70%" title="Left frames" onload="top.loadFrames()">
+<frame src="overview-frame.html" name="packageListFrame" title="All Packages">
+<frame src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
+</frameset>
+<frame src="overview-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
+<noframes>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<h2>Frame Alert</h2>
+<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p>
+</noframes>
+</frameset>
+</html>
Added: felix/site/trunk/content/apidocs/dependencymanager/r2/org/apache/felix/dm/BundleDependency.html
URL: http://svn.apache.org/viewvc/felix/site/trunk/content/apidocs/dependencymanager/r2/org/apache/felix/dm/BundleDependency.html?rev=1681877&view=auto
==============================================================================
--- felix/site/trunk/content/apidocs/dependencymanager/r2/org/apache/felix/dm/BundleDependency.html (added)
+++ felix/site/trunk/content/apidocs/dependencymanager/r2/org/apache/felix/dm/BundleDependency.html Tue May 26 22:06:46 2015
@@ -0,0 +1,459 @@
+<!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 (version 1.7.0_75) on Wed May 27 00:04:13 CEST 2015 -->
+<title>BundleDependency</title>
+<meta name="date" content="2015-05-27">
+<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="BundleDependency";
+ }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!-- -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev Class</li>
+<li><a href="../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/felix/dm/BundleDependency.html" target="_top">Frames</a></li>
+<li><a href="BundleDependency.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</div>
+<h2 title="Interface BundleDependency" class="title">Interface BundleDependency</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/ComponentDependencyDeclaration.html" title="interface in org.apache.felix.dm">ComponentDependencyDeclaration</a>, <a href="../../../../org/apache/felix/dm/Dependency.html" title="interface in org.apache.felix.dm">Dependency</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public interface <span class="strong">BundleDependency</span>
+extends <a href="../../../../org/apache/felix/dm/Dependency.html" title="interface in org.apache.felix.dm">Dependency</a>, <a href="../../../../org/apache/felix/dm/ComponentDependencyDeclaration.html" title="interface in org.apache.felix.dm">ComponentDependencyDeclaration</a></pre>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- =========== FIELD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field_summary">
+<!-- -->
+</a>
+<h3>Field Summary</h3>
+<ul class="blockList">
+<li class="blockList"><a name="fields_inherited_from_class_org.apache.felix.dm.ComponentDependencyDeclaration">
+<!-- -->
+</a>
+<h3>Fields inherited from interface org.apache.felix.dm.<a href="../../../../org/apache/felix/dm/ComponentDependencyDeclaration.html" title="interface in org.apache.felix.dm">ComponentDependencyDeclaration</a></h3>
+<code><a href="../../../../org/apache/felix/dm/ComponentDependencyDeclaration.html#STATE_AVAILABLE_OPTIONAL">STATE_AVAILABLE_OPTIONAL</a>, <a href="../../../../org/apache/felix/dm/ComponentDependencyDeclaration.html#STATE_AVAILABLE_REQUIRED">STATE_AVAILABLE_REQUIRED</a>, <a href="../../../../org/apache/felix/dm/ComponentDependencyDeclaration.html#STATE_NAMES">STATE_NAMES</a>, <a href="../../../../org/apache/felix/dm/ComponentDependencyDeclaration.html#STATE_OPTIONAL">STATE_OPTIONAL</a>, <a href="../../../../org/apache/felix/dm/ComponentDependencyDeclaration.html#STATE_REQUIRED">STATE_REQUIRED</a>, <a href="../../../../org/apache/felix/dm/ComponentDependencyDeclaration.html#STATE_UNAVAILABLE_OPTIONAL">STATE_UNAVAILABLE_OPTIONAL</a>, <a href="../../../../org/apache/felix/dm/ComponentDependencyDeclaration.html#STATE_UNAVAILABLE_REQUIRED">STATE_UNAVAILABLE_REQUIRED</a></code></li>
+</ul>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/felix/dm/BundleDependency.html" title="interface in org.apache.felix.dm">BundleDependency</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/BundleDependency.html#setAutoConfig(boolean)">setAutoConfig</a></strong>(boolean autoConfig)</code>
+<div class="block">Enables auto configuration for this dependency.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/felix/dm/BundleDependency.html" title="interface in org.apache.felix.dm">BundleDependency</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/BundleDependency.html#setBundle(Bundle)">setBundle</a></strong>(Bundle bundle)</code>
+<div class="block">Sets the bundle to depend on directly.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/felix/dm/BundleDependency.html" title="interface in org.apache.felix.dm">BundleDependency</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/BundleDependency.html#setCallbacks(java.lang.Object,%20java.lang.String,%20java.lang.String)">setCallbacks</a></strong>(java.lang.Object instance,
+ java.lang.String added,
+ java.lang.String removed)</code>
+<div class="block">Sets the callbacks for this dependency.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/felix/dm/BundleDependency.html" title="interface in org.apache.felix.dm">BundleDependency</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/BundleDependency.html#setCallbacks(java.lang.Object,%20java.lang.String,%20java.lang.String,%20java.lang.String)">setCallbacks</a></strong>(java.lang.Object instance,
+ java.lang.String added,
+ java.lang.String changed,
+ java.lang.String removed)</code>
+<div class="block">Sets the callbacks for this dependency.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/felix/dm/BundleDependency.html" title="interface in org.apache.felix.dm">BundleDependency</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/BundleDependency.html#setCallbacks(java.lang.String,%20java.lang.String)">setCallbacks</a></strong>(java.lang.String added,
+ java.lang.String removed)</code>
+<div class="block">Sets the callbacks for this dependency.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/felix/dm/BundleDependency.html" title="interface in org.apache.felix.dm">BundleDependency</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/BundleDependency.html#setCallbacks(java.lang.String,%20java.lang.String,%20java.lang.String)">setCallbacks</a></strong>(java.lang.String added,
+ java.lang.String changed,
+ java.lang.String removed)</code>
+<div class="block">Sets the callbacks for this dependency.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/felix/dm/BundleDependency.html" title="interface in org.apache.felix.dm">BundleDependency</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/BundleDependency.html#setFilter(java.lang.String)">setFilter</a></strong>(java.lang.String filter)</code>
+<div class="block">Sets the filter condition to depend on.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/felix/dm/BundleDependency.html" title="interface in org.apache.felix.dm">BundleDependency</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/BundleDependency.html#setPropagate(boolean)">setPropagate</a></strong>(boolean propagate)</code>
+<div class="block">Sets property propagation.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/felix/dm/BundleDependency.html" title="interface in org.apache.felix.dm">BundleDependency</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/BundleDependency.html#setPropagate(java.lang.Object,%20java.lang.String)">setPropagate</a></strong>(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 class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/felix/dm/BundleDependency.html" title="interface in org.apache.felix.dm">BundleDependency</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/BundleDependency.html#setRequired(boolean)">setRequired</a></strong>(boolean required)</code>
+<div class="block">Sets the dependency to be required.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/felix/dm/BundleDependency.html" title="interface in org.apache.felix.dm">BundleDependency</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/BundleDependency.html#setStateMask(int)">setStateMask</a></strong>(int mask)</code>
+<div class="block">Sets the bundle state mask to depend on.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_org.apache.felix.dm.Dependency">
+<!-- -->
+</a>
+<h3>Methods inherited from interface org.apache.felix.dm.<a href="../../../../org/apache/felix/dm/Dependency.html" title="interface in org.apache.felix.dm">Dependency</a></h3>
+<code><a href="../../../../org/apache/felix/dm/Dependency.html#getAutoConfigName()">getAutoConfigName</a>, <a href="../../../../org/apache/felix/dm/Dependency.html#getProperties()">getProperties</a>, <a href="../../../../org/apache/felix/dm/Dependency.html#isAutoConfig()">isAutoConfig</a>, <a href="../../../../org/apache/felix/dm/Dependency.html#isAvailable()">isAvailable</a>, <a href="../../../../org/apache/felix/dm/Dependency.html#isPropagated()">isPropagated</a>, <a href="../../../../org/apache/felix/dm/Dependency.html#isRequired()">isRequired</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_org.apache.felix.dm.ComponentDependencyDeclaration">
+<!-- -->
+</a>
+<h3>Methods inherited from interface org.apache.felix.dm.<a href="../../../../org/apache/felix/dm/ComponentDependencyDeclaration.html" title="interface in org.apache.felix.dm">ComponentDependencyDeclaration</a></h3>
+<code><a href="../../../../org/apache/felix/dm/ComponentDependencyDeclaration.html#getFilter()">getFilter</a>, <a href="../../../../org/apache/felix/dm/ComponentDependencyDeclaration.html#getName()">getName</a>, <a href="../../../../org/apache/felix/dm/ComponentDependencyDeclaration.html#getSimpleName()">getSimpleName</a>, <a href="../../../../org/apache/felix/dm/ComponentDependencyDeclaration.html#getState()">getState</a>, <a href="../../../../org/apache/felix/dm/ComponentDependencyDeclaration.html#getType()">getType</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="setCallbacks(java.lang.String, java.lang.String)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setCallbacks</h4>
+<pre><a href="../../../../org/apache/felix/dm/BundleDependency.html" title="interface in org.apache.felix.dm">BundleDependency</a> setCallbacks(java.lang.String added,
+ java.lang.String removed)</pre>
+<div class="block">Sets the callbacks for this dependency. These callbacks can be used as hooks whenever a dependency is added or removed.
+ When you specify callbacks, the auto configuration feature is automatically turned off, because we're assuming you don't
+ need it in this case.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>added</code> - the method to call when a bundle was added</dd><dd><code>removed</code> - the method to call when a bundle was removed</dd>
+<dt><span class="strong">Returns:</span></dt><dd>the bundle dependency</dd></dl>
+</li>
+</ul>
+<a name="setCallbacks(java.lang.String, java.lang.String, java.lang.String)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setCallbacks</h4>
+<pre><a href="../../../../org/apache/felix/dm/BundleDependency.html" title="interface in org.apache.felix.dm">BundleDependency</a> setCallbacks(java.lang.String added,
+ java.lang.String changed,
+ java.lang.String removed)</pre>
+<div class="block">Sets the callbacks for this dependency. These callbacks can be used as hooks whenever a dependency is added, changed or
+ removed. When you specify callbacks, the auto configuration feature is automatically turned off, because we're assuming
+ you don't need it in this case.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>added</code> - the method to call when a bundle was added</dd><dd><code>changed</code> - the method to call when a bundle was changed</dd><dd><code>removed</code> - the method to call when a bundle was removed</dd>
+<dt><span class="strong">Returns:</span></dt><dd>the bundle dependency</dd></dl>
+</li>
+</ul>
+<a name="setCallbacks(java.lang.Object, java.lang.String, java.lang.String)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setCallbacks</h4>
+<pre><a href="../../../../org/apache/felix/dm/BundleDependency.html" title="interface in org.apache.felix.dm">BundleDependency</a> setCallbacks(java.lang.Object instance,
+ java.lang.String added,
+ java.lang.String removed)</pre>
+<div class="block">Sets the callbacks for this dependency. These callbacks can be used as hooks whenever a dependency is added or removed.
+ They are called on the instance you provide. When you specify callbacks, the auto configuration feature is automatically
+ turned off, because we're assuming you don't need it in this case.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>instance</code> - the instance to call the callbacks on</dd><dd><code>added</code> - the method to call when a bundle was added</dd><dd><code>removed</code> - the method to call when a bundle was removed</dd>
+<dt><span class="strong">Returns:</span></dt><dd>the bundle dependency</dd></dl>
+</li>
+</ul>
+<a name="setCallbacks(java.lang.Object, java.lang.String, java.lang.String, java.lang.String)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setCallbacks</h4>
+<pre><a href="../../../../org/apache/felix/dm/BundleDependency.html" title="interface in org.apache.felix.dm">BundleDependency</a> setCallbacks(java.lang.Object instance,
+ java.lang.String added,
+ java.lang.String changed,
+ java.lang.String removed)</pre>
+<div class="block">Sets the callbacks for this dependency. These callbacks can be used as hooks whenever a dependency is added, changed or
+ removed. They are called on the instance you provide. When you specify callbacks, the auto configuration feature is
+ automatically turned off, because we're assuming you don't need it in this case.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>instance</code> - the instance to call the callbacks on</dd><dd><code>added</code> - the method to call when a bundle was added</dd><dd><code>changed</code> - the method to call when a bundle was changed</dd><dd><code>removed</code> - the method to call when a bundle was removed</dd>
+<dt><span class="strong">Returns:</span></dt><dd>the bundle dependency</dd></dl>
+</li>
+</ul>
+<a name="setAutoConfig(boolean)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setAutoConfig</h4>
+<pre><a href="../../../../org/apache/felix/dm/BundleDependency.html" title="interface in org.apache.felix.dm">BundleDependency</a> setAutoConfig(boolean autoConfig)</pre>
+<div class="block">Enables auto configuration for this dependency. This means the component implementation (composition) will be
+ injected with this bundle dependency automatically.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>autoConfig</code> - <code>true</code> to enable auto configuration</dd>
+<dt><span class="strong">Returns:</span></dt><dd>the bundle dependency</dd></dl>
+</li>
+</ul>
+<a name="setRequired(boolean)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setRequired</h4>
+<pre><a href="../../../../org/apache/felix/dm/BundleDependency.html" title="interface in org.apache.felix.dm">BundleDependency</a> setRequired(boolean required)</pre>
+<div class="block">Sets the dependency to be required.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>required</code> - <code>true</code> if this bundle dependency is required</dd>
+<dt><span class="strong">Returns:</span></dt><dd>the bundle dependency</dd></dl>
+</li>
+</ul>
+<a name="setBundle(Bundle)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setBundle</h4>
+<pre><a href="../../../../org/apache/felix/dm/BundleDependency.html" title="interface in org.apache.felix.dm">BundleDependency</a> setBundle(Bundle bundle)</pre>
+<div class="block">Sets the bundle to depend on directly.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>bundle</code> - the bundle to depend on</dd>
+<dt><span class="strong">Returns:</span></dt><dd>the bundle dependency</dd></dl>
+</li>
+</ul>
+<a name="setFilter(java.lang.String)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setFilter</h4>
+<pre><a href="../../../../org/apache/felix/dm/BundleDependency.html" title="interface in org.apache.felix.dm">BundleDependency</a> setFilter(java.lang.String filter)
+ throws java.lang.IllegalArgumentException</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="strong">Parameters:</span></dt><dd><code>filter</code> - the filter condition</dd>
+<dt><span class="strong">Returns:</span></dt><dd>the bundle dependency</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code>java.lang.IllegalArgumentException</code> - if the filter is invalid</dd></dl>
+</li>
+</ul>
+<a name="setStateMask(int)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setStateMask</h4>
+<pre><a href="../../../../org/apache/felix/dm/BundleDependency.html" title="interface in org.apache.felix.dm">BundleDependency</a> setStateMask(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="strong">Parameters:</span></dt><dd><code>mask</code> - the mask to use</dd>
+<dt><span class="strong">Returns:</span></dt><dd>the bundle dependency</dd></dl>
+</li>
+</ul>
+<a name="setPropagate(boolean)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setPropagate</h4>
+<pre><a href="../../../../org/apache/felix/dm/BundleDependency.html" title="interface in org.apache.felix.dm">BundleDependency</a> setPropagate(boolean propagate)</pre>
+<div class="block">Sets property propagation. If set to <code>true</code> any bundle manifest properties will be added
+ to the service properties of the component that has this dependency (if it registers as a service).</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>propagate</code> - <code>true</code> to propagate the bundle manifest properties</dd>
+<dt><span class="strong">Returns:</span></dt><dd>the bundle dependency</dd></dl>
+</li>
+</ul>
+<a name="setPropagate(java.lang.Object, java.lang.String)">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>setPropagate</h4>
+<pre><a href="../../../../org/apache/felix/dm/BundleDependency.html" title="interface in org.apache.felix.dm">BundleDependency</a> setPropagate(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:
+ <ul><li>Dictionary callback(ServiceReference, Object service)
+ <li>Dictionary callback(ServiceReference)
+ </ul></div>
+<dl><dt><span class="strong">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="strong">Returns:</span></dt><dd>this service dependency.</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><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev Class</li>
+<li><a href="../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/felix/dm/BundleDependency.html" target="_top">Frames</a></li>
+<li><a href="BundleDependency.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>
Added: felix/site/trunk/content/apidocs/dependencymanager/r2/org/apache/felix/dm/Component.html
URL: http://svn.apache.org/viewvc/felix/site/trunk/content/apidocs/dependencymanager/r2/org/apache/felix/dm/Component.html?rev=1681877&view=auto
==============================================================================
--- felix/site/trunk/content/apidocs/dependencymanager/r2/org/apache/felix/dm/Component.html (added)
+++ felix/site/trunk/content/apidocs/dependencymanager/r2/org/apache/felix/dm/Component.html Tue May 26 22:06:46 2015
@@ -0,0 +1,712 @@
+<!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 (version 1.7.0_75) on Wed May 27 00:04:13 CEST 2015 -->
+<title>Component</title>
+<meta name="date" content="2015-05-27">
+<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="Component";
+ }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!-- -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><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/BundleDependency.html" title="interface in org.apache.felix.dm"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/felix/dm/ComponentDeclaration.html" title="interface in org.apache.felix.dm"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/felix/dm/Component.html" target="_top">Frames</a></li>
+<li><a href="Component.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</div>
+<h2 title="Interface Component" class="title">Interface Component</h2>
+</div>
+<div class="contentContainer">
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Known Subinterfaces:</dt>
+<dd><a href="../../../../org/apache/felix/dm/context/ComponentContext.html" title="interface in org.apache.felix.dm.context">ComponentContext</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public interface <span class="strong">Component</span></pre>
+<div class="block">Component interface. Components are the main building blocks for OSGi applications.
+ They can publish themselves as a service, and they can have dependencies. These
+ dependencies will influence their life cycle as component will only be activated
+ when all required dependencies are available.</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="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr 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><strong><a href="../../../../org/apache/felix/dm/Component.html#add(org.apache.felix.dm.ComponentStateListener)">add</a></strong>(<a href="../../../../org/apache/felix/dm/ComponentStateListener.html" title="interface in org.apache.felix.dm">ComponentStateListener</a> listener)</code>
+<div class="block">Adds a component state listener to this component.</div>
+</td>
+</tr>
+<tr 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><strong><a href="../../../../org/apache/felix/dm/Component.html#add(org.apache.felix.dm.Dependency...)">add</a></strong>(<a href="../../../../org/apache/felix/dm/Dependency.html" title="interface in org.apache.felix.dm">Dependency</a>... dependencies)</code>
+<div class="block">Adds dependency(ies) to this component, atomically.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/felix/dm/ComponentDeclaration.html" title="interface in org.apache.felix.dm">ComponentDeclaration</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/Component.html#getComponentDeclaration()">getComponentDeclaration</a></strong>()</code>
+<div class="block">Returns the component description (dependencies, service provided, etc ...).</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/felix/dm/DependencyManager.html" title="class in org.apache.felix.dm">DependencyManager</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/Component.html#getDependencyManager()">getDependencyManager</a></strong>()</code>
+<div class="block">Returns the dependency manager associated with this component.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><T> T</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/Component.html#getInstance()">getInstance</a></strong>()</code>
+<div class="block">Returns the instance that make up this component.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>java.lang.Object[]</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/Component.html#getInstances()">getInstances</a></strong>()</code>
+<div class="block">Returns the composition instances that make up this component, or just the
+ component instance if it does not have a composition, or an empty array if
+ the component has not even been instantiated.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><K,V> java.util.Dictionary<K,V></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/Component.html#getServiceProperties()">getServiceProperties</a></strong>()</code>
+<div class="block">Returns the service properties associated with the component.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>ServiceRegistration</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/Component.html#getServiceRegistration()">getServiceRegistration</a></strong>()</code>
+<div class="block">Returns the service registration for this component.</div>
+</td>
+</tr>
+<tr 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><strong><a href="../../../../org/apache/felix/dm/Component.html#remove(org.apache.felix.dm.ComponentStateListener)">remove</a></strong>(<a href="../../../../org/apache/felix/dm/ComponentStateListener.html" title="interface in org.apache.felix.dm">ComponentStateListener</a> listener)</code>
+<div class="block">Removes a component state listener from this component.</div>
+</td>
+</tr>
+<tr 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><strong><a href="../../../../org/apache/felix/dm/Component.html#remove(org.apache.felix.dm.Dependency)">remove</a></strong>(<a href="../../../../org/apache/felix/dm/Dependency.html" title="interface in org.apache.felix.dm">Dependency</a> d)</code>
+<div class="block">Removes a dependency from the component.</div>
+</td>
+</tr>
+<tr 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><strong><a href="../../../../org/apache/felix/dm/Component.html#setAutoConfig(java.lang.Class,%20boolean)">setAutoConfig</a></strong>(java.lang.Class<?> clazz,
+ boolean autoConfig)</code>
+<div class="block">Configures auto configuration of injected classes in the component instance.</div>
+</td>
+</tr>
+<tr 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><strong><a href="../../../../org/apache/felix/dm/Component.html#setAutoConfig(java.lang.Class,%20java.lang.String)">setAutoConfig</a></strong>(java.lang.Class<?> clazz,
+ java.lang.String instanceName)</code>
+<div class="block">Configures auto configuration of injected classes in the component instance.</div>
+</td>
+</tr>
+<tr 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><strong><a href="../../../../org/apache/felix/dm/Component.html#setCallbacks(java.lang.Object,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String)">setCallbacks</a></strong>(java.lang.Object instance,
+ java.lang.String init,
+ java.lang.String start,
+ java.lang.String stop,
+ java.lang.String destroy)</code>
+<div class="block">Sets the names of the methods used as callbacks.</div>
+</td>
+</tr>
+<tr 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><strong><a href="../../../../org/apache/felix/dm/Component.html#setCallbacks(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String)">setCallbacks</a></strong>(java.lang.String init,
+ java.lang.String start,
+ java.lang.String stop,
+ java.lang.String destroy)</code>
+<div class="block">Sets the names of the methods used as callbacks.</div>
+</td>
+</tr>
+<tr 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><strong><a href="../../../../org/apache/felix/dm/Component.html#setComposition(java.lang.Object,%20java.lang.String)">setComposition</a></strong>(java.lang.Object instance,
+ java.lang.String getMethod)</code>
+<div class="block">Sets the instance and method to invoke to get back all instances that
+ are part of a composition and need dependencies injected.</div>
+</td>
+</tr>
+<tr 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><strong><a href="../../../../org/apache/felix/dm/Component.html#setComposition(java.lang.String)">setComposition</a></strong>(java.lang.String getMethod)</code>
+<div class="block">Sets the method to invoke on the service implementation to get back all
+ instances that are part of a composition and need dependencies injected.</div>
+</td>
+</tr>
+<tr 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><strong><a href="../../../../org/apache/felix/dm/Component.html#setDebug(java.lang.String)">setDebug</a></strong>(java.lang.String label)</code>
+<div class="block">Activate debug for this component.</div>
+</td>
+</tr>
+<tr 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><strong><a href="../../../../org/apache/felix/dm/Component.html#setFactory(java.lang.Object,%20java.lang.String)">setFactory</a></strong>(java.lang.Object factory,
+ java.lang.String createMethod)</code>
+<div class="block">Sets the factory to use to create the implementation.</div>
+</td>
+</tr>
+<tr 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><strong><a href="../../../../org/apache/felix/dm/Component.html#setFactory(java.lang.String)">setFactory</a></strong>(java.lang.String createMethod)</code>
+<div class="block">Sets the factory to use to create the implementation.</div>
+</td>
+</tr>
+<tr 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><strong><a href="../../../../org/apache/felix/dm/Component.html#setImplementation(java.lang.Object)">setImplementation</a></strong>(java.lang.Object implementation)</code>
+<div class="block">Sets the implementation for this component.</div>
+</td>
+</tr>
+<tr 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><strong><a href="../../../../org/apache/felix/dm/Component.html#setInterface(java.lang.String[],%20java.util.Dictionary)">setInterface</a></strong>(java.lang.String[] serviceNames,
+ java.util.Dictionary<?,?> properties)</code>
+<div class="block">Sets the public interfaces under which this component should be registered
+ in the OSGi service registry.</div>
+</td>
+</tr>
+<tr 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><strong><a href="../../../../org/apache/felix/dm/Component.html#setInterface(java.lang.String,%20java.util.Dictionary)">setInterface</a></strong>(java.lang.String serviceName,
+ java.util.Dictionary<?,?> properties)</code>
+<div class="block">Sets the public interface under which this component should be registered
+ in the OSGi service registry.</div>
+</td>
+</tr>
+<tr 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><strong><a href="../../../../org/apache/felix/dm/Component.html#setServiceProperties(java.util.Dictionary)">setServiceProperties</a></strong>(java.util.Dictionary<?,?> serviceProperties)</code>
+<div class="block">Sets the service properties associated with the component.</div>
+</td>
+</tr>
+</table>
+</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="setImplementation(java.lang.Object)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setImplementation</h4>
+<pre><a href="../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> setImplementation(java.lang.Object implementation)</pre>
+<div class="block">Sets the implementation for this component. You can actually specify
+ an instance you have instantiated manually, or a <code>Class</code>
+ that will be instantiated using its default constructor when the
+ required dependencies are resolved, effectively giving you a lazy
+ instantiation mechanism.
+
+ There are four special methods that are called when found through
+ reflection to give you life cycle management options:
+ <ol>
+ <li><code>init()</code> is invoked after the instance has been
+ created and dependencies have been resolved, and can be used to
+ initialize the internal state of the instance or even to add more
+ dependencies based on runtime state</li>
+ <li><code>start()</code> is invoked right before the service is
+ registered</li>
+ <li><code>stop()</code> is invoked right after the service is
+ unregistered</li>
+ <li><code>destroy()</code> is invoked after all dependencies are
+ removed</li>
+ </ol>
+ In short, this allows you to initialize your instance before it is
+ registered, perform some post-initialization and pre-destruction code
+ as well as final cleanup. If a method is not defined, it simply is not
+ called, so you can decide which one(s) you need. If you need even more
+ fine-grained control, you can register as a service state listener too.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>implementation</code> - the implementation</dd>
+<dt><span class="strong">Returns:</span></dt><dd>this component</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/felix/dm/ComponentStateListener.html" title="interface in org.apache.felix.dm"><code>ComponentStateListener</code></a></dd></dl>
+</li>
+</ul>
+<a name="add(org.apache.felix.dm.Dependency...)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>add</h4>
+<pre><a href="../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> add(<a href="../../../../org/apache/felix/dm/Dependency.html" title="interface in org.apache.felix.dm">Dependency</a>... dependencies)</pre>
+<div class="block">Adds dependency(ies) to this component, atomically. If the component is already active or if you add
+ dependencies from the init method, then you should add all the dependencies in one single add method call
+ (using the varargs argument), because this method may trigger component activation (like
+ the ServiceTracker.open() method does).</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dependencies</code> - the dependencies to add.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>this component</dd></dl>
+</li>
+</ul>
+<a name="remove(org.apache.felix.dm.Dependency)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>remove</h4>
+<pre><a href="../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> remove(<a href="../../../../org/apache/felix/dm/Dependency.html" title="interface in org.apache.felix.dm">Dependency</a> d)</pre>
+<div class="block">Removes a dependency from the component.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>d</code> - the dependency to remove</dd>
+<dt><span class="strong">Returns:</span></dt><dd>this component</dd></dl>
+</li>
+</ul>
+<a name="add(org.apache.felix.dm.ComponentStateListener)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>add</h4>
+<pre><a href="../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> add(<a href="../../../../org/apache/felix/dm/ComponentStateListener.html" title="interface in org.apache.felix.dm">ComponentStateListener</a> listener)</pre>
+<div class="block">Adds a component state listener to this component.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>listener</code> - the state listener</dd></dl>
+</li>
+</ul>
+<a name="remove(org.apache.felix.dm.ComponentStateListener)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>remove</h4>
+<pre><a href="../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> remove(<a href="../../../../org/apache/felix/dm/ComponentStateListener.html" title="interface in org.apache.felix.dm">ComponentStateListener</a> listener)</pre>
+<div class="block">Removes a component state listener from this component.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>listener</code> - the state listener</dd></dl>
+</li>
+</ul>
+<a name="setInterface(java.lang.String, java.util.Dictionary)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setInterface</h4>
+<pre><a href="../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> setInterface(java.lang.String serviceName,
+ java.util.Dictionary<?,?> properties)</pre>
+<div class="block">Sets the public interface under which this component should be registered
+ in the OSGi service registry.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>serviceName</code> - the name of the service interface</dd><dd><code>properties</code> - the properties for this service</dd>
+<dt><span class="strong">Returns:</span></dt><dd>this component</dd></dl>
+</li>
+</ul>
+<a name="setInterface(java.lang.String[], java.util.Dictionary)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setInterface</h4>
+<pre><a href="../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> setInterface(java.lang.String[] serviceNames,
+ java.util.Dictionary<?,?> properties)</pre>
+<div class="block">Sets the public interfaces under which this component should be registered
+ in the OSGi service registry.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>serviceNames</code> - the names of the service interface</dd><dd><code>properties</code> - the properties for these services</dd>
+<dt><span class="strong">Returns:</span></dt><dd>this component</dd></dl>
+</li>
+</ul>
+<a name="setAutoConfig(java.lang.Class, boolean)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setAutoConfig</h4>
+<pre><a href="../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> setAutoConfig(java.lang.Class<?> clazz,
+ boolean autoConfig)</pre>
+<div class="block">Configures auto configuration of injected classes in the component instance.
+ The following injections are currently performed, unless you explicitly
+ turn them off:
+ <dl>
+ <dt>BundleContext</dt><dd>the bundle context of the bundle</dd>
+ <dt>ServiceRegistration</dt><dd>the service registration used to register your service</dd>
+ <dt>DependencyManager</dt><dd>the dependency manager instance</dd>
+ <dt>Component</dt><dd>the component instance of the dependency manager</dd>
+ </dl></div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>clazz</code> - the class (from the list above)</dd><dd><code>autoConfig</code> - <code>false</code> to turn off auto configuration</dd></dl>
+</li>
+</ul>
+<a name="setAutoConfig(java.lang.Class, java.lang.String)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setAutoConfig</h4>
+<pre><a href="../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> setAutoConfig(java.lang.Class<?> clazz,
+ java.lang.String instanceName)</pre>
+<div class="block">Configures auto configuration of injected classes in the component instance.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>clazz</code> - the class (from the list above)</dd><dd><code>instanceName</code> - the name of the instance to inject the class into</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/felix/dm/Component.html#setAutoConfig(java.lang.Class,%20boolean)"><code>setAutoConfig(Class, boolean)</code></a></dd></dl>
+</li>
+</ul>
+<a name="getServiceRegistration()">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getServiceRegistration</h4>
+<pre>ServiceRegistration getServiceRegistration()</pre>
+<div class="block">Returns the service registration for this component. The method
+ will return <code>null</code> if no service registration is
+ available, for example if this component is not registered as a
+ service at all.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>the service registration</dd></dl>
+</li>
+</ul>
+<a name="getInstance()">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getInstance</h4>
+<pre><T> T getInstance()</pre>
+<div class="block">Returns the instance that make up this component. If the component has a composition of instances,
+ then the first instance of the composition is returned. Null is returned if the component has not
+ even been instantiated.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>the component instances</dd></dl>
+</li>
+</ul>
+<a name="getInstances()">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getInstances</h4>
+<pre>java.lang.Object[] getInstances()</pre>
+<div class="block">Returns the composition instances that make up this component, or just the
+ component instance if it does not have a composition, or an empty array if
+ the component has not even been instantiated.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>the component instances</dd></dl>
+</li>
+</ul>
+<a name="getServiceProperties()">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getServiceProperties</h4>
+<pre><K,V> java.util.Dictionary<K,V> getServiceProperties()</pre>
+<div class="block">Returns the service properties associated with the component.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>the properties or <code>null</code> if there are none</dd></dl>
+</li>
+</ul>
+<a name="setServiceProperties(java.util.Dictionary)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setServiceProperties</h4>
+<pre><a href="../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> setServiceProperties(java.util.Dictionary<?,?> serviceProperties)</pre>
+<div class="block">Sets the service properties associated with the component. If the service
+ was already registered, it will be updated.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>serviceProperties</code> - the properties</dd></dl>
+</li>
+</ul>
+<a name="setCallbacks(java.lang.String, java.lang.String, java.lang.String, java.lang.String)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setCallbacks</h4>
+<pre><a href="../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> setCallbacks(java.lang.String init,
+ java.lang.String start,
+ java.lang.String stop,
+ java.lang.String destroy)</pre>
+<div class="block">Sets the names of the methods used as callbacks. These methods, when found, are
+ invoked as part of the life cycle management of the component implementation. The
+ dependency manager will look for a method of this name with the following signatures,
+ in this order:
+ <ol>
+ <li>method(Component component)</li>
+ <li>method()</li>
+ </ol></div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>init</code> - the name of the init method</dd><dd><code>start</code> - the name of the start method</dd><dd><code>stop</code> - the name of the stop method</dd><dd><code>destroy</code> - the name of the destroy method</dd>
+<dt><span class="strong">Returns:</span></dt><dd>the component</dd></dl>
+</li>
+</ul>
+<a name="setCallbacks(java.lang.Object, java.lang.String, java.lang.String, java.lang.String, java.lang.String)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setCallbacks</h4>
+<pre><a href="../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> setCallbacks(java.lang.Object instance,
+ java.lang.String init,
+ java.lang.String start,
+ java.lang.String stop,
+ java.lang.String destroy)</pre>
+<div class="block">Sets the names of the methods used as callbacks. These methods, when found, are
+ invoked on the specified instance as part of the life cycle management of the component
+ implementation.
+ <p>
+ See setCallbacks(String init, String start, String stop, String destroy) for more
+ information on the signatures. Specifying an instance means you can create a manager
+ that will be invoked whenever the life cycle of a component changes and this manager
+ can then decide how to expose this life cycle to the actual component, offering an
+ important indirection when developing your own component models.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>this component</dd></dl>
+</li>
+</ul>
+<a name="setFactory(java.lang.Object, java.lang.String)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setFactory</h4>
+<pre><a href="../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> setFactory(java.lang.Object factory,
+ java.lang.String createMethod)</pre>
+<div class="block">Sets the factory to use to create the implementation. You can specify
+ both the factory class and method to invoke. The method should return
+ the implementation, and can use any method to create it. Actually, this
+ can be used together with <code>setComposition</code> to create a
+ composition of instances that work together to implement a component. The
+ factory itself can also be instantiated lazily by not specifying an
+ instance, but a <code>Class</code>.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>factory</code> - the factory instance or class</dd><dd><code>createMethod</code> - the name of the create method</dd>
+<dt><span class="strong">Returns:</span></dt><dd>this component</dd></dl>
+</li>
+</ul>
+<a name="setFactory(java.lang.String)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setFactory</h4>
+<pre><a href="../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> setFactory(java.lang.String createMethod)</pre>
+<div class="block">Sets the factory to use to create the implementation. You specify the
+ method to invoke. The method should return the implementation, and can
+ use any method to create it. Actually, this can be used together with
+ <code>setComposition</code> to create a composition of instances that
+ work together to implement a component.
+ <p>
+ Note that currently, there is no default for the factory, so please use
+ <code>setFactory(factory, createMethod)</code> instead.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>createMethod</code> - the name of the create method</dd>
+<dt><span class="strong">Returns:</span></dt><dd>this component</dd></dl>
+</li>
+</ul>
+<a name="setComposition(java.lang.Object, java.lang.String)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setComposition</h4>
+<pre><a href="../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> setComposition(java.lang.Object instance,
+ java.lang.String getMethod)</pre>
+<div class="block">Sets the instance and method to invoke to get back all instances that
+ are part of a composition and need dependencies injected. All of them
+ will be searched for any of the dependencies. The method that is
+ invoked must return an <code>Object[]</code>.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>instance</code> - the instance that has the method</dd><dd><code>getMethod</code> - the method to invoke</dd>
+<dt><span class="strong">Returns:</span></dt><dd>this component</dd></dl>
+</li>
+</ul>
+<a name="setComposition(java.lang.String)">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setComposition</h4>
+<pre><a href="../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> setComposition(java.lang.String getMethod)</pre>
+<div class="block">Sets the method to invoke on the service implementation to get back all
+ instances that are part of a composition and need dependencies injected.
+ All of them will be searched for any of the dependencies. The method that
+ is invoked must return an <code>Object[]</code>.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>getMethod</code> - the method to invoke</dd>
+<dt><span class="strong">Returns:</span></dt><dd>this component</dd></dl>
+</li>
+</ul>
+<a name="getDependencyManager()">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getDependencyManager</h4>
+<pre><a href="../../../../org/apache/felix/dm/DependencyManager.html" title="class in org.apache.felix.dm">DependencyManager</a> getDependencyManager()</pre>
+<div class="block">Returns the dependency manager associated with this component.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>the dependency manager associated with this component.</dd></dl>
+</li>
+</ul>
+<a name="getComponentDeclaration()">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getComponentDeclaration</h4>
+<pre><a href="../../../../org/apache/felix/dm/ComponentDeclaration.html" title="interface in org.apache.felix.dm">ComponentDeclaration</a> getComponentDeclaration()</pre>
+<div class="block">Returns the component description (dependencies, service provided, etc ...).</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>the component description (dependencies, service provided, etc ...).</dd></dl>
+</li>
+</ul>
+<a name="setDebug(java.lang.String)">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>setDebug</h4>
+<pre><a href="../../../../org/apache/felix/dm/Component.html" title="interface in org.apache.felix.dm">Component</a> setDebug(java.lang.String label)</pre>
+<div class="block">Activate debug for this component. Informations related to dependency processing will be displayed
+ using osgi log service, our to standard output if no log service is currently available.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>label</code> - </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><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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/BundleDependency.html" title="interface in org.apache.felix.dm"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/felix/dm/ComponentDeclaration.html" title="interface in org.apache.felix.dm"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/felix/dm/Component.html" target="_top">Frames</a></li>
+<li><a href="Component.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>
Added: felix/site/trunk/content/apidocs/dependencymanager/r2/org/apache/felix/dm/ComponentDeclaration.html
URL: http://svn.apache.org/viewvc/felix/site/trunk/content/apidocs/dependencymanager/r2/org/apache/felix/dm/ComponentDeclaration.html?rev=1681877&view=auto
==============================================================================
--- felix/site/trunk/content/apidocs/dependencymanager/r2/org/apache/felix/dm/ComponentDeclaration.html (added)
+++ felix/site/trunk/content/apidocs/dependencymanager/r2/org/apache/felix/dm/ComponentDeclaration.html Tue May 26 22:06:46 2015
@@ -0,0 +1,428 @@
+<!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 (version 1.7.0_75) on Wed May 27 00:04:13 CEST 2015 -->
+<title>ComponentDeclaration</title>
+<meta name="date" content="2015-05-27">
+<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="ComponentDeclaration";
+ }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!-- -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><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/Component.html" title="interface in org.apache.felix.dm"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/felix/dm/ComponentDependencyDeclaration.html" title="interface in org.apache.felix.dm"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/felix/dm/ComponentDeclaration.html" target="_top">Frames</a></li>
+<li><a href="ComponentDeclaration.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><a href="#field_summary">Field</a> | </li>
+<li>Constr | </li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li><a href="#field_detail">Field</a> | </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</div>
+<h2 title="Interface ComponentDeclaration" class="title">Interface ComponentDeclaration</h2>
+</div>
+<div class="contentContainer">
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public interface <span class="strong">ComponentDeclaration</span></pre>
+<div class="block">Describes a component. Component declarations form descriptions of components
+ that are managed by the dependency manager. They can be used to query their state
+ for monitoring tools. The dependency manager shell command is an example of
+ such a tool.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- =========== FIELD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field_summary">
+<!-- -->
+</a>
+<h3>Field Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
+<caption><span>Fields</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Field and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static java.lang.String[]</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/ComponentDeclaration.html#STATE_NAMES">STATE_NAMES</a></strong></code>
+<div class="block">Names for the states of this component.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static int</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/ComponentDeclaration.html#STATE_REGISTERED">STATE_REGISTERED</a></strong></code>
+<div class="block">State constant for a registered component.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static int</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/ComponentDeclaration.html#STATE_UNREGISTERED">STATE_UNREGISTERED</a></strong></code>
+<div class="block">State constant for an unregistered component.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>BundleContext</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/ComponentDeclaration.html#getBundleContext()">getBundleContext</a></strong>()</code>
+<div class="block">Returns the bundle context associated with this component.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>java.util.Map<java.lang.String,java.lang.Long></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/ComponentDeclaration.html#getCallbacksTime()">getCallbacksTime</a></strong>()</code>
+<div class="block">Returns the execution time in nanos for each component callbacks (init/start/stop/destroy)</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>java.lang.String</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/ComponentDeclaration.html#getClassName()">getClassName</a></strong>()</code>
+<div class="block">Returns the class name of the Component implementation.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/felix/dm/ComponentDependencyDeclaration.html" title="interface in org.apache.felix.dm">ComponentDependencyDeclaration</a>[]</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/ComponentDeclaration.html#getComponentDependencies()">getComponentDependencies</a></strong>()</code>
+<div class="block">Returns a list of dependencies associated with this component.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/felix/dm/DependencyManager.html" title="class in org.apache.felix.dm">DependencyManager</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/ComponentDeclaration.html#getDependencyManager()">getDependencyManager</a></strong>()</code>
+<div class="block">Returns the dependency manager for this component</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>long</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/ComponentDeclaration.html#getId()">getId</a></strong>()</code>
+<div class="block">Returns the instance id of this component.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>java.lang.String</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/ComponentDeclaration.html#getName()">getName</a></strong>()</code>
+<div class="block">Returns the description of this component (the classname or the provided service(s))</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><K,V> java.util.Dictionary<K,V></code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/ComponentDeclaration.html#getServiceProperties()">getServiceProperties</a></strong>()</code>
+<div class="block">Returns the service properties, or null</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>java.lang.String[]</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/ComponentDeclaration.html#getServices()">getServices</a></strong>()</code>
+<div class="block">Returns the service optionally provided by this component, or null</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../../../../org/apache/felix/dm/ComponentDeclaration.html#getState()">getState</a></strong>()</code>
+<div class="block">Returns the state of this component.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ FIELD DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field_detail">
+<!-- -->
+</a>
+<h3>Field Detail</h3>
+<a name="STATE_NAMES">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>STATE_NAMES</h4>
+<pre>static final java.lang.String[] STATE_NAMES</pre>
+<div class="block">Names for the states of this component.</div>
+</li>
+</ul>
+<a name="STATE_UNREGISTERED">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>STATE_UNREGISTERED</h4>
+<pre>static final int STATE_UNREGISTERED</pre>
+<div class="block">State constant for an unregistered component.</div>
+<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.felix.dm.ComponentDeclaration.STATE_UNREGISTERED">Constant Field Values</a></dd></dl>
+</li>
+</ul>
+<a name="STATE_REGISTERED">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>STATE_REGISTERED</h4>
+<pre>static final int STATE_REGISTERED</pre>
+<div class="block">State constant for a registered component.</div>
+<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.felix.dm.ComponentDeclaration.STATE_REGISTERED">Constant Field Values</a></dd></dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="getComponentDependencies()">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getComponentDependencies</h4>
+<pre><a href="../../../../org/apache/felix/dm/ComponentDependencyDeclaration.html" title="interface in org.apache.felix.dm">ComponentDependencyDeclaration</a>[] getComponentDependencies()</pre>
+<div class="block">Returns a list of dependencies associated with this component.</div>
+</li>
+</ul>
+<a name="getName()">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getName</h4>
+<pre>java.lang.String getName()</pre>
+<div class="block">Returns the description of this component (the classname or the provided service(s))</div>
+</li>
+</ul>
+<a name="getClassName()">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getClassName</h4>
+<pre>java.lang.String getClassName()</pre>
+<div class="block">Returns the class name of the Component implementation.</div>
+</li>
+</ul>
+<a name="getServices()">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getServices</h4>
+<pre>java.lang.String[] getServices()</pre>
+<div class="block">Returns the service optionally provided by this component, or null</div>
+</li>
+</ul>
+<a name="getServiceProperties()">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getServiceProperties</h4>
+<pre><K,V> java.util.Dictionary<K,V> getServiceProperties()</pre>
+<div class="block">Returns the service properties, or null</div>
+</li>
+</ul>
+<a name="getState()">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getState</h4>
+<pre>int getState()</pre>
+<div class="block">Returns the state of this component.</div>
+</li>
+</ul>
+<a name="getId()">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getId</h4>
+<pre>long getId()</pre>
+<div class="block">Returns the instance id of this component.</div>
+</li>
+</ul>
+<a name="getBundleContext()">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getBundleContext</h4>
+<pre>BundleContext getBundleContext()</pre>
+<div class="block">Returns the bundle context associated with this component.</div>
+</li>
+</ul>
+<a name="getDependencyManager()">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getDependencyManager</h4>
+<pre><a href="../../../../org/apache/felix/dm/DependencyManager.html" title="class in org.apache.felix.dm">DependencyManager</a> getDependencyManager()</pre>
+<div class="block">Returns the dependency manager for this component</div>
+</li>
+</ul>
+<a name="getCallbacksTime()">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>getCallbacksTime</h4>
+<pre>java.util.Map<java.lang.String,java.lang.Long> getCallbacksTime()</pre>
+<div class="block">Returns the execution time in nanos for each component callbacks (init/start/stop/destroy)</div>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!-- -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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/Component.html" title="interface in org.apache.felix.dm"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/felix/dm/ComponentDependencyDeclaration.html" title="interface in org.apache.felix.dm"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/felix/dm/ComponentDeclaration.html" target="_top">Frames</a></li>
+<li><a href="ComponentDeclaration.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><a href="#field_summary">Field</a> | </li>
+<li>Constr | </li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li><a href="#field_detail">Field</a> | </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>