blob: 3680bf0a6aadbd829e0741e14ef7a4d6c6db38d3 [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:26 CEST 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>CompositeManager (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="CompositeManager (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/CompositeManager.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/composite/CompositeInstanceDescription.html" title="class in org.apache.felix.ipojo.composite"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../org/apache/felix/ipojo/composite/CompositeServiceContext.html" title="class in org.apache.felix.ipojo.composite"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/felix/ipojo/composite/CompositeManager.html" target="_top">Frames</a></li>
<li><a href="CompositeManager.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>Nested&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.composite</div>
<h2 title="Class CompositeManager" class="title">Class CompositeManager</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.composite.CompositeManager</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/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a>, <a href="../../../../../org/apache/felix/ipojo/InstanceStateListener.html" title="interface in org.apache.felix.ipojo">InstanceStateListener</a></dd>
</dl>
<hr>
<br>
<pre>public class <a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.46">CompositeManager</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/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a>, <a href="../../../../../org/apache/felix/ipojo/InstanceStateListener.html" title="interface in org.apache.felix.ipojo">InstanceStateListener</a></pre>
<div class="block">iPOJO Composite manager. The composite manager class manages one instance of
a component type which is a composition. It manages component lifecycle, and
handlers...</div>
<dl><dt><span class="strong">Author:</span></dt>
<dd><a href="mailto:dev@felix.apache.org">Felix Project Team</a></dd></dl>
</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">&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>private BundleContext</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeManager.html#m_context">m_context</a></strong></code>
<div class="block">The context of the component.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="../../../../../org/apache/felix/ipojo/composite/CompositeInstanceDescription.html" title="class in org.apache.felix.ipojo.composite">CompositeInstanceDescription</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeManager.html#m_description">m_description</a></strong></code>
<div class="block">The instance description.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../../../../../org/apache/felix/ipojo/composite/CompositeFactory.html" title="class in org.apache.felix.ipojo.composite">CompositeFactory</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeManager.html#m_factory">m_factory</a></strong></code>
<div class="block">Parent factory (ComponentFactory).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="../../../../../org/apache/felix/ipojo/HandlerManager.html" title="class in org.apache.felix.ipojo">HandlerManager</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeManager.html#m_handlers">m_handlers</a></strong></code>
<div class="block">Composite Handler list.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../../../../../org/apache/felix/ipojo/composite/CompositeServiceContext.html" title="class in org.apache.felix.ipojo.composite">CompositeServiceContext</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeManager.html#m_internalContext">m_internalContext</a></strong></code>
<div class="block">Internal service context of the composition.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeManager.html#m_listeners">m_listeners</a></strong></code>
<div class="block">Instance State Listener List.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../../../../../org/apache/felix/ipojo/util/Logger.html" title="class in org.apache.felix.ipojo.util">Logger</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeManager.html#m_logger">m_logger</a></strong></code>
<div class="block">Logger.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <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/composite/CompositeManager.html#m_name">m_name</a></strong></code>
<div class="block">Name of the component instance.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeManager.html#m_state">m_state</a></strong></code>
<div class="block">Component state (STOPPED at the beginning).</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_org.apache.felix.ipojo.ComponentInstance">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;org.apache.felix.ipojo.<a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a></h3>
<code><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html#DISPOSED">DISPOSED</a>, <a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html#INVALID">INVALID</a>, <a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html#STOPPED">STOPPED</a>, <a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html#VALID">VALID</a></code></li>
</ul>
</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/composite/CompositeManager.html#CompositeManager(org.apache.felix.ipojo.composite.CompositeFactory, BundleContext, org.apache.felix.ipojo.HandlerManager[])">CompositeManager</a></strong>(<a href="../../../../../org/apache/felix/ipojo/composite/CompositeFactory.html" title="class in org.apache.felix.ipojo.composite">CompositeFactory</a>&nbsp;factory,
BundleContext&nbsp;context,
<a href="../../../../../org/apache/felix/ipojo/HandlerManager.html" title="class in org.apache.felix.ipojo">HandlerManager</a>[]&nbsp;handlers)</code>
<div class="block">Construct a new Component Manager.</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/composite/CompositeManager.html#addCompositeHandler(org.apache.felix.ipojo.HandlerManager)">addCompositeHandler</a></strong>(<a href="../../../../../org/apache/felix/ipojo/HandlerManager.html" title="class in org.apache.felix.ipojo">HandlerManager</a>&nbsp;handler)</code>
<div class="block">Plug the given handler to the current container.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeManager.html#addInstanceStateListener(org.apache.felix.ipojo.InstanceStateListener)">addInstanceStateListener</a></strong>(<a href="../../../../../org/apache/felix/ipojo/InstanceStateListener.html" title="interface in org.apache.felix.ipojo">InstanceStateListener</a>&nbsp;listener)</code>
<div class="block">Add an instance to the created instance list.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeManager.html#configure(org.apache.felix.ipojo.metadata.Element, java.util.Dictionary)">configure</a></strong>(<a href="../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a>&nbsp;metadata,
<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;configuration)</code>
<div class="block">Configure the instance manager.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeManager.html#dispose()">dispose</a></strong>()</code>
<div class="block">Dispose the instance.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/felix/ipojo/composite/CompositeHandler.html" title="class in org.apache.felix.ipojo.composite">CompositeHandler</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeManager.html#getCompositeHandler(java.lang.String)">getCompositeHandler</a></strong>(<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;name)</code>
<div class="block">Return a specified handler.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>BundleContext</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeManager.html#getContext()">getContext</a></strong>()</code>
<div class="block">Get the bundle context used by this instance.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html" title="class in org.apache.felix.ipojo">ComponentFactory</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeManager.html#getFactory()">getFactory</a></strong>()</code>
<div class="block">Get the factory which create this instance.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>BundleContext</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeManager.html#getGlobalContext()">getGlobalContext</a></strong>()</code>
<div class="block">Get the global bundle context.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/felix/ipojo/architecture/InstanceDescription.html" title="class in org.apache.felix.ipojo.architecture">InstanceDescription</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeManager.html#getInstanceDescription()">getInstanceDescription</a></strong>()</code>
<div class="block">Return the instance description of this instance.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><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/composite/CompositeManager.html#getInstanceName()">getInstanceName</a></strong>()</code>
<div class="block">Get the instance name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/felix/ipojo/ServiceContext.html" title="interface in org.apache.felix.ipojo">ServiceContext</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeManager.html#getParentServiceContext()">getParentServiceContext</a></strong>()</code>
<div class="block">Get the parent service context.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/felix/ipojo/composite/CompositeHandler.html" title="class in org.apache.felix.ipojo.composite">CompositeHandler</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeManager.html#getRegistredCompositeHandlers()">getRegistredCompositeHandlers</a></strong>()</code>
<div class="block">REturn the list of handlers plugged on this instance.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/felix/ipojo/ServiceContext.html" title="interface in org.apache.felix.ipojo">ServiceContext</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeManager.html#getServiceContext()">getServiceContext</a></strong>()</code>
<div class="block">Get the internal service context of this instance.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeManager.html#getState()">getState</a></strong>()</code>
<div class="block">Get the actual state of the instance.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeManager.html#isStarted()">isStarted</a></strong>()</code>
<div class="block">Check if the instance is started.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeManager.html#kill()">kill</a></strong>()</code>
<div class="block">Kill the current instance.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeManager.html#reconfigure(java.util.Dictionary)">reconfigure</a></strong>(<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;configuration)</code>
<div class="block">Reconfigure the current instance.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeManager.html#removeInstanceStateListener(org.apache.felix.ipojo.InstanceStateListener)">removeInstanceStateListener</a></strong>(<a href="../../../../../org/apache/felix/ipojo/InstanceStateListener.html" title="interface in org.apache.felix.ipojo">InstanceStateListener</a>&nbsp;listener)</code>
<div class="block">Remove an instance state listener.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeManager.html#setState(int)">setState</a></strong>(int&nbsp;state)</code>
<div class="block">Set the state of the component.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeManager.html#start()">start</a></strong>()</code>
<div class="block">Start the instance manager.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeManager.html#stateChanged(org.apache.felix.ipojo.ComponentInstance, int)">stateChanged</a></strong>(<a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a>&nbsp;instance,
int&nbsp;newState)</code>
<div class="block">State Change listener callback.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeManager.html#stop()">stop</a></strong>()</code>
<div class="block">Stop the instance manager.</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="m_context">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_context</h4>
<pre>private final&nbsp;BundleContext <a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.51">m_context</a></pre>
<div class="block">The context of the component.</div>
</li>
</ul>
<a name="m_factory">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_factory</h4>
<pre>private final&nbsp;<a href="../../../../../org/apache/felix/ipojo/composite/CompositeFactory.html" title="class in org.apache.felix.ipojo.composite">CompositeFactory</a> <a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.56">m_factory</a></pre>
<div class="block">Parent factory (ComponentFactory).</div>
</li>
</ul>
<a name="m_handlers">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_handlers</h4>
<pre>private&nbsp;<a href="../../../../../org/apache/felix/ipojo/HandlerManager.html" title="class in org.apache.felix.ipojo">HandlerManager</a>[] <a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.61">m_handlers</a></pre>
<div class="block">Composite Handler list.</div>
</li>
</ul>
<a name="m_listeners">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_listeners</h4>
<pre>private&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a> <a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.66">m_listeners</a></pre>
<div class="block">Instance State Listener List.</div>
</li>
</ul>
<a name="m_internalContext">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_internalContext</h4>
<pre>private&nbsp;<a href="../../../../../org/apache/felix/ipojo/composite/CompositeServiceContext.html" title="class in org.apache.felix.ipojo.composite">CompositeServiceContext</a> <a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.71">m_internalContext</a></pre>
<div class="block">Internal service context of the composition.</div>
</li>
</ul>
<a name="m_description">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_description</h4>
<pre>private final&nbsp;<a href="../../../../../org/apache/felix/ipojo/composite/CompositeInstanceDescription.html" title="class in org.apache.felix.ipojo.composite">CompositeInstanceDescription</a> <a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.76">m_description</a></pre>
<div class="block">The instance description.</div>
</li>
</ul>
<a name="m_name">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_name</h4>
<pre>private&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/composite/CompositeManager.html#line.81">m_name</a></pre>
<div class="block">Name of the component instance.</div>
</li>
</ul>
<a name="m_state">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_state</h4>
<pre>private&nbsp;int <a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.86">m_state</a></pre>
<div class="block">Component state (STOPPED at the beginning).</div>
</li>
</ul>
<a name="m_logger">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>m_logger</h4>
<pre>private&nbsp;<a href="../../../../../org/apache/felix/ipojo/util/Logger.html" title="class in org.apache.felix.ipojo.util">Logger</a> <a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.91">m_logger</a></pre>
<div class="block">Logger.</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="CompositeManager(org.apache.felix.ipojo.composite.CompositeFactory, BundleContext, org.apache.felix.ipojo.HandlerManager[])">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>CompositeManager</h4>
<pre>public&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.99">CompositeManager</a>(<a href="../../../../../org/apache/felix/ipojo/composite/CompositeFactory.html" title="class in org.apache.felix.ipojo.composite">CompositeFactory</a>&nbsp;factory,
BundleContext&nbsp;context,
<a href="../../../../../org/apache/felix/ipojo/HandlerManager.html" title="class in org.apache.felix.ipojo">HandlerManager</a>[]&nbsp;handlers)</pre>
<div class="block">Construct a new Component Manager.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>factory</code> - : the factory managing the instance manager</dd><dd><code>context</code> - : the bundle context to give to the instance</dd><dd><code>handlers</code> - : the handlers to plug</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="addCompositeHandler(org.apache.felix.ipojo.HandlerManager)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addCompositeHandler</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.114">addCompositeHandler</a>(<a href="../../../../../org/apache/felix/ipojo/HandlerManager.html" title="class in org.apache.felix.ipojo">HandlerManager</a>&nbsp;handler)</pre>
<div class="block">Plug the given handler to the current container.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>handler</code> - : the handler to plug.</dd></dl>
</li>
</ul>
<a name="addInstanceStateListener(org.apache.felix.ipojo.InstanceStateListener)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addInstanceStateListener</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.130">addInstanceStateListener</a>(<a href="../../../../../org/apache/felix/ipojo/InstanceStateListener.html" title="interface in org.apache.felix.ipojo">InstanceStateListener</a>&nbsp;listener)</pre>
<div class="block">Add an instance to the created instance list.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html#addInstanceStateListener(org.apache.felix.ipojo.InstanceStateListener)">addInstanceStateListener</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>listener</code> - : the instance state listener to add.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html#addInstanceStateListener(org.apache.felix.ipojo.InstanceStateListener)"><code>ComponentInstance.addInstanceStateListener(org.apache.felix.ipojo.InstanceStateListener)</code></a></dd></dl>
</li>
</ul>
<a name="configure(org.apache.felix.ipojo.metadata.Element, java.util.Dictionary)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>configure</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.144">configure</a>(<a href="../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a>&nbsp;metadata,
<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;configuration)
throws <a href="../../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></pre>
<div class="block">Configure the instance manager. Stop the existing handler, clear the
handler list, change the metadata, recreate the handler</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>metadata</code> - : the component type metadata</dd><dd><code>configuration</code> - : the configuration of the instance</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></code> - : occurs when the component type are incorrect.</dd></dl>
</li>
</ul>
<a name="dispose()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dispose</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.158">dispose</a>()</pre>
<div class="block">Dispose the instance.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html#dispose()">dispose</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a></code></dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html#dispose()"><code>ComponentInstance.dispose()</code></a></dd></dl>
</li>
</ul>
<a name="getCompositeHandler(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCompositeHandler</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/felix/ipojo/composite/CompositeHandler.html" title="class in org.apache.felix.ipojo.composite">CompositeHandler</a>&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.181">getCompositeHandler</a>(<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;name)</pre>
<div class="block">Return a specified handler.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - : class name of the handler to find</dd>
<dt><span class="strong">Returns:</span></dt><dd>: the handler, or null if not found</dd></dl>
</li>
</ul>
<a name="getContext()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getContext</h4>
<pre>public&nbsp;BundleContext&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.196">getContext</a>()</pre>
<div class="block">Get the bundle context used by this instance.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html#getContext()">getContext</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the parent context of the instance.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html#getContext()"><code>ComponentInstance.getContext()</code></a></dd></dl>
</li>
</ul>
<a name="getFactory()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFactory</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html" title="class in org.apache.felix.ipojo">ComponentFactory</a>&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.205">getFactory</a>()</pre>
<div class="block">Get the factory which create this instance.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html#getFactory()">getFactory</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the factory of the component</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html#getFactory()"><code>ComponentInstance.getFactory()</code></a></dd></dl>
</li>
</ul>
<a name="getGlobalContext()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGlobalContext</h4>
<pre>public&nbsp;BundleContext&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.213">getGlobalContext</a>()</pre>
<div class="block">Get the global bundle context.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the global bundle context.</dd></dl>
</li>
</ul>
<a name="getInstanceDescription()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInstanceDescription</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/felix/ipojo/architecture/InstanceDescription.html" title="class in org.apache.felix.ipojo.architecture">InstanceDescription</a>&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.223">getInstanceDescription</a>()</pre>
<div class="block">Return the instance description of this instance.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html#getInstanceDescription()">getInstanceDescription</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the instance description.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html#getInstanceDescription()"><code>ComponentInstance.getInstanceDescription()</code></a></dd></dl>
</li>
</ul>
<a name="getInstanceName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInstanceName</h4>
<pre>public&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>&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.232">getInstanceName</a>()</pre>
<div class="block">Get the instance name.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html#getInstanceName()">getInstanceName</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the instance name</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html#getInstanceName()"><code>ComponentInstance.getInstanceName()</code></a></dd></dl>
</li>
</ul>
<a name="getParentServiceContext()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getParentServiceContext</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/felix/ipojo/ServiceContext.html" title="interface in org.apache.felix.ipojo">ServiceContext</a>&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.240">getParentServiceContext</a>()</pre>
<div class="block">Get the parent service context.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the parent service context.</dd></dl>
</li>
</ul>
<a name="getRegistredCompositeHandlers()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRegistredCompositeHandlers</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/felix/ipojo/composite/CompositeHandler.html" title="class in org.apache.felix.ipojo.composite">CompositeHandler</a>[]&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.249">getRegistredCompositeHandlers</a>()</pre>
<div class="block">REturn the list of handlers plugged on this instance.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the list of the registered handlers.</dd></dl>
</li>
</ul>
<a name="getServiceContext()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getServiceContext</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/felix/ipojo/ServiceContext.html" title="interface in org.apache.felix.ipojo">ServiceContext</a>&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.261">getServiceContext</a>()</pre>
<div class="block">Get the internal service context of this instance.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the internal service context.</dd></dl>
</li>
</ul>
<a name="getState()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getState</h4>
<pre>public&nbsp;int&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.270">getState</a>()</pre>
<div class="block">Get the actual state of the instance.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html#getState()">getState</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the actual state of the instance</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html#getState()"><code>ComponentInstance.getState()</code></a></dd></dl>
</li>
</ul>
<a name="isStarted()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isStarted</h4>
<pre>public&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.279">isStarted</a>()</pre>
<div class="block">Check if the instance is started.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html#isStarted()">isStarted</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>true if the instance is started.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html#isStarted()"><code>ComponentInstance.isStarted()</code></a></dd></dl>
</li>
</ul>
<a name="reconfigure(java.util.Dictionary)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reconfigure</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.288">reconfigure</a>(<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;configuration)</pre>
<div class="block">Reconfigure the current instance.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html#reconfigure(java.util.Dictionary)">reconfigure</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>configuration</code> - : the new instance configuration.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html#reconfigure(java.util.Dictionary)"><code>ComponentInstance.reconfigure(java.util.Dictionary)</code></a></dd></dl>
</li>
</ul>
<a name="removeInstanceStateListener(org.apache.felix.ipojo.InstanceStateListener)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeInstanceStateListener</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.301">removeInstanceStateListener</a>(<a href="../../../../../org/apache/felix/ipojo/InstanceStateListener.html" title="interface in org.apache.felix.ipojo">InstanceStateListener</a>&nbsp;listener)</pre>
<div class="block">Remove an instance state listener.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html#removeInstanceStateListener(org.apache.felix.ipojo.InstanceStateListener)">removeInstanceStateListener</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>listener</code> - : the listener to remove</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html#removeInstanceStateListener(org.apache.felix.ipojo.InstanceStateListener)"><code>ComponentInstance.removeInstanceStateListener(org.apache.felix.ipojo.InstanceStateListener)</code></a></dd></dl>
</li>
</ul>
<a name="setState(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setState</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.312">setState</a>(int&nbsp;state)</pre>
<div class="block">Set the state of the component.
if the state changed call the stateChanged(int) method on the handlers.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>state</code> - : new state</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/composite/CompositeManager.html#line.337">start</a>()</pre>
<div class="block">Start the instance manager.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html#start()">start</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a></code></dd>
</dl>
</li>
</ul>
<a name="stateChanged(org.apache.felix.ipojo.ComponentInstance, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stateChanged</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.376">stateChanged</a>(<a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a>&nbsp;instance,
int&nbsp;newState)</pre>
<div class="block">State Change listener callback.
This method is notified at each time a plugged handler becomes invalid.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/felix/ipojo/InstanceStateListener.html#stateChanged(org.apache.felix.ipojo.ComponentInstance, int)">stateChanged</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/felix/ipojo/InstanceStateListener.html" title="interface in org.apache.felix.ipojo">InstanceStateListener</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>instance</code> - : changing instance</dd><dd><code>newState</code> - : new state</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/felix/ipojo/InstanceStateListener.html#stateChanged(org.apache.felix.ipojo.ComponentInstance, int)"><code>InstanceStateListener.stateChanged(org.apache.felix.ipojo.ComponentInstance, int)</code></a></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/composite/CompositeManager.html#line.402">stop</a>()</pre>
<div class="block">Stop the instance manager.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html#stop()">stop</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a></code></dd>
</dl>
</li>
</ul>
<a name="kill()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>kill</h4>
<pre>protected&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeManager.html#line.426">kill</a>()</pre>
<div class="block">Kill the current instance.
Only the factory of this instance can call this method.</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="class-use/CompositeManager.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/composite/CompositeInstanceDescription.html" title="class in org.apache.felix.ipojo.composite"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../org/apache/felix/ipojo/composite/CompositeServiceContext.html" title="class in org.apache.felix.ipojo.composite"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/felix/ipojo/composite/CompositeManager.html" target="_top">Frames</a></li>
<li><a href="CompositeManager.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>Nested&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>