blob: bc87638e95078d5460819b1cd15c17e8d7f7d63b [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 (1.8.0) on Wed Dec 24 15:58:26 CET 2014 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ComponentsBundleProcessor (Apache Felix iPOJO ~ JavaDoc 1.12.1 API)</title>
<meta name="date" content="2014-12-24">
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ComponentsBundleProcessor (Apache Felix iPOJO ~ JavaDoc 1.12.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="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="typeNameLink">Prev&nbsp;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="typeNameLink">Next&nbsp;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&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../../allclasses-noframe.html">All&nbsp;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/8/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/8/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="memberSummary" 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><span class="memberNameLink"><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></span></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="memberSummary" 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/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#COMPONENT_INSTANCE_ATTRIBUTE">COMPONENT_INSTANCE_ATTRIBUTE</a></span></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/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#IPOJO_HEADER">IPOJO_HEADER</a></span></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/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#IPOJO_HEADER_ALT">IPOJO_HEADER_ALT</a></span></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><span class="memberNameLink"><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#m_logger">m_logger</a></span></code>
<div class="block">The logger.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/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><span class="memberNameLink"><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#m_registry">m_registry</a></span></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="memberSummary" 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><span class="memberNameLink"><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#ComponentsBundleProcessor-org.apache.felix.ipojo.util.Log-">ComponentsBundleProcessor</a></span>(<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="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#activate-Bundle-">activate</a></span>(Bundle&nbsp;bundle)</code>
<div class="block">A bundle is starting.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#deactivate-Bundle-">deactivate</a></span>(Bundle&nbsp;bundle)</code>
<div class="block">A bundle is stopping.</div>
</td>
</tr>
<tr id="i2" 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><span class="memberNameLink"><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#getComponentsAndInstances-Bundle-">getComponentsAndInstances</a></span>(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 id="i3" class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#handleInstanceDeclaration-Bundle-java.util.Dictionary-">handleInstanceDeclaration</a></span>(Bundle&nbsp;bundle,
<a href="http://docs.oracle.com/javase/8/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 id="i4" class="altColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#handleTypeDeclaration-Bundle-org.apache.felix.ipojo.metadata.Element-">handleTypeDeclaration</a></span>(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 id="i5" class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#parse-Bundle-java.lang.String-">parse</a></span>(Bundle&nbsp;bundle,
<a href="http://docs.oracle.com/javase/8/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 id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#start--">start</a></span>()</code>
<div class="block">Start the service.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/processor/ComponentsBundleProcessor.html#stop--">stop</a></span>()</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/8/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/8/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/8/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/8/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/8/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/8/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/8/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/8/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/8/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/8/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/8/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/8/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/8/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="seeLabel">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/8/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="seeLabel">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/8/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="seeLabel">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/8/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="paramLabel">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><span class="overrideSpecifyLabel">Specified by:</span></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="paramLabel">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><span class="overrideSpecifyLabel">Specified by:</span></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="paramLabel">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><span class="overrideSpecifyLabel">Specified by:</span></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><span class="overrideSpecifyLabel">Specified by:</span></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/8/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/8/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="paramLabel">Parameters:</span></dt>
<dd><code>bundle</code> - the owner bundle.</dd>
<dd><code>components</code> - The iPOJO Header String.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/8/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/8/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="paramLabel">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="paramLabel">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="paramLabel">Parameters:</span></dt>
<dd><code>bundle</code> - the bundle</dd>
<dt><span class="returnLabel">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>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="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="typeNameLink">Prev&nbsp;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="typeNameLink">Next&nbsp;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&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../../allclasses-noframe.html">All&nbsp;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>