| <!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>CompositeFactory (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="CompositeFactory (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/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="strong">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/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><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="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"> |
| <!-- ======== 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="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>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><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeFactory.html#m_tracker">m_tracker</a></strong></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="overviewSummary" 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><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeFactory.html#CompositeFactory(BundleContext, org.apache.felix.ipojo.metadata.Element)">CompositeFactory</a></strong>(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="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeFactory.html#check(org.apache.felix.ipojo.metadata.Element)">check</a></strong>(<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 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><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeFactory.html#createInstance(java.util.Dictionary, org.apache.felix.ipojo.IPojoContext, org.apache.felix.ipojo.HandlerManager[])">createInstance</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> 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 class="altColor"> |
| <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/CompositeFactory.html#getClassName()">getClassName</a></strong>()</code> |
| <div class="block">Gets the class name.</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/CompositeFactory.html#getFactoryName()">getFactoryName</a></strong>()</code> |
| <div class="block">Computes the factory name.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><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="../../../../../org/apache/felix/ipojo/IPojoFactory.RequiredHandler.html" title="class in org.apache.felix.ipojo">IPojoFactory.RequiredHandler</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/composite/CompositeFactory.html#getRequiredHandlerList()">getRequiredHandlerList</a></strong>()</code> |
| <div class="block">Compute required handlers.</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/CompositeFactory.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> properties)</code> |
| <div class="block">Reconfigure an existing 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/CompositeFactory.html#starting()">starting</a></strong>()</code> |
| <div class="block">Start all the instance managers.</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/CompositeFactory.html#stopping()">stopping</a></strong>()</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[], 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/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> |
| <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="strong">Parameters:</span></dt><dd><code>context</code> - : bundle context</dd><dd><code>metadata</code> - : metadata of the component to create</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 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><strong>Overrides:</strong></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="strong">Parameters:</span></dt><dd><code>metadata</code> - : metadata</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 element describing the factory is malformed.</dd><dt><span class="strong">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/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/CompositeFactory.html#line.79">getClassName</a>()</pre> |
| <div class="block"><strong>Description copied from class: <code><a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html#getClassName()">ComponentFactory</a></code></strong></div> |
| <div class="block">Gets the class name. |
| No synchronization needed, the classname is immutable.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></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><strong>Overrides:</strong></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="strong">Returns:</span></dt><dd>the class name.</dd><dt><span class="strong">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/7/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><strong>Overrides:</strong></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="strong">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><strong>Overrides:</strong></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><strong>Overrides:</strong></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> |
| <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/7/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><strong>Overrides:</strong></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[])">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="strong">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="strong">Returns:</span></dt><dd>the created 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> - either the instance configuration or the instance starting has failed</dd><dt><span class="strong">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[])"><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/7/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><strong>Specified by:</strong></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><strong>Overrides:</strong></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="strong">Parameters:</span></dt><dd><code>properties</code> - : the new configuration to push.</dd> |
| <dt><span class="strong">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="strong">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/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/CompositeFactory.html#line.176">getFactoryName</a>()</pre> |
| <div class="block"><strong>Description copied from class: <code><a href="../../../../../org/apache/felix/ipojo/ComponentFactory.html#getFactoryName()">ComponentFactory</a></code></strong></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><strong>Overrides:</strong></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="strong">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><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/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="strong">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> |