| <!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:27 CET 2014 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>CompositeFactory (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="CompositeFactory (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/CompositeFactory.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>Prev Class</li> |
| <li><a href="../../../../../org/apache/felix/ipojo/composite/CompositeHandler.html" title="class in org.apache.felix.ipojo.composite"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/felix/ipojo/composite/CompositeFactory.html" target="_top">Frames</a></li> |
| <li><a href="CompositeFactory.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.classes.inherited.from.class.org.apache.felix.ipojo.IPojoFactory">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.felix.ipojo.composite</div> |
| <h2 title="Class CompositeFactory" class="title">Class CompositeFactory</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><a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html" title="class in org.apache.felix.ipojo">org.apache.felix.ipojo.IPojoFactory</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html" title="class in org.apache.felix.ipojo">org.apache.felix.ipojo.ComponentFactory</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.felix.ipojo.composite.CompositeFactory</li> |
| </ul> |
| </li> |
| </ul> |
| </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/Factory.html" title="interface in org.apache.felix.ipojo">Factory</a>, <a href="../../../../../org/apache/felix/ipojo/util/TrackerCustomizer.html" title="interface in org.apache.felix.ipojo.util">TrackerCustomizer</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeFactory.html#line.49">CompositeFactory</a> |
| extends <a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html" title="class in org.apache.felix.ipojo">ComponentFactory</a> |
| implements <a href="../../../../../org/apache/felix/ipojo/util/TrackerCustomizer.html" title="interface in org.apache.felix.ipojo.util">TrackerCustomizer</a></pre> |
| <div class="block">The component factory manages component instance objects. This management |
| consist in creating and managing component instance build with the component |
| factory. This class could export Factory and ManagedServiceFactory services.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">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"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.felix.ipojo.IPojoFactory"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from class org.apache.felix.ipojo.<a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html" title="class in org.apache.felix.ipojo">IPojoFactory</a></h3> |
| <code><a href="../../../../../org/apache/felix/ipojo/IPojoFactory.DefaultNameGenerator.html" title="class in org.apache.felix.ipojo">IPojoFactory.DefaultNameGenerator</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.NameGenerator.html" title="interface in org.apache.felix.ipojo">IPojoFactory.NameGenerator</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.RequiredHandler.html" title="class in org.apache.felix.ipojo">IPojoFactory.RequiredHandler</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.RetryNameGenerator.html" title="class in org.apache.felix.ipojo">IPojoFactory.RetryNameGenerator</a></code></li> |
| </ul> |
| </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"> </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>protected <a href="../../../../../org/apache/felix/ipojo/util/Tracker.html" title="class in org.apache.felix.ipojo.util">Tracker</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/composite/CompositeFactory.html#m_tracker">m_tracker</a></span></code> |
| <div class="block">Tracker used to track required handler factories.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.apache.felix.ipojo.ComponentFactory"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.apache.felix.ipojo.<a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html" title="class in org.apache.felix.ipojo">ComponentFactory</a></h3> |
| <code><a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html#HANDLER_AUTO_PRIMITIVE">HANDLER_AUTO_PRIMITIVE</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.apache.felix.ipojo.IPojoFactory"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.apache.felix.ipojo.<a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html" title="class in org.apache.felix.ipojo">IPojoFactory</a></h3> |
| <code><a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#INSTANCE_NAME">INSTANCE_NAME</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#m_componentDesc">m_componentDesc</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#m_componentInstances">m_componentInstances</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#m_componentMetadata">m_componentMetadata</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#m_context">m_context</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#m_factoryName">m_factoryName</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#m_isPublic">m_isPublic</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#m_listeners">m_listeners</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#m_logger">m_logger</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#m_requiredHandlers">m_requiredHandlers</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#m_sr">m_sr</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#m_state">m_state</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#m_version">m_version</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.apache.felix.ipojo.Factory"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from interface org.apache.felix.ipojo.<a href="../../../../../org/apache/felix/ipojo/Factory.html" title="interface in org.apache.felix.ipojo">Factory</a></h3> |
| <code><a href="../../../../../org/apache/felix/ipojo/Factory.html#FACTORY_VERSION_PROPERTY">FACTORY_VERSION_PROPERTY</a>, <a href="../../../../../org/apache/felix/ipojo/Factory.html#INSTANCE_NAME_PROPERTY">INSTANCE_NAME_PROPERTY</a>, <a href="../../../../../org/apache/felix/ipojo/Factory.html#INVALID">INVALID</a>, <a href="../../../../../org/apache/felix/ipojo/Factory.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="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/composite/CompositeFactory.html#CompositeFactory-BundleContext-org.apache.felix.ipojo.metadata.Element-">CompositeFactory</a></span>(BundleContext context, |
| <a href="../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a> metadata)</code> |
| <div class="block">Create a composite factory.</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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></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/composite/CompositeFactory.html#check-org.apache.felix.ipojo.metadata.Element-">check</a></span>(<a href="../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a> metadata)</code> |
| <div class="block">Check if the metadata are well formed.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/composite/CompositeFactory.html#createInstance-java.util.Dictionary-org.apache.felix.ipojo.IPojoContext-org.apache.felix.ipojo.HandlerManager:A-">createInstance</a></span>(<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> configuration, |
| <a href="../../../../../org/apache/felix/ipojo/IPojoContext.html" title="class in org.apache.felix.ipojo">IPojoContext</a> context, |
| <a href="../../../../../org/apache/felix/ipojo/HandlerManager.html" title="class in org.apache.felix.ipojo">HandlerManager</a>[] handlers)</code> |
| <div class="block">Create an instance from the current factory.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><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/composite/CompositeFactory.html#getClassName--">getClassName</a></span>()</code> |
| <div class="block">Gets the class name.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><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/composite/CompositeFactory.html#getFactoryName--">getFactoryName</a></span>()</code> |
| <div class="block">Computes the factory name.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/felix/ipojo/IPojoFactory.RequiredHandler.html" title="class in org.apache.felix.ipojo">IPojoFactory.RequiredHandler</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/composite/CompositeFactory.html#getRequiredHandlerList--">getRequiredHandlerList</a></span>()</code> |
| <div class="block">Compute required handlers.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/composite/CompositeFactory.html#reconfigure-java.util.Dictionary-">reconfigure</a></span>(<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> properties)</code> |
| <div class="block">Reconfigure an existing instance.</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/composite/CompositeFactory.html#starting--">starting</a></span>()</code> |
| <div class="block">Start all the instance managers.</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/composite/CompositeFactory.html#stopping--">stopping</a></span>()</code> |
| <div class="block">Stop all the instance managers.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.felix.ipojo.ComponentFactory"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.felix.ipojo.<a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html" title="class in org.apache.felix.ipojo">ComponentFactory</a></h3> |
| <code><a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html#addedService-ServiceReference-">addedService</a>, <a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html#addingService-ServiceReference-">addingService</a>, <a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html#defineClass-java.lang.String-byte:A-java.security.ProtectionDomain-">defineClass</a>, <a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html#getBundleClassLoader--">getBundleClassLoader</a>, <a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html#getComponentTypeDescription--">getComponentTypeDescription</a>, <a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html#getPojoMetadata--">getPojoMetadata</a>, <a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html#getVersion--">getVersion</a>, <a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html#loadClass-java.lang.String-">loadClass</a>, <a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html#modifiedService-ServiceReference-java.lang.Object-">modifiedService</a>, <a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html#removedService-ServiceReference-java.lang.Object-">removedService</a>, <a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html#setUseFactoryClassloader-boolean-">setUseFactoryClassloader</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.felix.ipojo.IPojoFactory"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.felix.ipojo.<a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html" title="class in org.apache.felix.ipojo">IPojoFactory</a></h3> |
| <code><a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#addFactoryStateListener-org.apache.felix.ipojo.FactoryStateListener-">addFactoryStateListener</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#checkAcceptability-java.util.Dictionary-">checkAcceptability</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#computeDescription--">computeDescription</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#computeFactoryState--">computeFactoryState</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#createComponentInstance-java.util.Dictionary-">createComponentInstance</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#createComponentInstance-java.util.Dictionary-org.apache.felix.ipojo.ServiceContext-">createComponentInstance</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#deleted-java.lang.String-">deleted</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#dispose--">dispose</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#disposed-org.apache.felix.ipojo.ComponentInstance-">disposed</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#getBundleContext--">getBundleContext</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#getComponentDescription--">getComponentDescription</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#getComponentMetadata--">getComponentMetadata</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#getDescription--">getDescription</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#getHandler-org.apache.felix.ipojo.IPojoFactory.RequiredHandler-org.apache.felix.ipojo.ServiceContext-">getHandler</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#getInstanceByName-java.lang.String-">getInstanceByName</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#getInstances--">getInstances</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#getInstancesNames--">getInstancesNames</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#getIPOJOBundleContext--">getIPOJOBundleContext</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#getLogger--">getLogger</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#getMissingHandlers--">getMissingHandlers</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#getName--">getName</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#getRequiredHandlers--">getRequiredHandlers</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#getState--">getState</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#isAcceptable-java.util.Dictionary-">isAcceptable</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#match-org.apache.felix.ipojo.IPojoFactory.RequiredHandler--">match</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#removeFactoryStateListener-org.apache.felix.ipojo.FactoryStateListener-">removeFactoryStateListener</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#restart--">restart</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#start--">start</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#stop--">stop</a>, <a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#updated-java.lang.String-java.util.Dictionary-">updated</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class 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> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.felix.ipojo.util.TrackerCustomizer"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.felix.ipojo.util.<a href="../../../../../org/apache/felix/ipojo/util/TrackerCustomizer.html" title="interface in org.apache.felix.ipojo.util">TrackerCustomizer</a></h3> |
| <code><a href="../../../../../org/apache/felix/ipojo/util/TrackerCustomizer.html#addedService-ServiceReference-">addedService</a>, <a href="../../../../../org/apache/felix/ipojo/util/TrackerCustomizer.html#addingService-ServiceReference-">addingService</a>, <a href="../../../../../org/apache/felix/ipojo/util/TrackerCustomizer.html#modifiedService-ServiceReference-java.lang.Object-">modifiedService</a>, <a href="../../../../../org/apache/felix/ipojo/util/TrackerCustomizer.html#removedService-ServiceReference-java.lang.Object-">removedService</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_tracker"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>m_tracker</h4> |
| <pre>protected <a href="../../../../../org/apache/felix/ipojo/util/Tracker.html" title="class in org.apache.felix.ipojo.util">Tracker</a> <a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeFactory.html#line.54">m_tracker</a></pre> |
| <div class="block">Tracker used to track required handler factories.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="CompositeFactory-BundleContext-org.apache.felix.ipojo.metadata.Element-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>CompositeFactory</h4> |
| <pre>public <a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeFactory.html#line.62">CompositeFactory</a>(BundleContext context, |
| <a href="../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a> metadata) |
| throws <a href="../../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></pre> |
| <div class="block">Create a composite factory.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - : bundle context</dd> |
| <dd><code>metadata</code> - : metadata of the component to create</dd> |
| <dt><span class="throwsLabel">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 element describing the factory is malformed.</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="check-org.apache.felix.ipojo.metadata.Element-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>check</h4> |
| <pre>public void <a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeFactory.html#line.72">check</a>(<a href="../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a> metadata) |
| throws <a href="../../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></pre> |
| <div class="block">Check if the metadata are well formed.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html#check-org.apache.felix.ipojo.metadata.Element-">check</a></code> in class <code><a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html" title="class in org.apache.felix.ipojo">ComponentFactory</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metadata</code> - : metadata</dd> |
| <dt><span class="throwsLabel">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 element describing the factory is malformed.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html#check-org.apache.felix.ipojo.metadata.Element-"><code>ComponentFactory.check(org.apache.felix.ipojo.metadata.Element)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getClassName--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getClassName</h4> |
| <pre>public <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/composite/CompositeFactory.html#line.79">getClassName</a>()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html#getClassName--">ComponentFactory</a></code></span></div> |
| <div class="block">Gets the class name. |
| No synchronization needed, the classname is immutable.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/felix/ipojo/Factory.html#getClassName--">getClassName</a></code> in interface <code><a href="../../../../../org/apache/felix/ipojo/Factory.html" title="interface in org.apache.felix.ipojo">Factory</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html#getClassName--">getClassName</a></code> in class <code><a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html" title="class in org.apache.felix.ipojo">ComponentFactory</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the class name.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#getClassName--"><code>IPojoFactory.getClassName()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getRequiredHandlerList--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRequiredHandlerList</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/felix/ipojo/IPojoFactory.RequiredHandler.html" title="class in org.apache.felix.ipojo">IPojoFactory.RequiredHandler</a>> <a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeFactory.html#line.85">getRequiredHandlerList</a>()</pre> |
| <div class="block">Compute required handlers.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html#getRequiredHandlerList--">getRequiredHandlerList</a></code> in class <code><a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html" title="class in org.apache.felix.ipojo">ComponentFactory</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the list of required handler.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="stopping--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>stopping</h4> |
| <pre>public void <a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeFactory.html#line.108">stopping</a>()</pre> |
| <div class="block">Stop all the instance managers.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html#stopping--">stopping</a></code> in class <code><a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html" title="class in org.apache.felix.ipojo">ComponentFactory</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="starting--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>starting</h4> |
| <pre>public void <a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeFactory.html#line.118">starting</a>()</pre> |
| <div class="block">Start all the instance managers.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html#starting--">starting</a></code> in class <code><a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html" title="class in org.apache.felix.ipojo">ComponentFactory</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createInstance-java.util.Dictionary-org.apache.felix.ipojo.IPojoContext-org.apache.felix.ipojo.HandlerManager:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createInstance</h4> |
| <pre>public <a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a> <a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeFactory.html#line.143">createInstance</a>(<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> configuration, |
| <a href="../../../../../org/apache/felix/ipojo/IPojoContext.html" title="class in org.apache.felix.ipojo">IPojoContext</a> context, |
| <a href="../../../../../org/apache/felix/ipojo/HandlerManager.html" title="class in org.apache.felix.ipojo">HandlerManager</a>[] handlers) |
| throws <a href="../../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></pre> |
| <div class="block">Create an instance from the current factory.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html#createInstance-java.util.Dictionary-org.apache.felix.ipojo.IPojoContext-org.apache.felix.ipojo.HandlerManager:A-">createInstance</a></code> in class <code><a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html" title="class in org.apache.felix.ipojo">ComponentFactory</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>configuration</code> - : instance configuration</dd> |
| <dd><code>context</code> - : bundle context to inject in the instance manager</dd> |
| <dd><code>handlers</code> - : array of handler object to attached on the instance</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the created instance</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></code> - either the instance configuration or the instance starting has failed</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html#createInstance-java.util.Dictionary-org.apache.felix.ipojo.IPojoContext-org.apache.felix.ipojo.HandlerManager:A-"><code>ComponentFactory.createInstance(java.util.Dictionary, org.apache.felix.ipojo.IPojoContext, org.apache.felix.ipojo.HandlerManager[])</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="reconfigure-java.util.Dictionary-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>reconfigure</h4> |
| <pre>public void <a href="../../../../../src-html/org/apache/felix/ipojo/composite/CompositeFactory.html#line.158">reconfigure</a>(<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> properties) |
| throws <a href="../../../../../org/apache/felix/ipojo/UnacceptableConfiguration.html" title="class in org.apache.felix.ipojo">UnacceptableConfiguration</a>, |
| <a href="../../../../../org/apache/felix/ipojo/MissingHandlerException.html" title="class in org.apache.felix.ipojo">MissingHandlerException</a></pre> |
| <div class="block">Reconfigure an existing instance.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/felix/ipojo/Factory.html#reconfigure-java.util.Dictionary-">reconfigure</a></code> in interface <code><a href="../../../../../org/apache/felix/ipojo/Factory.html" title="interface in org.apache.felix.ipojo">Factory</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html#reconfigure-java.util.Dictionary-">reconfigure</a></code> in class <code><a href="../../../../../org/apache/felix/ipojo/IPojoFactory.html" title="class in org.apache.felix.ipojo">IPojoFactory</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>properties</code> - : the new configuration to push.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/felix/ipojo/UnacceptableConfiguration.html" title="class in org.apache.felix.ipojo">UnacceptableConfiguration</a></code> - : occurs if the new configuration is |
| not consistent with the component type.</dd> |
| <dd><code><a href="../../../../../org/apache/felix/ipojo/MissingHandlerException.html" title="class in org.apache.felix.ipojo">MissingHandlerException</a></code> - : occurs when an handler is unavailable when creating the instance.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/apache/felix/ipojo/Factory.html#reconfigure-java.util.Dictionary-"><code>Factory.reconfigure(java.util.Dictionary)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFactoryName--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getFactoryName</h4> |
| <pre>public <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/composite/CompositeFactory.html#line.176">getFactoryName</a>()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html#getFactoryName--">ComponentFactory</a></code></span></div> |
| <div class="block">Computes the factory name. The factory name is computed from |
| the 'name' and 'classname' attributes. |
| This method does not manipulate any non-immutable fields, |
| so does not need to be synchronized.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html#getFactoryName--">getFactoryName</a></code> in class <code><a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html" title="class in org.apache.felix.ipojo">ComponentFactory</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the factory name.</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/CompositeFactory.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>Prev Class</li> |
| <li><a href="../../../../../org/apache/felix/ipojo/composite/CompositeHandler.html" title="class in org.apache.felix.ipojo.composite"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/felix/ipojo/composite/CompositeFactory.html" target="_top">Frames</a></li> |
| <li><a href="CompositeFactory.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.classes.inherited.from.class.org.apache.felix.ipojo.IPojoFactory">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2014. All rights reserved.</small></p> |
| </body> |
| </html> |