blob: 6ce469cd5adb6f23b65131fb1dfa283152066ebb [file] [log] [blame]
<!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_25) on Sat May 17 12:14:25 CEST 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>ComponentsBundleProcessor (Apache Felix iPOJO ~ JavaDoc 1.12.0 API)</title>
<meta name="date" content="2014-05-17">
<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="ComponentsBundleProcessor (Apache Felix iPOJO ~ JavaDoc 1.12.0 API)";
}
//-->
</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="class-use/ComponentsBundleProcessor.html">Use</a></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>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ChainedBundleProcessor.html" title="class in org.apache.felix.ipojo.extender.internal.processor"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.ComponentsAndInstances.html" title="class in org.apache.felix.ipojo.extender.internal.processor"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html" target="_top">Frames</a></li>
<li><a href="ComponentsBundleProcessor.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:&nbsp;</li>
<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</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.ipojo.extender.internal.processor</div>
<h2 title="Class ComponentsBundleProcessor" class="title">Class ComponentsBundleProcessor</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.felix.ipojo.extender.internal.processor.ComponentsBundleProcessor</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/BundleProcessor.html" title="interface in org.apache.felix.ipojo.extender.internal">BundleProcessor</a>, <a href="../../../../../../../org/apache/felix/ipojo/extender/internal/Lifecycle.html" title="interface in org.apache.felix.ipojo.extender.internal">Lifecycle</a></dd>
</dl>
<hr>
<br>
<pre>public class <a href="../../../../../../../src-html/org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#line.39">ComponentsBundleProcessor</a>
extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="../../../../../../../org/apache/felix/ipojo/extender/internal/BundleProcessor.html" title="interface in org.apache.felix.ipojo.extender.internal">BundleProcessor</a></pre>
<div class="block">Processor handling the <a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#IPOJO_HEADER"><code>IPOJO_HEADER</code></a> and <a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#IPOJO_HEADER_ALT"><code>IPOJO_HEADER_ALT</code></a>
header from the bundle manifest.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested_class_summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private static class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.ComponentsAndInstances.html" title="class in org.apache.felix.ipojo.extender.internal.processor">ComponentsBundleProcessor.ComponentsAndInstances</a></strong></code>
<div class="block">Container storing the components and instances declared by a bundle.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- =========== 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">&nbsp;</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 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#COMPONENT_INSTANCE_ATTRIBUTE">COMPONENT_INSTANCE_ATTRIBUTE</a></strong></code>
<div class="block">The attribute used in instance configuration specifying the targeted component (i.e.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#IPOJO_HEADER">IPOJO_HEADER</a></strong></code>
<div class="block">iPOJO Component Type and Instance declaration header.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#IPOJO_HEADER_ALT">IPOJO_HEADER_ALT</a></strong></code>
<div class="block">iPOJO Component Type and Instance declaration header
(alternative).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="../../../../../../../org/apache/felix/ipojo/util/Log.html" title="interface in org.apache.felix.ipojo.util">Log</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#m_logger">m_logger</a></strong></code>
<div class="block">The logger.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;Bundle,<a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.ComponentsAndInstances.html" title="class in org.apache.felix.ipojo.extender.internal.processor">ComponentsBundleProcessor.ComponentsAndInstances</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#m_registry">m_registry</a></strong></code>
<div class="block">Registry storing the bundle to components and instances declared within this bundle.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#ComponentsBundleProcessor(org.apache.felix.ipojo.util.Log)">ComponentsBundleProcessor</a></strong>(<a href="../../../../../../../org/apache/felix/ipojo/util/Log.html" title="interface in org.apache.felix.ipojo.util">Log</a>&nbsp;logger)</code>
<div class="block">Creates the component bundle processor.</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">&nbsp;</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>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#activate(Bundle)">activate</a></strong>(Bundle&nbsp;bundle)</code>
<div class="block">A bundle is starting.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#deactivate(Bundle)">deactivate</a></strong>(Bundle&nbsp;bundle)</code>
<div class="block">A bundle is stopping.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.ComponentsAndInstances.html" title="class in org.apache.felix.ipojo.extender.internal.processor">ComponentsBundleProcessor.ComponentsAndInstances</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#getComponentsAndInstances(Bundle)">getComponentsAndInstances</a></strong>(Bundle&nbsp;bundle)</code>
<div class="block">Gets the <a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.ComponentsAndInstances.html" title="class in org.apache.felix.ipojo.extender.internal.processor"><code>ComponentsBundleProcessor.ComponentsAndInstances</code></a> declared by the given bundle.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#handleInstanceDeclaration(Bundle, java.util.Dictionary)">handleInstanceDeclaration</a></strong>(Bundle&nbsp;bundle,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">Dictionary</a>&nbsp;instance)</code>
<div class="block">Extracts and builds the declaration attached to an instance.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#handleTypeDeclaration(Bundle, org.apache.felix.ipojo.metadata.Element)">handleTypeDeclaration</a></strong>(Bundle&nbsp;bundle,
<a href="../../../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a>&nbsp;metadata)</code>
<div class="block">Adds a component factory to the factory list.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#parse(Bundle, java.lang.String)">parse</a></strong>(Bundle&nbsp;bundle,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;components)</code>
<div class="block">Parses the internal metadata (from the manifest
(in the iPOJO-Components property)).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#start()">start</a></strong>()</code>
<div class="block">Start the service.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#stop()">stop</a></strong>()</code>
<div class="block">Stop the service.</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&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</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="IPOJO_HEADER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>IPOJO_HEADER</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../../src-html/org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#line.44">IPOJO_HEADER</a></pre>
<div class="block">iPOJO Component Type and Instance declaration header.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../../constant-values.html#org.apache.felix.ipojo.extender.internal.processor.ComponentsBundleProcessor.IPOJO_HEADER">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="IPOJO_HEADER_ALT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>IPOJO_HEADER_ALT</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../../src-html/org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#line.52">IPOJO_HEADER_ALT</a></pre>
<div class="block">iPOJO Component Type and Instance declaration header
(alternative).
This header was introduced because of BND supporting only header
starting with an uppercase.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../../constant-values.html#org.apache.felix.ipojo.extender.internal.processor.ComponentsBundleProcessor.IPOJO_HEADER_ALT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="COMPONENT_INSTANCE_ATTRIBUTE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>COMPONENT_INSTANCE_ATTRIBUTE</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../../src-html/org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#line.57">COMPONENT_INSTANCE_ATTRIBUTE</a></pre>
<div class="block">The attribute used in instance configuration specifying the targeted component (i.e. factory).</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../../constant-values.html#org.apache.felix.ipojo.extender.internal.processor.ComponentsBundleProcessor.COMPONENT_INSTANCE_ATTRIBUTE">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="m_logger">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_logger</h4>
<pre>private final&nbsp;<a href="../../../../../../../org/apache/felix/ipojo/util/Log.html" title="interface in org.apache.felix.ipojo.util">Log</a> <a href="../../../../../../../src-html/org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#line.62">m_logger</a></pre>
<div class="block">The logger.</div>
</li>
</ul>
<a name="m_registry">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>m_registry</h4>
<pre>private final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;Bundle,<a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.ComponentsAndInstances.html" title="class in org.apache.felix.ipojo.extender.internal.processor">ComponentsBundleProcessor.ComponentsAndInstances</a>&gt; <a href="../../../../../../../src-html/org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#line.67">m_registry</a></pre>
<div class="block">Registry storing the bundle to components and instances declared within this bundle.</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="ComponentsBundleProcessor(org.apache.felix.ipojo.util.Log)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ComponentsBundleProcessor</h4>
<pre>public&nbsp;<a href="../../../../../../../src-html/org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#line.74">ComponentsBundleProcessor</a>(<a href="../../../../../../../org/apache/felix/ipojo/util/Log.html" title="interface in org.apache.felix.ipojo.util">Log</a>&nbsp;logger)</pre>
<div class="block">Creates the component bundle processor.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>logger</code> - the logger.</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="activate(Bundle)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>activate</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../../../src-html/org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#line.83">activate</a>(Bundle&nbsp;bundle)</pre>
<div class="block">A bundle is starting.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/BundleProcessor.html#activate(Bundle)">activate</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/BundleProcessor.html" title="interface in org.apache.felix.ipojo.extender.internal">BundleProcessor</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>bundle</code> - the bundle</dd></dl>
</li>
</ul>
<a name="deactivate(Bundle)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deactivate</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../../../src-html/org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#line.109">deactivate</a>(Bundle&nbsp;bundle)</pre>
<div class="block">A bundle is stopping.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/BundleProcessor.html#deactivate(Bundle)">deactivate</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/BundleProcessor.html" title="interface in org.apache.felix.ipojo.extender.internal">BundleProcessor</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>bundle</code> - the bundle</dd></dl>
</li>
</ul>
<a name="start()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>start</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../../../src-html/org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#line.119">start</a>()</pre>
<div class="block">Start the service.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/Lifecycle.html#start()">start</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/Lifecycle.html" title="interface in org.apache.felix.ipojo.extender.internal">Lifecycle</a></code></dd>
</dl>
</li>
</ul>
<a name="stop()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stop</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../../../src-html/org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#line.128">stop</a>()</pre>
<div class="block">Stop the service.
<p/>
This method cleans up all created factories and instances.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/Lifecycle.html#stop()">stop</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/Lifecycle.html" title="interface in org.apache.felix.ipojo.extender.internal">Lifecycle</a></code></dd>
</dl>
</li>
</ul>
<a name="parse(Bundle, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parse</h4>
<pre>private&nbsp;void&nbsp;<a href="../../../../../../../src-html/org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#line.142">parse</a>(Bundle&nbsp;bundle,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;components)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
<a href="../../../../../../../org/apache/felix/ipojo/parser/ParseException.html" title="class in org.apache.felix.ipojo.parser">ParseException</a></pre>
<div class="block">Parses the internal metadata (from the manifest
(in the iPOJO-Components property)). This methods
creates factories and add instances to the instance creator.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>bundle</code> - the owner bundle.</dd><dd><code>components</code> - The iPOJO Header String.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if the manifest can not be found</dd>
<dd><code><a href="../../../../../../../org/apache/felix/ipojo/parser/ParseException.html" title="class in org.apache.felix.ipojo.parser">ParseException</a></code> - if the parsing process failed</dd></dl>
</li>
</ul>
<a name="handleInstanceDeclaration(Bundle, java.util.Dictionary)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleInstanceDeclaration</h4>
<pre>private&nbsp;void&nbsp;<a href="../../../../../../../src-html/org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#line.164">handleInstanceDeclaration</a>(Bundle&nbsp;bundle,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">Dictionary</a>&nbsp;instance)</pre>
<div class="block">Extracts and builds the declaration attached to an instance.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>bundle</code> - the bundle declaring the instance</dd><dd><code>instance</code> - the instance configuration (parsed from the header)</dd></dl>
</li>
</ul>
<a name="handleTypeDeclaration(Bundle, org.apache.felix.ipojo.metadata.Element)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleTypeDeclaration</h4>
<pre>private&nbsp;void&nbsp;<a href="../../../../../../../src-html/org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#line.183">handleTypeDeclaration</a>(Bundle&nbsp;bundle,
<a href="../../../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a>&nbsp;metadata)</pre>
<div class="block">Adds a component factory to the factory list.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>metadata</code> - the new component metadata.</dd><dd><code>bundle</code> - the bundle.</dd></dl>
</li>
</ul>
<a name="getComponentsAndInstances(Bundle)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getComponentsAndInstances</h4>
<pre>private&nbsp;<a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.ComponentsAndInstances.html" title="class in org.apache.felix.ipojo.extender.internal.processor">ComponentsBundleProcessor.ComponentsAndInstances</a>&nbsp;<a href="../../../../../../../src-html/org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#line.198">getComponentsAndInstances</a>(Bundle&nbsp;bundle)</pre>
<div class="block">Gets the <a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.ComponentsAndInstances.html" title="class in org.apache.felix.ipojo.extender.internal.processor"><code>ComponentsBundleProcessor.ComponentsAndInstances</code></a> declared by the given bundle.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>bundle</code> - the bundle</dd>
<dt><span class="strong">Returns:</span></dt><dd>the set of component and instances declared by the bundle, <code>null</code> otherwise</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="class-use/ComponentsBundleProcessor.html">Use</a></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>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ChainedBundleProcessor.html" title="class in org.apache.felix.ipojo.extender.internal.processor"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.ComponentsAndInstances.html" title="class in org.apache.felix.ipojo.extender.internal.processor"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html" target="_top">Frames</a></li>
<li><a href="ComponentsBundleProcessor.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:&nbsp;</li>
<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All rights reserved.</small></p>
</body>
</html>