| <!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:24 CEST 2014 --> |
| <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> |
| <title>IPojoFactory (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="IPojoFactory (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/IPojoFactory.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/IPojoContext.html" title="class in org.apache.felix.ipojo"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/felix/ipojo/IPojoFactory.DefaultNameGenerator.html" title="class in org.apache.felix.ipojo"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/felix/ipojo/IPojoFactory.html" target="_top">Frames</a></li> |
| <li><a href="IPojoFactory.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_class_summary">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</div> |
| <h2 title="Class IPojoFactory" class="title">Class IPojoFactory</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.IPojoFactory</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></dd> |
| </dl> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><a href="../../../../org/apache/felix/ipojo/ComponentFactory.html" title="class in org.apache.felix.ipojo">ComponentFactory</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public abstract class <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.49">IPojoFactory</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/Factory.html" title="interface in org.apache.felix.ipojo">Factory</a></pre> |
| <div class="block">This class defines common mechanisms of iPOJO component factories |
| (i.e. component type). |
| |
| The factory is also tracking Factory configuration from the configuration admin to created / delete and update |
| instances from this factory.</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> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Class and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.DefaultNameGenerator.html" title="class in org.apache.felix.ipojo">IPojoFactory.DefaultNameGenerator</a></strong></code> |
| <div class="block">This generator implements the default naming strategy.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static interface </code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.NameGenerator.html" title="interface in org.apache.felix.ipojo">IPojoFactory.NameGenerator</a></strong></code> |
| <div class="block">Generate a unique name for a component instance.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected class </code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.RequiredHandler.html" title="class in org.apache.felix.ipojo">IPojoFactory.RequiredHandler</a></strong></code> |
| <div class="block">Structure storing required handlers.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.RetryNameGenerator.html" title="class in org.apache.felix.ipojo">IPojoFactory.RetryNameGenerator</a></strong></code> |
| <div class="block">This generator implements a retry naming strategy.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field_summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </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 static <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="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/IPojoFactory.html#INSTANCE_NAME">INSTANCE_NAME</a></strong></code> |
| <div class="block">The list of the managed instance name.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../org/apache/felix/ipojo/architecture/ComponentTypeDescription.html" title="class in org.apache.felix.ipojo.architecture">ComponentTypeDescription</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#m_componentDesc">m_componentDesc</a></strong></code> |
| <div class="block">The component type description exposed by the <a href="../../../../org/apache/felix/ipojo/Factory.html" title="interface in org.apache.felix.ipojo"><code>Factory</code></a> service.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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="../../../../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/IPojoFactory.html#m_componentInstances">m_componentInstances</a></strong></code> |
| <div class="block">The list of the managed instance managers.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#m_componentMetadata">m_componentMetadata</a></strong></code> |
| <div class="block">The component type metadata.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected BundleContext</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#m_context">m_context</a></strong></code> |
| <div class="block">The bundle context reference.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#m_described">m_described</a></strong></code> |
| <div class="block">The flag indicating if this factory has already a |
| computed description or not.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <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/IPojoFactory.html#m_factoryName">m_factoryName</a></strong></code> |
| <div class="block">The factory name.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../../../../org/apache/felix/ipojo/IPojoFactory.NameGenerator.html" title="interface in org.apache.felix.ipojo">IPojoFactory.NameGenerator</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#m_generator">m_generator</a></strong></code> |
| <div class="block">Generates a unique instance name if not provided by the configuration.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#m_isPublic">m_isPublic</a></strong></code> |
| <div class="block">Is the factory public (exposed as services).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <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/FactoryStateListener.html" title="interface in org.apache.felix.ipojo">FactoryStateListener</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#m_listeners">m_listeners</a></strong></code> |
| <div class="block">The list of factory state listeners.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <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/IPojoFactory.html#m_logger">m_logger</a></strong></code> |
| <div class="block">The logger for the factory.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <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/IPojoFactory.html#m_requiredHandlers">m_requiredHandlers</a></strong></code> |
| <div class="block">The list of required handlers.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected ServiceRegistration</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#m_sr">m_sr</a></strong></code> |
| <div class="block">The service registration of this factory (Factory & ManagedServiceFactory).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#m_state">m_state</a></strong></code> |
| <div class="block">The factory state.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <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/IPojoFactory.html#m_version">m_version</a></strong></code> |
| <div class="block">The version of the component type.</div> |
| </td> |
| </tr> |
| </table> |
| <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/IPojoFactory.html#IPojoFactory(BundleContext, org.apache.felix.ipojo.metadata.Element)">IPojoFactory</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">Creates an iPOJO 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/IPojoFactory.html#addFactoryStateListener(org.apache.felix.ipojo.FactoryStateListener)">addFactoryStateListener</a></strong>(<a href="../../../../org/apache/felix/ipojo/FactoryStateListener.html" title="interface in org.apache.felix.ipojo">FactoryStateListener</a> listener)</code> |
| <div class="block">Adds a factory listener.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#checkAcceptability(java.util.Dictionary)">checkAcceptability</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><<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>,?> conf)</code> |
| <div class="block">Checks if the configuration is acceptable.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#computeDescription()">computeDescription</a></strong>()</code> |
| <div class="block">Computes the component type description.</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/IPojoFactory.html#computeFactoryState()">computeFactoryState</a></strong>()</code> |
| <div class="block">Computes factory state.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <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/IPojoFactory.html#createComponentInstance(java.util.Dictionary)">createComponentInstance</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)</code> |
| <div class="block">Creates an instance.</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/IPojoFactory.html#createComponentInstance(java.util.Dictionary, org.apache.felix.ipojo.ServiceContext)">createComponentInstance</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/ServiceContext.html" title="interface in org.apache.felix.ipojo">ServiceContext</a> serviceContext)</code> |
| <div class="block">Creates an instance in the specified service context.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>abstract <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/IPojoFactory.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> config, |
| <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">Creates an 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/IPojoFactory.html#deleted(java.lang.String)">deleted</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> name)</code> |
| <div class="block">Deletes an 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/IPojoFactory.html#dispose()">dispose</a></strong>()</code> |
| <div class="block">Destroys the factory.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#disposed(org.apache.felix.ipojo.ComponentInstance)">disposed</a></strong>(<a href="../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a> instance)</code> |
| <div class="block">Callback called by instance when disposed.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <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/IPojoFactory.html#findInstanceName(java.util.Dictionary)">findInstanceName</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)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>BundleContext</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#getBundleContext()">getBundleContext</a></strong>()</code> |
| <div class="block">Gets the bundle context of the factory.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>abstract <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/IPojoFactory.html#getClassName()">getClassName</a></strong>()</code> |
| <div class="block">Gets the factory class name.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/felix/ipojo/architecture/ComponentTypeDescription.html" title="class in org.apache.felix.ipojo.architecture">ComponentTypeDescription</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#getComponentDescription()">getComponentDescription</a></strong>()</code> |
| <div class="block">Gets the component type description.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#getComponentMetadata()">getComponentMetadata</a></strong>()</code> |
| <div class="block">Gets the component metadata.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/felix/ipojo/architecture/ComponentTypeDescription.html" title="class in org.apache.felix.ipojo.architecture">ComponentTypeDescription</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#getComponentTypeDescription()">getComponentTypeDescription</a></strong>()</code> |
| <div class="block">Gets the component type description.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#getDescription()">getDescription</a></strong>()</code> |
| <div class="block">Gets the component type description (Element-Attribute form).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>abstract <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/IPojoFactory.html#getFactoryName()">getFactoryName</a></strong>()</code> |
| <div class="block">Computes the factory name.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <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/IPojoFactory.html#getHandler(org.apache.felix.ipojo.IPojoFactory.RequiredHandler, org.apache.felix.ipojo.ServiceContext)">getHandler</a></strong>(<a href="../../../../org/apache/felix/ipojo/IPojoFactory.RequiredHandler.html" title="class in org.apache.felix.ipojo">IPojoFactory.RequiredHandler</a> req, |
| <a href="../../../../org/apache/felix/ipojo/ServiceContext.html" title="interface in org.apache.felix.ipojo">ServiceContext</a> context)</code> |
| <div class="block">Returns the handler object for the given required handler.</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/IPojoFactory.html#getInstanceByName(java.lang.String)">getInstanceByName</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> name)</code> |
| <div class="block">Gets a component instance created by the current factory.</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/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#getInstances()">getInstances</a></strong>()</code> |
| <div class="block">Gets the list of instances created by the factory.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <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="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/IPojoFactory.html#getInstancesNames()">getInstancesNames</a></strong>()</code> |
| <div class="block">Gets the list of the names of the instances created by the factory.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected BundleContext</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#getIPOJOBundleContext()">getIPOJOBundleContext</a></strong>()</code> |
| <div class="block">Gets the iPOJO Bundle Context.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><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/IPojoFactory.html#getLogger()">getLogger</a></strong>()</code> |
| <div class="block">Gets the logger used by instances created by the current factory.</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="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/IPojoFactory.html#getMissingHandlers()">getMissingHandlers</a></strong>()</code> |
| <div class="block">Computes the list of missing handlers.</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/IPojoFactory.html#getName()">getName</a></strong>()</code> |
| <div class="block">Gets the factory name.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>abstract <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/IPojoFactory.html#getRequiredHandlerList()">getRequiredHandlerList</a></strong>()</code> |
| <div class="block">Computes the required handler list.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <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="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/IPojoFactory.html#getRequiredHandlers()">getRequiredHandlers</a></strong>()</code> |
| <div class="block">Gets the list of required handlers.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#getState()">getState</a></strong>()</code> |
| <div class="block">Gets the actual factory state.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#isAcceptable(java.util.Dictionary)">isAcceptable</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> conf)</code> |
| <div class="block">Checks if the configuration is acceptable.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#match(org.apache.felix.ipojo.IPojoFactory.RequiredHandler, )">match</a></strong>(<a href="../../../../org/apache/felix/ipojo/IPojoFactory.RequiredHandler.html" title="class in org.apache.felix.ipojo">IPojoFactory.RequiredHandler</a> req, |
| <any> ref)</code> |
| <div class="block">Checks if the given handler identifier and the service reference match.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.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">Reconfigures 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/IPojoFactory.html#removeFactoryStateListener(org.apache.felix.ipojo.FactoryStateListener)">removeFactoryStateListener</a></strong>(<a href="../../../../org/apache/felix/ipojo/FactoryStateListener.html" title="interface in org.apache.felix.ipojo">FactoryStateListener</a> listener)</code> |
| <div class="block">Removes a factory listener.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#restart()">restart</a></strong>()</code> |
| <div class="block">For testing purpose <b>ONLY</b>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#start()">start</a></strong>()</code> |
| <div class="block">Starts the factory.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>abstract void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#starting()">starting</a></strong>()</code> |
| <div class="block">Starting method.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#stop()">stop</a></strong>()</code> |
| <div class="block">Stops all the instance managers.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>abstract void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#stopping()">stopping</a></strong>()</code> |
| <div class="block">Stopping method.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#updated(java.lang.String, java.util.Dictionary)">updated</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> name, |
| <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">Creates or updates an instance.</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 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.Factory"> |
| <!-- --> |
| </a> |
| <h3>Methods 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#getVersion()">getVersion</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="INSTANCE_NAME"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>INSTANCE_NAME</h4> |
| <pre>protected static final <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="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/IPojoFactory.html#line.59">INSTANCE_NAME</a></pre> |
| <div class="block">The list of the managed instance name. |
| This list is shared by all factories and is used to assert name uniqueness.</div> |
| </li> |
| </ul> |
| <a name="m_componentDesc"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_componentDesc</h4> |
| <pre>protected <a href="../../../../org/apache/felix/ipojo/architecture/ComponentTypeDescription.html" title="class in org.apache.felix.ipojo.architecture">ComponentTypeDescription</a> <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.64">m_componentDesc</a></pre> |
| <div class="block">The component type description exposed by the <a href="../../../../org/apache/felix/ipojo/Factory.html" title="interface in org.apache.felix.ipojo"><code>Factory</code></a> service.</div> |
| </li> |
| </ul> |
| <a name="m_componentInstances"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_componentInstances</h4> |
| <pre>protected final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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="../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a>> <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.70">m_componentInstances</a></pre> |
| <div class="block">The list of the managed instance managers. |
| The key of this map is the name (i.e. instance names) of the created instance</div> |
| </li> |
| </ul> |
| <a name="m_componentMetadata"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_componentMetadata</h4> |
| <pre>protected final <a href="../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a> <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.75">m_componentMetadata</a></pre> |
| <div class="block">The component type metadata.</div> |
| </li> |
| </ul> |
| <a name="m_context"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_context</h4> |
| <pre>protected final BundleContext <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.80">m_context</a></pre> |
| <div class="block">The bundle context reference.</div> |
| </li> |
| </ul> |
| <a name="m_factoryName"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_factoryName</h4> |
| <pre>protected <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/IPojoFactory.html#line.87">m_factoryName</a></pre> |
| <div class="block">The factory name. |
| Could be the component class name if the factory name is not set. |
| Immutable once set.</div> |
| </li> |
| </ul> |
| <a name="m_requiredHandlers"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_requiredHandlers</h4> |
| <pre>protected final <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/IPojoFactory.html#line.92">m_requiredHandlers</a></pre> |
| <div class="block">The list of required handlers.</div> |
| </li> |
| </ul> |
| <a name="m_listeners"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_listeners</h4> |
| <pre>protected <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/FactoryStateListener.html" title="interface in org.apache.felix.ipojo">FactoryStateListener</a>> <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.98">m_listeners</a></pre> |
| <div class="block">The list of factory state listeners.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/felix/ipojo/FactoryStateListener.html" title="interface in org.apache.felix.ipojo"><code>FactoryStateListener</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="m_logger"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_logger</h4> |
| <pre>protected final <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/IPojoFactory.html#line.103">m_logger</a></pre> |
| <div class="block">The logger for the factory.</div> |
| </li> |
| </ul> |
| <a name="m_isPublic"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_isPublic</h4> |
| <pre>protected final boolean <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.108">m_isPublic</a></pre> |
| <div class="block">Is the factory public (exposed as services).</div> |
| </li> |
| </ul> |
| <a name="m_version"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_version</h4> |
| <pre>protected final <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/IPojoFactory.html#line.113">m_version</a></pre> |
| <div class="block">The version of the component type.</div> |
| </li> |
| </ul> |
| <a name="m_sr"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_sr</h4> |
| <pre>protected ServiceRegistration <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.120">m_sr</a></pre> |
| <div class="block">The service registration of this factory (Factory & ManagedServiceFactory).</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="http://www.osgi.org/javadoc/r4v43/cmpn/org/osgi/service/cm/ManagedServiceFactory.html?is-external=true" title="class or interface in org.osgi.service.cm"><code>ManagedServiceFactory</code></a>, |
| <a href="../../../../org/apache/felix/ipojo/Factory.html" title="interface in org.apache.felix.ipojo"><code>Factory</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="m_state"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_state</h4> |
| <pre>protected int <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.131">m_state</a></pre> |
| <div class="block">The factory state. |
| Can be: |
| <li><a href="../../../../org/apache/felix/ipojo/Factory.html#INVALID"><code>Factory.INVALID</code></a></li> |
| <li><a href="../../../../org/apache/felix/ipojo/Factory.html#VALID"><code>Factory.VALID</code></a></li> |
| The factory is invalid at the beginning. |
| A factory becomes valid if every required handlers |
| are available (i.e. can be created).</div> |
| </li> |
| </ul> |
| <a name="m_described"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_described</h4> |
| <pre>private boolean <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.137">m_described</a></pre> |
| <div class="block">The flag indicating if this factory has already a |
| computed description or not.</div> |
| </li> |
| </ul> |
| <a name="m_generator"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>m_generator</h4> |
| <pre>private final <a href="../../../../org/apache/felix/ipojo/IPojoFactory.NameGenerator.html" title="interface in org.apache.felix.ipojo">IPojoFactory.NameGenerator</a> <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.142">m_generator</a></pre> |
| <div class="block">Generates a unique instance name if not provided by the configuration.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="IPojoFactory(BundleContext, org.apache.felix.ipojo.metadata.Element)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>IPojoFactory</h4> |
| <pre>public <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.152">IPojoFactory</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">Creates an iPOJO Factory. |
| At the end of this method, the required set of handler is computed. |
| But the result is computed by a sub-class.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>context</code> - the bundle context of the bundle containing the factory.</dd><dd><code>metadata</code> - the description of the component type.</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> - if 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="getComponentTypeDescription()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getComponentTypeDescription</h4> |
| <pre>public <a href="../../../../org/apache/felix/ipojo/architecture/ComponentTypeDescription.html" title="class in org.apache.felix.ipojo.architecture">ComponentTypeDescription</a> <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.178">getComponentTypeDescription</a>()</pre> |
| <div class="block">Gets the component type description.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the component type description</dd></dl> |
| </li> |
| </ul> |
| <a name="addFactoryStateListener(org.apache.felix.ipojo.FactoryStateListener)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addFactoryStateListener</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.187">addFactoryStateListener</a>(<a href="../../../../org/apache/felix/ipojo/FactoryStateListener.html" title="interface in org.apache.felix.ipojo">FactoryStateListener</a> listener)</pre> |
| <div class="block">Adds a factory listener.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/Factory.html#addFactoryStateListener(org.apache.felix.ipojo.FactoryStateListener)">addFactoryStateListener</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="strong">Parameters:</span></dt><dd><code>listener</code> - the factory listener to add.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/felix/ipojo/Factory.html#addFactoryStateListener(org.apache.felix.ipojo.FactoryStateListener)"><code>Factory.addFactoryStateListener(org.apache.felix.ipojo.FactoryStateListener)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="getLogger()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLogger</h4> |
| <pre>public <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/IPojoFactory.html#line.197">getLogger</a>()</pre> |
| <div class="block">Gets the logger used by instances created by the current factory.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the factory logger.</dd></dl> |
| </li> |
| </ul> |
| <a name="getFactoryName()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFactoryName</h4> |
| <pre>public abstract <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/IPojoFactory.html#line.206">getFactoryName</a>()</pre> |
| <div class="block">Computes the factory name. |
| Each sub-type must override this method.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the factory name.</dd></dl> |
| </li> |
| </ul> |
| <a name="getRequiredHandlerList()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRequiredHandlerList</h4> |
| <pre>public abstract <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/IPojoFactory.html#line.214">getRequiredHandlerList</a>() |
| throws <a href="../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></pre> |
| <div class="block">Computes the required handler list. |
| Each sub-type must override this method.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the required handler list</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> - when the list of handler cannot be computed.</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 abstract <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/IPojoFactory.html#line.225">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> config, |
| <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">Creates an instance. |
| This method is called with the monitor lock.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>config</code> - the instance configuration</dd><dd><code>context</code> - the iPOJO context to use</dd><dd><code>handlers</code> - the handler array to use</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the new component 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> - if the instance creation failed during the configuration process.</dd></dl> |
| </li> |
| </ul> |
| <a name="createComponentInstance(java.util.Dictionary)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createComponentInstance</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/IPojoFactory.html#line.238">createComponentInstance</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) |
| 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>, |
| <a href="../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></pre> |
| <div class="block">Creates an instance. |
| This method creates the instance in the global context.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/Factory.html#createComponentInstance(java.util.Dictionary)">createComponentInstance</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="strong">Parameters:</span></dt><dd><code>configuration</code> - the configuration of the created instance.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the created component instance.</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> - if the given configuration is not consistent with the component type of this factory.</dd> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/MissingHandlerException.html" title="class in org.apache.felix.ipojo">MissingHandlerException</a></code> - if an handler is unavailable when the instance is created.</dd> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></code> - if the instance or type configuration are not correct.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/felix/ipojo/Factory.html#createComponentInstance(java.util.Dictionary)"><code>Factory.createComponentInstance(java.util.Dictionary)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="createComponentInstance(java.util.Dictionary, org.apache.felix.ipojo.ServiceContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createComponentInstance</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/IPojoFactory.html#line.257">createComponentInstance</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/ServiceContext.html" title="interface in org.apache.felix.ipojo">ServiceContext</a> serviceContext) |
| 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>, |
| <a href="../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></pre> |
| <div class="block">Creates an instance in the specified service context. |
| This method is synchronized to assert the validity of the factory during the creation. |
| Callbacks to sub-class and created instances need to be aware that they are holding the monitor lock. |
| This method call the override <a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#createInstance(java.util.Dictionary, org.apache.felix.ipojo.IPojoContext, org.apache.felix.ipojo.HandlerManager[])"><code>createInstance(Dictionary, IPojoContext, HandlerManager[])</code></a> |
| method.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/Factory.html#createComponentInstance(java.util.Dictionary, org.apache.felix.ipojo.ServiceContext)">createComponentInstance</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="strong">Parameters:</span></dt><dd><code>configuration</code> - the configuration of the created instance.</dd><dd><code>serviceContext</code> - the service context to push for this instance.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the created component instance.</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> - if the given configuration is not consistent with the component type of this factory.</dd> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/MissingHandlerException.html" title="class in org.apache.felix.ipojo">MissingHandlerException</a></code> - if an handler is unavailable when creating the instance.</dd> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></code> - if the instance configuration failed.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/felix/ipojo/Factory.html#createComponentInstance(java.util.Dictionary)"><code>Factory.createComponentInstance(java.util.Dictionary)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="findInstanceName(java.util.Dictionary)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>findInstanceName</h4> |
| <pre>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> <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.334">findInstanceName</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)</pre> |
| </li> |
| </ul> |
| <a name="getBundleContext()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBundleContext</h4> |
| <pre>public BundleContext <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.355">getBundleContext</a>()</pre> |
| <div class="block">Gets the bundle context of the factory.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/Factory.html#getBundleContext()">getBundleContext</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="strong">Returns:</span></dt><dd>the bundle context of the factory.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/felix/ipojo/Factory.html#getBundleContext()"><code>Factory.getBundleContext()</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="getClassName()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getClassName</h4> |
| <pre>public abstract <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/IPojoFactory.html#line.364">getClassName</a>()</pre> |
| <div class="block">Gets the factory class name.</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><span class="strong">Returns:</span></dt><dd>the factory class name.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/felix/ipojo/Factory.html#getClassName()"><code>Factory.getClassName()</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="getComponentDescription()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getComponentDescription</h4> |
| <pre>public <a href="../../../../org/apache/felix/ipojo/architecture/ComponentTypeDescription.html" title="class in org.apache.felix.ipojo.architecture">ComponentTypeDescription</a> <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.370">getComponentDescription</a>()</pre> |
| <div class="block">Gets the component type description.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/Factory.html#getComponentDescription()">getComponentDescription</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="strong">Returns:</span></dt><dd>the component type description object. <code>Null</code> if not already computed.</dd></dl> |
| </li> |
| </ul> |
| <a name="getDescription()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDescription</h4> |
| <pre>public <a href="../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a> <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.379">getDescription</a>()</pre> |
| <div class="block">Gets the component type description (Element-Attribute form).</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/Factory.html#getDescription()">getDescription</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="strong">Returns:</span></dt><dd>the component type description.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/felix/ipojo/Factory.html#getDescription()"><code>Factory.getDescription()</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="getComponentMetadata()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getComponentMetadata</h4> |
| <pre>public <a href="../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a> <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.392">getComponentMetadata</a>()</pre> |
| <div class="block">Gets the component metadata.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/Factory.html#getComponentMetadata()">getComponentMetadata</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="strong">Returns:</span></dt><dd>the component metadata</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/felix/ipojo/Factory.html#getComponentMetadata()"><code>Factory.getComponentMetadata()</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="getInstances()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getInstances</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/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a>> <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.402">getInstances</a>()</pre> |
| <div class="block">Gets the list of instances created by the factory. The instances must be still alive.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/Factory.html#getInstances()">getInstances</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="strong">Returns:</span></dt><dd>the list of created (and living) instances</dd><dt><span class="strong">Since:</span></dt> |
| <dd>1.11.0</dd></dl> |
| </li> |
| </ul> |
| <a name="getInstancesNames()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getInstancesNames</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="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/IPojoFactory.html#line.413">getInstancesNames</a>()</pre> |
| <div class="block">Gets the list of the names of the instances created by the factory. The instances must be still alive.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/Factory.html#getInstancesNames()">getInstancesNames</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="strong">Returns:</span></dt><dd>the list of the names of created (and living) instances</dd><dt><span class="strong">Since:</span></dt> |
| <dd>1.11.0</dd></dl> |
| </li> |
| </ul> |
| <a name="getMissingHandlers()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMissingHandlers</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="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/IPojoFactory.html#line.423">getMissingHandlers</a>()</pre> |
| <div class="block">Computes the list of missing handlers.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/Factory.html#getMissingHandlers()">getMissingHandlers</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="strong">Returns:</span></dt><dd>the list of missing handlers.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/felix/ipojo/Factory.html#getMissingHandlers()"><code>Factory.getMissingHandlers()</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="getName()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getName</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/IPojoFactory.html#line.439">getName</a>()</pre> |
| <div class="block">Gets the factory name. |
| This name is immutable once set.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/Factory.html#getName()">getName</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="strong">Returns:</span></dt><dd>the factory name.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/felix/ipojo/Factory.html#getName()"><code>Factory.getName()</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="getRequiredHandlers()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRequiredHandlers</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="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/IPojoFactory.html#line.449">getRequiredHandlers</a>()</pre> |
| <div class="block">Gets the list of required handlers. |
| The required handler list cannot change.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/Factory.html#getRequiredHandlers()">getRequiredHandlers</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="strong">Returns:</span></dt><dd>the list of required handlers.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/felix/ipojo/Factory.html#getRequiredHandlers()"><code>Factory.getRequiredHandlers()</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="getState()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getState</h4> |
| <pre>public int <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.463">getState</a>()</pre> |
| <div class="block">Gets the actual factory state. |
| Must be synchronized as this state is dependent of handler availability.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/Factory.html#getState()">getState</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="strong">Returns:</span></dt><dd>the actual factory state.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/felix/ipojo/Factory.html#getState()"><code>Factory.getState()</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="getInstanceByName(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getInstanceByName</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/IPojoFactory.html#line.472">getInstanceByName</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> name)</pre> |
| <div class="block">Gets a component instance created by the current factory.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the instance name</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the component instance, null if not found</dd></dl> |
| </li> |
| </ul> |
| <a name="isAcceptable(java.util.Dictionary)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isAcceptable</h4> |
| <pre>public boolean <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.482">isAcceptable</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> conf)</pre> |
| <div class="block">Checks if the configuration is acceptable.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/Factory.html#isAcceptable(java.util.Dictionary)">isAcceptable</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="strong">Parameters:</span></dt><dd><code>conf</code> - the configuration to test.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the configuration is acceptable.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/felix/ipojo/Factory.html#isAcceptable(java.util.Dictionary)"><code>Factory.isAcceptable(java.util.Dictionary)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="checkAcceptability(java.util.Dictionary)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkAcceptability</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.503">checkAcceptability</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><<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>,?> conf) |
| 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">Checks if the configuration is acceptable. |
| This method checks the following assertions: |
| <li>All handlers can be creates</li> |
| <li>The configuration does not override immutable properties</li> |
| <li>The configuration contains a value for every unvalued property</li></div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>conf</code> - the configuration to test.</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> - if the configuration is unacceptable.</dd> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/MissingHandlerException.html" title="class in org.apache.felix.ipojo">MissingHandlerException</a></code> - if an handler is missing.</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/IPojoFactory.html#line.540">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">Reconfigures an existing instance. |
| The acceptability of the configuration is checked before the reconfiguration. Moreover, |
| the configuration must contain the 'instance.name' property specifying the instance |
| to reconfigure. |
| This method is synchronized to assert the validity of the factory during the reconfiguration.</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><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> - 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> - if the current factory is not valid.</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="removeFactoryStateListener(org.apache.felix.ipojo.FactoryStateListener)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeFactoryStateListener</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.564">removeFactoryStateListener</a>(<a href="../../../../org/apache/felix/ipojo/FactoryStateListener.html" title="interface in org.apache.felix.ipojo">FactoryStateListener</a> listener)</pre> |
| <div class="block">Removes a factory listener.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/Factory.html#removeFactoryStateListener(org.apache.felix.ipojo.FactoryStateListener)">removeFactoryStateListener</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="strong">Parameters:</span></dt><dd><code>listener</code> - the factory listener to remove.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/felix/ipojo/Factory.html#removeFactoryStateListener(org.apache.felix.ipojo.FactoryStateListener)"><code>Factory.removeFactoryStateListener(org.apache.felix.ipojo.FactoryStateListener)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="stopping()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>stopping</h4> |
| <pre>public abstract void <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.575">stopping</a>()</pre> |
| <div class="block">Stopping method. |
| This method is call when the factory is stopping. |
| This method is called when holding the lock on the factory.</div> |
| </li> |
| </ul> |
| <a name="stop()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>stop</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.584">stop</a>()</pre> |
| <div class="block">Stops all the instance managers. |
| This method calls the <a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#stopping()"><code>stopping()</code></a> method, |
| notifies listeners, and disposes created instances. Moreover, |
| if the factory is public, services are also unregistered.</div> |
| </li> |
| </ul> |
| <a name="dispose()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dispose</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.637">dispose</a>()</pre> |
| <div class="block">Destroys the factory. |
| The factory cannot be restarted. Only the <a href="../../../../org/apache/felix/ipojo/extender/internal/Extender.html" title="class in org.apache.felix.ipojo.extender.internal"><code>Extender</code></a> can call this method.</div> |
| </li> |
| </ul> |
| <a name="starting()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>starting</h4> |
| <pre>public abstract void <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.654">starting</a>()</pre> |
| <div class="block">Starting method. |
| This method is called when the factory is starting. |
| This method is <strong>not</strong> called when holding the lock on the factory.</div> |
| </li> |
| </ul> |
| <a name="start()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>start</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.662">start</a>()</pre> |
| <div class="block">Starts the factory. |
| Tries to compute the component type description, |
| calls the <a href="../../../../org/apache/felix/ipojo/IPojoFactory.html#starting()"><code>starting()</code></a> method, |
| and published services if the factory is public.</div> |
| </li> |
| </ul> |
| <a name="restart()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>restart</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.702">restart</a>()</pre> |
| <div class="block">For testing purpose <b>ONLY</b>. |
| This method recomputes the required handler list.</div> |
| </li> |
| </ul> |
| <a name="getIPOJOBundleContext()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getIPOJOBundleContext</h4> |
| <pre>protected final BundleContext <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.716">getIPOJOBundleContext</a>()</pre> |
| <div class="block">Gets the iPOJO Bundle Context.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the iPOJO Bundle Context</dd></dl> |
| </li> |
| </ul> |
| <a name="updated(java.lang.String, java.util.Dictionary)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>updated</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.726">updated</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> name, |
| <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="http://www.osgi.org/javadoc/r4v43/cmpn/org/osgi/service/cm/ConfigurationException.html?is-external=true" title="class or interface in org.osgi.service.cm">ConfigurationException</a></pre> |
| <div class="block">Creates or updates an instance. |
| This method is used from the configuration tracker.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the instance</dd><dd><code>properties</code> - the new configuration of the instance</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://www.osgi.org/javadoc/r4v43/cmpn/org/osgi/service/cm/ConfigurationException.html?is-external=true" title="class or interface in org.osgi.service.cm">ConfigurationException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="deleted(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deleted</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.766">deleted</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> name)</pre> |
| <div class="block">Deletes an instance.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the instance to delete</dd></dl> |
| </li> |
| </ul> |
| <a name="disposed(org.apache.felix.ipojo.ComponentInstance)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>disposed</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.778">disposed</a>(<a href="../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a> instance)</pre> |
| <div class="block">Callback called by instance when disposed.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>instance</code> - the destroyed instance</dd></dl> |
| </li> |
| </ul> |
| <a name="computeDescription()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>computeDescription</h4> |
| <pre>protected void <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.792">computeDescription</a>()</pre> |
| <div class="block">Computes the component type description. |
| To do this, it creates a 'ghost' instance of the handler |
| and calls the <a href="../../../../org/apache/felix/ipojo/Handler.html#initializeComponentFactory(org.apache.felix.ipojo.architecture.ComponentTypeDescription, org.apache.felix.ipojo.metadata.Element)"><code>Handler.initializeComponentFactory(ComponentTypeDescription, Element)</code></a> |
| method. The handler instance is then deleted. |
| The factory must be valid when calling this method. |
| This method is called with the lock.</div> |
| </li> |
| </ul> |
| <a name="computeFactoryState()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>computeFactoryState</h4> |
| <pre>protected void <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.820">computeFactoryState</a>()</pre> |
| <div class="block">Computes factory state. |
| The factory is valid if every required handler are available. |
| If the factory becomes valid for the first time, the component |
| type description is computed. |
| This method is called when holding the lock on the current factory.</div> |
| </li> |
| </ul> |
| <a name="match(org.apache.felix.ipojo.IPojoFactory.RequiredHandler, )"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>match</h4> |
| <pre>protected boolean <a href="../../../../src-html/org/apache/felix/ipojo/IPojoFactory.html#line.892">match</a>(<a href="../../../../org/apache/felix/ipojo/IPojoFactory.RequiredHandler.html" title="class in org.apache.felix.ipojo">IPojoFactory.RequiredHandler</a> req, |
| <any> ref)</pre> |
| <div class="block">Checks if the given handler identifier and the service reference match. |
| Does not need to be synchronized as the method does not use any fields.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>req</code> - the handler identifier.</dd><dd><code>ref</code> - the service reference.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the service reference can fulfill the handler requirement</dd></dl> |
| </li> |
| </ul> |
| <a name="getHandler(org.apache.felix.ipojo.IPojoFactory.RequiredHandler, org.apache.felix.ipojo.ServiceContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getHandler</h4> |
| <pre>protected <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/IPojoFactory.html#line.909">getHandler</a>(<a href="../../../../org/apache/felix/ipojo/IPojoFactory.RequiredHandler.html" title="class in org.apache.felix.ipojo">IPojoFactory.RequiredHandler</a> req, |
| <a href="../../../../org/apache/felix/ipojo/ServiceContext.html" title="interface in org.apache.felix.ipojo">ServiceContext</a> context)</pre> |
| <div class="block">Returns the handler object for the given required handler. |
| The handler is instantiated in the given service context. |
| This method is called with the lock.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>req</code> - the handler to create.</dd><dd><code>context</code> - the service context in which the handler is created (same as the instance context).</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the handler object.</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/IPojoFactory.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/IPojoContext.html" title="class in org.apache.felix.ipojo"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/felix/ipojo/IPojoFactory.DefaultNameGenerator.html" title="class in org.apache.felix.ipojo"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/felix/ipojo/IPojoFactory.html" target="_top">Frames</a></li> |
| <li><a href="IPojoFactory.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_class_summary">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> |