| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (1.8.0) on Wed Dec 24 15:58:25 CET 2014 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>InstanceManager (Apache Felix iPOJO ~ JavaDoc 1.12.1 API)</title> |
| <meta name="date" content="2014-12-24"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="InstanceManager (Apache Felix iPOJO ~ JavaDoc 1.12.1 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":42,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/InstanceManager.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/HandlerManagerFactory.HandlerTypeDescription.html" title="class in org.apache.felix.ipojo"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/felix/ipojo/InstanceStateListener.html" title="interface in org.apache.felix.ipojo"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/felix/ipojo/InstanceManager.html" target="_top">Frames</a></li> |
| <li><a href="InstanceManager.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>Nested | </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 InstanceManager" class="title">Class InstanceManager</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.felix.ipojo.InstanceManager</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a>, <a href="../../../../org/apache/felix/ipojo/extender/internal/linker/InstanceBundleContextAware.html" title="interface in org.apache.felix.ipojo.extender.internal.linker">InstanceBundleContextAware</a>, <a href="../../../../org/apache/felix/ipojo/InstanceStateListener.html" title="interface in org.apache.felix.ipojo">InstanceStateListener</a></dd> |
| </dl> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><a href="../../../../org/apache/felix/ipojo/HandlerManager.html" title="class in org.apache.felix.ipojo">HandlerManager</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.39">InstanceManager</a> |
| extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> |
| implements <a href="../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a>, <a href="../../../../org/apache/felix/ipojo/InstanceStateListener.html" title="interface in org.apache.felix.ipojo">InstanceStateListener</a>, <a href="../../../../org/apache/felix/ipojo/extender/internal/linker/InstanceBundleContextAware.html" title="interface in org.apache.felix.ipojo.extender.internal.linker">InstanceBundleContextAware</a></pre> |
| <div class="block">This class defines the container of primitive instances. It manages content initialization |
| and handlers cooperation.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Author:</span></dt> |
| <dd><a href="mailto:dev@felix.apache.org">Felix Project Team</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#m_className">m_className</a></span></code> |
| <div class="block">The name of the component type implementation class.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#m_clazz">m_clazz</a></span></code> |
| <div class="block">The manipulated class.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#m_constructorRegistration">m_constructorRegistration</a></span></code> |
| <div class="block">the map (sorted by parameter index) or <a href="../../../../org/apache/felix/ipojo/ConstructorInjector.html" title="interface in org.apache.felix.ipojo"><code>ConstructorInjector</code></a> interested by |
| injecting constructor parameter.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private BundleContext</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#m_context">m_context</a></span></code> |
| <div class="block">The bundle context of the instance.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../../../../org/apache/felix/ipojo/PrimitiveInstanceDescription.html" title="class in org.apache.felix.ipojo">PrimitiveInstanceDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#m_description">m_description</a></span></code> |
| <div class="block">The instance description.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../../../../org/apache/felix/ipojo/ComponentFactory.html" title="class in org.apache.felix.ipojo">ComponentFactory</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#m_factory">m_factory</a></span></code> |
| <div class="block">The instance factory.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#m_factoryMethod">m_factoryMethod</a></span></code> |
| <div class="block">The factory method used to create content objects.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#m_fieldRegistration">m_fieldRegistration</a></span></code> |
| <div class="block">The map [field, <a href="../../../../org/apache/felix/ipojo/FieldInterceptor.html" title="interface in org.apache.felix.ipojo"><code>FieldInterceptor</code></a> list] storing interceptors monitoring fields.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#m_fields">m_fields</a></span></code> |
| <div class="block">The map of [field, value], storing POJO managed |
| field value.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <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><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#m_handlers">m_handlers</a></span></code> |
| <div class="block">The handler object list.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private BundleContext</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#m_instanceContext">m_instanceContext</a></span></code> |
| <div class="block">The instance's bundle context.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#m_inTransition">m_inTransition</a></span></code> |
| <div class="block">Is the component instance state changing?</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#m_listeners">m_listeners</a></span></code> |
| <div class="block">The instance state listener list.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../../../../org/apache/felix/ipojo/util/Logger.html" title="class in org.apache.felix.ipojo.util">Logger</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#m_logger">m_logger</a></span></code> |
| <div class="block">The instance logger.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#m_methodRegistration">m_methodRegistration</a></span></code> |
| <div class="block">the map [method identifier, <a href="../../../../org/apache/felix/ipojo/MethodInterceptor.html" title="interface in org.apache.felix.ipojo"><code>MethodInterceptor</code></a> list] interested |
| by the method.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#m_methods">m_methods</a></span></code> |
| <div class="block">The Map storing the Method objects by ids.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#m_name">m_name</a></span></code> |
| <div class="block">The name of the component instance.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#m_pojoObjects">m_pojoObjects</a></span></code> |
| <div class="block">The content of the current instance.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#m_state">m_state</a></span></code> |
| <div class="block">The current instance state (<a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#STOPPED"><code>ComponentInstance.STOPPED</code></a> at the beginning).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#m_stateQueue">m_stateQueue</a></span></code> |
| <div class="block">The queue of stored state changed.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.apache.felix.ipojo.ComponentInstance"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from interface org.apache.felix.ipojo.<a href="../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a></h3> |
| <code><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#DISPOSED">DISPOSED</a>, <a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#INVALID">INVALID</a>, <a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#STOPPED">STOPPED</a>, <a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#VALID">VALID</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#InstanceManager-org.apache.felix.ipojo.ComponentFactory-BundleContext-org.apache.felix.ipojo.HandlerManager:A-">InstanceManager</a></span>(<a href="../../../../org/apache/felix/ipojo/ComponentFactory.html" title="class in org.apache.felix.ipojo">ComponentFactory</a> factory, |
| BundleContext context, |
| <a href="../../../../org/apache/felix/ipojo/HandlerManager.html" title="class in org.apache.felix.ipojo">HandlerManager</a>[] handlers)</code> |
| <div class="block">Creates a new Component Manager.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#addInstanceStateListener-org.apache.felix.ipojo.InstanceStateListener-">addInstanceStateListener</a></span>(<a href="../../../../org/apache/felix/ipojo/InstanceStateListener.html" title="interface in org.apache.felix.ipojo">InstanceStateListener</a> listener)</code> |
| <div class="block">Registers an instance state listener.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#configure-org.apache.felix.ipojo.metadata.Element-java.util.Dictionary-">configure</a></span>(<a href="../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a> metadata, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">Dictionary</a> configuration)</code> |
| <div class="block">Configures the instance manager.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#createObject--">createObject</a></span>()</code> |
| <div class="block">Creates a POJO objects.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#createPojoObject--">createPojoObject</a></span>()</code> |
| <div class="block">Creates an instance of the content.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#deletePojoObject-java.lang.Object-">deletePojoObject</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo)</code> |
| <div class="block">Deletes a POJO object.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#dispose--">dispose</a></span>()</code> |
| <div class="block">Disposes the instance.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#getClassName--">getClassName</a></span>()</code> |
| <div class="block">Gets the implementation class of the component type.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#getClazz--">getClazz</a></span>()</code> |
| <div class="block">Gets the manipulated class.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>BundleContext</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#getContext--">getContext</a></span>()</code> |
| <div class="block">Gets the bundle context used by this component instance.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/felix/ipojo/ComponentFactory.html" title="class in org.apache.felix.ipojo">ComponentFactory</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#getFactory--">getFactory</a></span>()</code> |
| <div class="block">Gets the factory which has created the current instance.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#getFieldValue-java.lang.String-">getFieldValue</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName)</code> |
| <div class="block">Gives access to a field value of the first created pojo.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#getFieldValue-java.lang.String-java.lang.Object-">getFieldValue</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo)</code> |
| <div class="block">Gives access to a field value to the given created pojo.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>BundleContext</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#getGlobalContext--">getGlobalContext</a></span>()</code> |
| <div class="block">Gets the global bundle context.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/felix/ipojo/Handler.html" title="class in org.apache.felix.ipojo">Handler</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#getHandler-java.lang.String-">getHandler</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> |
| <div class="block">Returns a specified handler.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>BundleContext</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#getInstanceContext--">getInstanceContext</a></span>()</code> |
| <div class="block">Gets the bundle context of the instance, i.e.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/felix/ipojo/architecture/InstanceDescription.html" title="class in org.apache.felix.ipojo.architecture">InstanceDescription</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#getInstanceDescription--">getInstanceDescription</a></span>()</code> |
| <div class="block">Gets the description of the current instance.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#getInstanceName--">getInstanceName</a></span>()</code> |
| <div class="block">Gets the instance name.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/felix/ipojo/ServiceContext.html" title="interface in org.apache.felix.ipojo">ServiceContext</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#getLocalServiceContext--">getLocalServiceContext</a></span>()</code> |
| <div class="block">Gets the local service context.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <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><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#getLogger--">getLogger</a></span>()</code> |
| <div class="block">The instance logger.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Member.html?is-external=true" title="class or interface in java.lang.reflect">Member</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#getMethodById-java.lang.String-">getMethodById</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> methodId)</code> |
| <div class="block">Computes the <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect"><code>Method</code></a> object from the given id.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#getPojoObject--">getPojoObject</a></span>()</code> |
| <div class="block">Gets the first object created by the instance.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#getPojoObjects--">getPojoObjects</a></span>()</code> |
| <div class="block">Gets the object array created by the instance.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/felix/ipojo/Handler.html" title="class in org.apache.felix.ipojo">Handler</a>[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#getRegisteredHandlers--">getRegisteredHandlers</a></span>()</code> |
| <div class="block">Gets the list of handlers plugged (i.e.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#getRegistredFields--">getRegistredFields</a></span>()</code> |
| <div class="block">Gets the list of registered fields (containing field names).</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#getRegistredMethods--">getRegistredMethods</a></span>()</code> |
| <div class="block">Gets the list of registered methods (containing method ids).</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#getState--">getState</a></span>()</code> |
| <div class="block">Gets the actual state of the instance.</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#handleBCInjections--">handleBCInjections</a></span>()</code> |
| <div class="block">BundleContext injection is not registered with the InstanceManager.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#isStarted--">isStarted</a></span>()</code> |
| <div class="block">Checks if the instance is started.</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#load--">load</a></span>()</code> |
| <div class="block">Loads the manipulated class.</div> |
| </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#managedInjectedObject--">managedInjectedObject</a></span>()</code> |
| <div class="block">Configures an injected object in this container.</div> |
| </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#onEntry-java.lang.Object-java.lang.String-java.lang.Object:A-">onEntry</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> methodId, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] args)</code> |
| <div class="block">Dispatches entry method events on registered method interceptors.</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#onError-java.lang.Object-java.lang.String-java.lang.Throwable-">onError</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> methodId, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> error)</code> |
| <div class="block">Dispatches error method events on registered method interceptors.</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#onExit-java.lang.Object-java.lang.String-java.lang.Object-">onExit</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> methodId, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> result)</code> |
| <div class="block">Dispatches exit method events on registered method interceptors.</div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#onGet-java.lang.Object-java.lang.String-">onGet</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName)</code> |
| <div class="block">This method is called by the manipulated class each time that a GETFIELD instruction is executed.</div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#onSet-java.lang.Object-java.lang.String-java.lang.Object-">onSet</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> objectValue)</code> |
| <div class="block">This method is called by the manipulated class each time that a PUTFIELD instruction is executed.</div> |
| </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#reconfigure-java.util.Dictionary-">reconfigure</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">Dictionary</a> configuration)</code> |
| <div class="block">Reconfigures the current instance.</div> |
| </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#register-org.apache.felix.ipojo.parser.FieldMetadata-org.apache.felix.ipojo.FieldInterceptor-">register</a></span>(<a href="../../../../org/apache/felix/ipojo/parser/FieldMetadata.html" title="class in org.apache.felix.ipojo.parser">FieldMetadata</a> field, |
| <a href="../../../../org/apache/felix/ipojo/FieldInterceptor.html" title="interface in org.apache.felix.ipojo">FieldInterceptor</a> interceptor)</code> |
| <div class="block">Registers a field interceptor.</div> |
| </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#register-int-org.apache.felix.ipojo.ConstructorInjector-">register</a></span>(int index, |
| <a href="../../../../org/apache/felix/ipojo/ConstructorInjector.html" title="interface in org.apache.felix.ipojo">ConstructorInjector</a> injector)</code> |
| <div class="block">Registers a constructor injector.</div> |
| </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#register-org.apache.felix.ipojo.parser.MethodMetadata-org.apache.felix.ipojo.MethodInterceptor-">register</a></span>(<a href="../../../../org/apache/felix/ipojo/parser/MethodMetadata.html" title="class in org.apache.felix.ipojo.parser">MethodMetadata</a> method, |
| <a href="../../../../org/apache/felix/ipojo/MethodInterceptor.html" title="interface in org.apache.felix.ipojo">MethodInterceptor</a> interceptor)</code> |
| <div class="block">Registers a method interceptor.</div> |
| </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#register-org.apache.felix.ipojo.parser.MethodMetadata-java.lang.String-org.apache.felix.ipojo.MethodInterceptor-">register</a></span>(<a href="../../../../org/apache/felix/ipojo/parser/MethodMetadata.html" title="class in org.apache.felix.ipojo.parser">MethodMetadata</a> method, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> innerClass, |
| <a href="../../../../org/apache/felix/ipojo/MethodInterceptor.html" title="interface in org.apache.felix.ipojo">MethodInterceptor</a> interceptor)</code> |
| <div class="block">Registers a method interceptor on a methods from an inner class.</div> |
| </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#register-org.apache.felix.ipojo.PrimitiveHandler-org.apache.felix.ipojo.parser.FieldMetadata:A-org.apache.felix.ipojo.parser.MethodMetadata:A-">register</a></span>(<a href="../../../../org/apache/felix/ipojo/PrimitiveHandler.html" title="class in org.apache.felix.ipojo">PrimitiveHandler</a> handler, |
| <a href="../../../../org/apache/felix/ipojo/parser/FieldMetadata.html" title="class in org.apache.felix.ipojo.parser">FieldMetadata</a>[] fields, |
| <a href="../../../../org/apache/felix/ipojo/parser/MethodMetadata.html" title="class in org.apache.felix.ipojo.parser">MethodMetadata</a>[] methods)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">use <a href="../../../../org/apache/felix/ipojo/InstanceManager.html#register-org.apache.felix.ipojo.parser.FieldMetadata-org.apache.felix.ipojo.FieldInterceptor-"><code>register(FieldMetadata, FieldInterceptor)</code></a> |
| and <a href="../../../../org/apache/felix/ipojo/InstanceManager.html#register-org.apache.felix.ipojo.parser.MethodMetadata-org.apache.felix.ipojo.MethodInterceptor-"><code>register(MethodMetadata, MethodInterceptor)</code></a> instead.</span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i41" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#removeInstanceStateListener-org.apache.felix.ipojo.InstanceStateListener-">removeInstanceStateListener</a></span>(<a href="../../../../org/apache/felix/ipojo/InstanceStateListener.html" title="interface in org.apache.felix.ipojo">InstanceStateListener</a> listener)</code> |
| <div class="block">Unregisters an instance state listener.</div> |
| </td> |
| </tr> |
| <tr id="i42" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#setInstanceBundleContext-BundleContext-">setInstanceBundleContext</a></span>(BundleContext context)</code> |
| <div class="block">Sets the instance bundle context.</div> |
| </td> |
| </tr> |
| <tr id="i43" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#setState-int-">setState</a></span>(int state)</code> |
| <div class="block">Sets the state of the component instance.</div> |
| </td> |
| </tr> |
| <tr id="i44" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#start--">start</a></span>()</code> |
| <div class="block">Starts the instance manager.</div> |
| </td> |
| </tr> |
| <tr id="i45" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#stateChanged-org.apache.felix.ipojo.ComponentInstance-int-">stateChanged</a></span>(<a href="../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a> instance, |
| int newState)</code> |
| <div class="block">State Change listener callback.</div> |
| </td> |
| </tr> |
| <tr id="i46" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/felix/ipojo/InstanceManager.html#stop--">stop</a></span>()</code> |
| <div class="block">Stops the instance manager.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="m_name"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_name</h4> |
| <pre>protected <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.43">m_name</a></pre> |
| <div class="block">The name of the component instance.</div> |
| </li> |
| </ul> |
| <a name="m_className"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_className</h4> |
| <pre>protected <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.48">m_className</a></pre> |
| <div class="block">The name of the component type implementation class.</div> |
| </li> |
| </ul> |
| <a name="m_handlers"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_handlers</h4> |
| <pre>protected final <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/InstanceManager.html#line.53">m_handlers</a></pre> |
| <div class="block">The handler object list.</div> |
| </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/InstanceManager.html#line.63">m_state</a></pre> |
| <div class="block">The current instance state (<a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#STOPPED"><code>ComponentInstance.STOPPED</code></a> at the beginning). |
| Possible value are |
| <li><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#INVALID"><code>ComponentInstance.INVALID</code></a></li> |
| <li><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#VALID"><code>ComponentInstance.VALID</code></a></li> |
| <li><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#DISPOSED"><code>ComponentInstance.DISPOSED</code></a></li> |
| <li><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#STOPPED"><code>ComponentInstance.STOPPED</code></a></li></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/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.70">m_listeners</a></pre> |
| <div class="block">The instance state listener list.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/felix/ipojo/InstanceStateListener.html" title="interface in org.apache.felix.ipojo"><code>InstanceStateListener</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="m_pojoObjects"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_pojoObjects</h4> |
| <pre>protected <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.75">m_pojoObjects</a></pre> |
| <div class="block">The content of the current instance.</div> |
| </li> |
| </ul> |
| <a name="m_factory"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_factory</h4> |
| <pre>private final <a href="../../../../org/apache/felix/ipojo/ComponentFactory.html" title="class in org.apache.felix.ipojo">ComponentFactory</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.80">m_factory</a></pre> |
| <div class="block">The instance factory.</div> |
| </li> |
| </ul> |
| <a name="m_logger"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_logger</h4> |
| <pre>private 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/InstanceManager.html#line.85">m_logger</a></pre> |
| <div class="block">The instance logger.</div> |
| </li> |
| </ul> |
| <a name="m_description"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_description</h4> |
| <pre>private final <a href="../../../../org/apache/felix/ipojo/PrimitiveInstanceDescription.html" title="class in org.apache.felix.ipojo">PrimitiveInstanceDescription</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.90">m_description</a></pre> |
| <div class="block">The instance description.</div> |
| </li> |
| </ul> |
| <a name="m_context"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_context</h4> |
| <pre>private final BundleContext <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.95">m_context</a></pre> |
| <div class="block">The bundle context of the instance.</div> |
| </li> |
| </ul> |
| <a name="m_fieldRegistration"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_fieldRegistration</h4> |
| <pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.101">m_fieldRegistration</a></pre> |
| <div class="block">The map [field, <a href="../../../../org/apache/felix/ipojo/FieldInterceptor.html" title="interface in org.apache.felix.ipojo"><code>FieldInterceptor</code></a> list] storing interceptors monitoring fields. |
| Once configured, this map can't change.</div> |
| </li> |
| </ul> |
| <a name="m_methodRegistration"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_methodRegistration</h4> |
| <pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.108">m_methodRegistration</a></pre> |
| <div class="block">the map [method identifier, <a href="../../../../org/apache/felix/ipojo/MethodInterceptor.html" title="interface in org.apache.felix.ipojo"><code>MethodInterceptor</code></a> list] interested |
| by the method. |
| Once configured, this map can't change.</div> |
| </li> |
| </ul> |
| <a name="m_constructorRegistration"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_constructorRegistration</h4> |
| <pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.115">m_constructorRegistration</a></pre> |
| <div class="block">the map (sorted by parameter index) or <a href="../../../../org/apache/felix/ipojo/ConstructorInjector.html" title="interface in org.apache.felix.ipojo"><code>ConstructorInjector</code></a> interested by |
| injecting constructor parameter. |
| Once configured, this list can't change.</div> |
| </li> |
| </ul> |
| <a name="m_clazz"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_clazz</h4> |
| <pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.121">m_clazz</a></pre> |
| <div class="block">The manipulated class. |
| Once set, this field doesn't change.</div> |
| </li> |
| </ul> |
| <a name="m_factoryMethod"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_factoryMethod</h4> |
| <pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.128">m_factoryMethod</a></pre> |
| <div class="block">The factory method used to create content objects. |
| If <code>null</code>, the regular constructor is used. |
| Once set, this field is immutable.</div> |
| </li> |
| </ul> |
| <a name="m_inTransition"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_inTransition</h4> |
| <pre>private boolean <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.133">m_inTransition</a></pre> |
| <div class="block">Is the component instance state changing?</div> |
| </li> |
| </ul> |
| <a name="m_stateQueue"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_stateQueue</h4> |
| <pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.138">m_stateQueue</a></pre> |
| <div class="block">The queue of stored state changed.</div> |
| </li> |
| </ul> |
| <a name="m_fields"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_fields</h4> |
| <pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.144">m_fields</a></pre> |
| <div class="block">The map of [field, value], storing POJO managed |
| field value.</div> |
| </li> |
| </ul> |
| <a name="m_methods"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_methods</h4> |
| <pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.150">m_methods</a></pre> |
| <div class="block">The Map storing the Method objects by ids. |
| [id=><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect"><code>Method</code></a>].</div> |
| </li> |
| </ul> |
| <a name="m_instanceContext"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>m_instanceContext</h4> |
| <pre>private BundleContext <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.155">m_instanceContext</a></pre> |
| <div class="block">The instance's bundle context.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="InstanceManager-org.apache.felix.ipojo.ComponentFactory-BundleContext-org.apache.felix.ipojo.HandlerManager:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>InstanceManager</h4> |
| <pre>public <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.166">InstanceManager</a>(<a href="../../../../org/apache/felix/ipojo/ComponentFactory.html" title="class in org.apache.felix.ipojo">ComponentFactory</a> factory, |
| BundleContext context, |
| <a href="../../../../org/apache/felix/ipojo/HandlerManager.html" title="class in org.apache.felix.ipojo">HandlerManager</a>[] handlers)</pre> |
| <div class="block">Creates a new Component Manager. |
| The instance is not initialized.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>factory</code> - the factory managing the instance manager</dd> |
| <dd><code>context</code> - the bundle context to give to the instance</dd> |
| <dd><code>handlers</code> - handler object array</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="setInstanceBundleContext-BundleContext-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setInstanceBundleContext</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.180">setInstanceBundleContext</a>(BundleContext context)</pre> |
| <div class="block">Sets the instance bundle context.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/extender/internal/linker/InstanceBundleContextAware.html#setInstanceBundleContext-BundleContext-">setInstanceBundleContext</a></code> in interface <code><a href="../../../../org/apache/felix/ipojo/extender/internal/linker/InstanceBundleContextAware.html" title="interface in org.apache.felix.ipojo.extender.internal.linker">InstanceBundleContextAware</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - the bundle context of the bundle having declared the instance</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.11.2</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/InstanceManager.html#line.189">getLogger</a>()</pre> |
| <div class="block">The instance logger.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the logger</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="configure-org.apache.felix.ipojo.metadata.Element-java.util.Dictionary-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>configure</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.202">configure</a>(<a href="../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a> metadata, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">Dictionary</a> configuration) |
| throws <a href="../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></pre> |
| <div class="block">Configures the instance manager. |
| Sets the class name, and the instance name as well as the factory method. |
| Initializes handlers.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metadata</code> - the component type metadata</dd> |
| <dd><code>configuration</code> - the configuration of the instance</dd> |
| <dt><span class="throwsLabel">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 metadata are not correct</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="handleBCInjections--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleBCInjections</h4> |
| <pre>private void <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.254">handleBCInjections</a>() |
| throws <a href="../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></pre> |
| <div class="block">BundleContext injection is not registered with the InstanceManager. |
| We're iterating through factory's all constructors and register first |
| BundleContext parameter as constructor injection. So rest of the code |
| don't have to do anything to handle BundleContext mixed with other |
| injections.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getInstanceDescription--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getInstanceDescription</h4> |
| <pre>public <a href="../../../../org/apache/felix/ipojo/architecture/InstanceDescription.html" title="class in org.apache.felix.ipojo.architecture">InstanceDescription</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.307">getInstanceDescription</a>()</pre> |
| <div class="block">Gets the description of the current instance.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#getInstanceDescription--">getInstanceDescription</a></code> in interface <code><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the instance description.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#getInstanceDescription--"><code>ComponentInstance.getInstanceDescription()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getRegisteredHandlers--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRegisteredHandlers</h4> |
| <pre>public <a href="../../../../org/apache/felix/ipojo/Handler.html" title="class in org.apache.felix.ipojo">Handler</a>[] <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.317">getRegisteredHandlers</a>()</pre> |
| <div class="block">Gets the list of handlers plugged (i.e. attached) on the instance. |
| This method does not need a synchronized block as the handler set is constant.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the handler array of plugged handlers.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getHandler-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getHandler</h4> |
| <pre>public <a href="../../../../org/apache/felix/ipojo/Handler.html" title="class in org.apache.felix.ipojo">Handler</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.333">getHandler</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> |
| <div class="block">Returns a specified handler. |
| This method allows cross-handler interactions. |
| This must does not need a synchronized block as the handler set is constant.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - the class name of the handler to find or its qualified name (namespace:name)</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the handler, or null if not found</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFieldValue-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFieldValue</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.351">getFieldValue</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName)</pre> |
| <div class="block">Gives access to a field value of the first created pojo. |
| This method processes by analyzing both managed fields and pojo fields (by reflection). |
| If no pojo were already created try only on managed fields.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>fieldName</code> - the field name.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the field value, <code>null</code> is returned if the value is managed and not already set.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFieldValue-java.lang.String-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFieldValue</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.368">getFieldValue</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo)</pre> |
| <div class="block">Gives access to a field value to the given created pojo. |
| This method processes by analyzing both managed fields and pojo fields (by reflection). |
| If the given pojo is <code>null</code>, tries only on managed fields.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>fieldName</code> - the field name.</dd> |
| <dd><code>pojo</code> - the pojo on which computing field value.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the field value, <code>null</code> is returned if the value is managed and not already set.</dd> |
| </dl> |
| </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/InstanceManager.html#line.403">start</a>()</pre> |
| <div class="block">Starts the instance manager. |
| This method activates plugged handlers, |
| and computes the initial instance state.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#start--">start</a></code> in interface <code><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="stop--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>stop</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.449">stop</a>()</pre> |
| <div class="block">Stops the instance manager. |
| This methods sets the instance state to <a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#STOPPED"><code>ComponentInstance.STOPPED</code></a>, |
| disables attached handlers, and notifies listeners (<a href="../../../../org/apache/felix/ipojo/InstanceStateListener.html" title="interface in org.apache.felix.ipojo"><code>InstanceStateListener</code></a>) |
| of the instance stopping process.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#stop--">stop</a></code> in interface <code><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="dispose--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dispose</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.492">dispose</a>()</pre> |
| <div class="block">Disposes the instance. |
| This method does the following process: |
| <li>Stop the instance is not <a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#STOPPED"><code>ComponentInstance.STOPPED</code></a></li> |
| <li>Notifies listeners <a href="../../../../org/apache/felix/ipojo/InstanceStateListener.html" title="interface in org.apache.felix.ipojo"><code>InstanceStateListener</code></a> of the destruction</li> |
| <li>Disposes attached handlers</li> |
| <li>Clears structures</li></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#dispose--">dispose</a></code> in interface <code><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#dispose--"><code>ComponentInstance.dispose()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setState-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setState</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.535">setState</a>(int state)</pre> |
| <div class="block">Sets the state of the component instance. |
| If the state changes, calls the <a href="../../../../org/apache/felix/ipojo/Handler.html#stateChanged-int-"><code>Handler.stateChanged(int)</code></a> method on the attached handlers. |
| This method has a reentrant mechanism. If in the flow of the first call the method is called another times, |
| the second call is stored and executed after the first one finished.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>state</code> - the new state</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/InstanceManager.html#line.609">getState</a>()</pre> |
| <div class="block">Gets the actual state of the instance. |
| Possible values are: |
| <li><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#INVALID"><code>ComponentInstance.INVALID</code></a></li> |
| <li><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#VALID"><code>ComponentInstance.VALID</code></a></li> |
| <li><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#DISPOSED"><code>ComponentInstance.DISPOSED</code></a></li> |
| <li><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#STOPPED"><code>ComponentInstance.STOPPED</code></a></li></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#getState--">getState</a></code> in interface <code><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the actual state of the component instance.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#getState--"><code>ComponentInstance.getState()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isStarted--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isStarted</h4> |
| <pre>public boolean <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.621">isStarted</a>()</pre> |
| <div class="block">Checks if the instance is started. |
| An instance is started if the state is either |
| <a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#VALID"><code>ComponentInstance.VALID</code></a> or <a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#INVALID"><code>ComponentInstance.INVALID</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#isStarted--">isStarted</a></code> in interface <code><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the instance is started.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#isStarted--"><code>ComponentInstance.isStarted()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addInstanceStateListener-org.apache.felix.ipojo.InstanceStateListener-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addInstanceStateListener</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.631">addInstanceStateListener</a>(<a href="../../../../org/apache/felix/ipojo/InstanceStateListener.html" title="interface in org.apache.felix.ipojo">InstanceStateListener</a> listener)</pre> |
| <div class="block">Registers an instance state listener.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#addInstanceStateListener-org.apache.felix.ipojo.InstanceStateListener-">addInstanceStateListener</a></code> in interface <code><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>listener</code> - the listener to register.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#addInstanceStateListener-org.apache.felix.ipojo.InstanceStateListener-"><code>ComponentInstance.addInstanceStateListener(org.apache.felix.ipojo.InstanceStateListener)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="removeInstanceStateListener-org.apache.felix.ipojo.InstanceStateListener-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeInstanceStateListener</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.644">removeInstanceStateListener</a>(<a href="../../../../org/apache/felix/ipojo/InstanceStateListener.html" title="interface in org.apache.felix.ipojo">InstanceStateListener</a> listener)</pre> |
| <div class="block">Unregisters an instance state listener.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#removeInstanceStateListener-org.apache.felix.ipojo.InstanceStateListener-">removeInstanceStateListener</a></code> in interface <code><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>listener</code> - the listener to unregister.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#removeInstanceStateListener-org.apache.felix.ipojo.InstanceStateListener-"><code>ComponentInstance.removeInstanceStateListener(org.apache.felix.ipojo.InstanceStateListener)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFactory--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFactory</h4> |
| <pre>public <a href="../../../../org/apache/felix/ipojo/ComponentFactory.html" title="class in org.apache.felix.ipojo">ComponentFactory</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.659">getFactory</a>()</pre> |
| <div class="block">Gets the factory which has created the current instance.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#getFactory--">getFactory</a></code> in interface <code><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the factory of the component</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#getFactory--"><code>ComponentInstance.getFactory()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="load--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>load</h4> |
| <pre>protected void <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.666">load</a>()</pre> |
| <div class="block">Loads the manipulated class.</div> |
| </li> |
| </ul> |
| <a name="getPojoObjects--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPojoObjects</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.681">getPojoObjects</a>()</pre> |
| <div class="block">Gets the object array created by the instance.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the created content objects of the component instance.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createObject--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createObject</h4> |
| <pre>protected <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.700">createObject</a>()</pre> |
| <div class="block">Creates a POJO objects. |
| This method is not synchronized and does not require any locks. |
| If a <a href="../../../../org/apache/felix/ipojo/InstanceManager.html#m_factoryMethod"><code>m_factoryMethod</code></a> is specified, |
| this method called this static method to creates the object. |
| Otherwise, the methods uses the regular constructor. |
| All those methods can receive the <code>BundleContext</code> in |
| argument.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the created object or <code>null</code> if an error |
| occurs during the creation.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createPojoObject--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createPojoObject</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.909">createPojoObject</a>()</pre> |
| <div class="block">Creates an instance of the content. |
| This method needs to be called once only for singleton provided service. |
| This methods call the <a href="../../../../org/apache/felix/ipojo/InstanceManager.html#createObject--"><code>createObject()</code></a> method, and adds |
| the created object to the <a href="../../../../org/apache/felix/ipojo/InstanceManager.html#m_pojoObjects"><code>m_pojoObjects</code></a> list. Then, |
| it calls the <a href="../../../../org/apache/felix/ipojo/PrimitiveHandler.html#onCreation-java.lang.Object-"><code>PrimitiveHandler.onCreation(Object)</code></a> methods on attached |
| handlers.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new instance or <code>null</code> if an error occurs during the |
| creation.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="deletePojoObject-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deletePojoObject</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.933">deletePojoObject</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo)</pre> |
| <div class="block">Deletes a POJO object.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>pojo</code> - the pojo to remove from the list of created pojos.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getPojoObject--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPojoObject</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.956">getPojoObject</a>()</pre> |
| <div class="block">Gets the first object created by the instance. |
| If no object created, creates and returns a POJO object. |
| This methods call the <a href="../../../../org/apache/felix/ipojo/InstanceManager.html#createObject--"><code>createObject()</code></a> method, and adds |
| the created object to the <a href="../../../../org/apache/felix/ipojo/InstanceManager.html#m_pojoObjects"><code>m_pojoObjects</code></a> list. Then, |
| it calls the <a href="../../../../org/apache/felix/ipojo/PrimitiveHandler.html#onCreation-java.lang.Object-"><code>PrimitiveHandler.onCreation(Object)</code></a> methods on attached |
| handlers. |
| <br/> |
| <p> |
| <b>TODO</b> this method has a potential race condition if two threads require a pojo |
| object at the same time. Only one object will be created, but the second thread |
| can receive the created object before the <a href="../../../../org/apache/felix/ipojo/PrimitiveHandler.html#onCreation-java.lang.Object-"><code>PrimitiveHandler.onCreation(Object)</code></a> |
| calls. |
| </p></div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the pojo object of the component instance to use for singleton component</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getClazz--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getClazz</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.990">getClazz</a>()</pre> |
| <div class="block">Gets the manipulated class. |
| The method does not need to be synchronized. |
| Reassigning the internal class will use the same class object.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the manipulated class</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="managedInjectedObject--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>managedInjectedObject</h4> |
| <pre>private void <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.1000">managedInjectedObject</a>()</pre> |
| <div class="block">Configures an injected object in this container.</div> |
| </li> |
| </ul> |
| <a name="register-org.apache.felix.ipojo.PrimitiveHandler-org.apache.felix.ipojo.parser.FieldMetadata:A-org.apache.felix.ipojo.parser.MethodMetadata:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>register</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.1044">register</a>(<a href="../../../../org/apache/felix/ipojo/PrimitiveHandler.html" title="class in org.apache.felix.ipojo">PrimitiveHandler</a> handler, |
| <a href="../../../../org/apache/felix/ipojo/parser/FieldMetadata.html" title="class in org.apache.felix.ipojo.parser">FieldMetadata</a>[] fields, |
| <a href="../../../../org/apache/felix/ipojo/parser/MethodMetadata.html" title="class in org.apache.felix.ipojo.parser">MethodMetadata</a>[] methods)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use <a href="../../../../org/apache/felix/ipojo/InstanceManager.html#register-org.apache.felix.ipojo.parser.FieldMetadata-org.apache.felix.ipojo.FieldInterceptor-"><code>register(FieldMetadata, FieldInterceptor)</code></a> |
| and <a href="../../../../org/apache/felix/ipojo/InstanceManager.html#register-org.apache.felix.ipojo.parser.MethodMetadata-org.apache.felix.ipojo.MethodInterceptor-"><code>register(MethodMetadata, MethodInterceptor)</code></a> instead.</span></div> |
| <div class="block">Registers an handler. |
| This methods is called by handler wanting to monitor |
| fields and/or methods of the implementation class.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>handler</code> - the handler to register</dd> |
| <dd><code>fields</code> - the field metadata list</dd> |
| <dd><code>methods</code> - the method metadata list</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="register-org.apache.felix.ipojo.parser.FieldMetadata-org.apache.felix.ipojo.FieldInterceptor-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>register</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.1062">register</a>(<a href="../../../../org/apache/felix/ipojo/parser/FieldMetadata.html" title="class in org.apache.felix.ipojo.parser">FieldMetadata</a> field, |
| <a href="../../../../org/apache/felix/ipojo/FieldInterceptor.html" title="interface in org.apache.felix.ipojo">FieldInterceptor</a> interceptor)</pre> |
| <div class="block">Registers a field interceptor. |
| A field interceptor will be notified of field access of the |
| implementation class. Note that handlers are field interceptors.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>field</code> - the field to monitor</dd> |
| <dd><code>interceptor</code> - the field interceptor object</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="register-org.apache.felix.ipojo.parser.MethodMetadata-org.apache.felix.ipojo.MethodInterceptor-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>register</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.1092">register</a>(<a href="../../../../org/apache/felix/ipojo/parser/MethodMetadata.html" title="class in org.apache.felix.ipojo.parser">MethodMetadata</a> method, |
| <a href="../../../../org/apache/felix/ipojo/MethodInterceptor.html" title="interface in org.apache.felix.ipojo">MethodInterceptor</a> interceptor)</pre> |
| <div class="block">Registers a method interceptor. |
| A method interceptor will be notified of method entries, exits |
| and errors. Note that handlers are method interceptors.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>method</code> - the field to monitor</dd> |
| <dd><code>interceptor</code> - the field interceptor object</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="register-org.apache.felix.ipojo.parser.MethodMetadata-java.lang.String-org.apache.felix.ipojo.MethodInterceptor-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>register</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.1123">register</a>(<a href="../../../../org/apache/felix/ipojo/parser/MethodMetadata.html" title="class in org.apache.felix.ipojo.parser">MethodMetadata</a> method, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> innerClass, |
| <a href="../../../../org/apache/felix/ipojo/MethodInterceptor.html" title="interface in org.apache.felix.ipojo">MethodInterceptor</a> interceptor)</pre> |
| <div class="block">Registers a method interceptor on a methods from an inner class. |
| A method interceptor will be notified of method entries, exits |
| and errors. Note that handlers are method interceptors.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>method</code> - the field to monitor</dd> |
| <dd><code>innerClass</code> - the inner class name</dd> |
| <dd><code>interceptor</code> - the field interceptor object</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="register-int-org.apache.felix.ipojo.ConstructorInjector-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>register</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.1158">register</a>(int index, |
| <a href="../../../../org/apache/felix/ipojo/ConstructorInjector.html" title="interface in org.apache.felix.ipojo">ConstructorInjector</a> injector) |
| throws <a href="../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></pre> |
| <div class="block">Registers a constructor injector. |
| The constructor injector will be called when a pojo object is going to be |
| created.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - the index of the parameter. Only one injector per index can |
| be registered.</dd> |
| <dd><code>injector</code> - the injector object.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></code> - if the given index is already injected by another |
| injector</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="onGet-java.lang.Object-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onGet</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.1182">onGet</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName)</pre> |
| <div class="block">This method is called by the manipulated class each time that a GETFIELD instruction is executed. |
| The method asks to each attached handler monitoring this field which value need |
| to be injected (i.e. returned) by invoking the <a href="../../../../org/apache/felix/ipojo/PrimitiveHandler.html#onGet-java.lang.Object-java.lang.String-java.lang.Object-"><code>PrimitiveHandler.onGet(Object, String, Object)</code></a> |
| method. If the field value changes, this method call the <a href="../../../../org/apache/felix/ipojo/PrimitiveHandler.html#onSet-java.lang.Object-java.lang.String-java.lang.Object-"><code>PrimitiveHandler.onSet(Object, String, Object)</code></a> |
| method on each field interceptor monitoring the field in order to advertize the new value.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>pojo</code> - the pojo object on which the field was get</dd> |
| <dd><code>fieldName</code> - the field name on which the GETFIELD instruction is called</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the value decided by the last asked handler (throws a warning if two fields decide two different values)</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="onEntry-java.lang.Object-java.lang.String-java.lang.Object:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onEntry</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.1234">onEntry</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> methodId, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] args)</pre> |
| <div class="block">Dispatches entry method events on registered method interceptors. |
| This method calls the <a href="../../../../org/apache/felix/ipojo/MethodInterceptor.html#onEntry-java.lang.Object-java.lang.reflect.Member-java.lang.Object:A-"><code>MethodInterceptor.onEntry(Object, java.lang.reflect.Member, Object[])</code></a> |
| methods on method interceptors monitoring the method.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>pojo</code> - the pojo object on which method is invoked.</dd> |
| <dd><code>methodId</code> - the method id used to compute the <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect"><code>Method</code></a> object.</dd> |
| <dd><code>args</code> - the argument array</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="onExit-java.lang.Object-java.lang.String-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onExit</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.1262">onExit</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> methodId, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> result)</pre> |
| <div class="block">Dispatches exit method events on registered method interceptors. |
| The given returned object is an instance of <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang"><code>Exception</code></a> if the method thrown an |
| exception. If the given object is <code>null</code>, either the method returns <code>void</code>, |
| or the method has returned <code>null</code> |
| This method calls the <a href="../../../../org/apache/felix/ipojo/MethodInterceptor.html#onExit-java.lang.Object-java.lang.reflect.Member-java.lang.Object-"><code>MethodInterceptor.onExit(Object, java.lang.reflect.Member, Object)</code></a> and the |
| <a href="../../../../org/apache/felix/ipojo/MethodInterceptor.html#onFinally-java.lang.Object-java.lang.reflect.Member-"><code>MethodInterceptor.onFinally(Object, java.lang.reflect.Member)</code></a> methods on method interceptors |
| monitoring the method.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>pojo</code> - the pojo object on which method was invoked.</dd> |
| <dd><code>methodId</code> - the method id used to compute the <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect"><code>Method</code></a> object.</dd> |
| <dd><code>result</code> - the returned object.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="onError-java.lang.Object-java.lang.String-java.lang.Throwable-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onError</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.1287">onError</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> methodId, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> error)</pre> |
| <div class="block">Dispatches error method events on registered method interceptors. |
| or the method has returned <code>null</code> |
| This method calls the <a href="../../../../org/apache/felix/ipojo/MethodInterceptor.html#onError-java.lang.Object-java.lang.reflect.Member-java.lang.Throwable-"><code>MethodInterceptor.onError(Object, java.lang.reflect.Member, Throwable)</code></a> and the |
| <a href="../../../../org/apache/felix/ipojo/MethodInterceptor.html#onFinally-java.lang.Object-java.lang.reflect.Member-"><code>MethodInterceptor.onFinally(Object, java.lang.reflect.Member)</code></a> methods on method interceptors monitoring |
| the method.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>pojo</code> - the pojo object on which the method was invoked</dd> |
| <dd><code>methodId</code> - the method id used to compute the <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect"><code>Method</code></a> object.</dd> |
| <dd><code>error</code> - the Throwable object.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMethodById-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMethodById</h4> |
| <pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Member.html?is-external=true" title="class or interface in java.lang.reflect">Member</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.1309">getMethodById</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> methodId)</pre> |
| <div class="block">Computes the <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect"><code>Method</code></a> object from the given id. |
| Once computes, a map is used as a cache to avoid to recompute for |
| the same id.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>methodId</code> - the method id</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the method object or <code>null</code> if the method cannot be found.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="onSet-java.lang.Object-java.lang.String-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onSet</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.1390">onSet</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> objectValue)</pre> |
| <div class="block">This method is called by the manipulated class each time that a PUTFIELD instruction is executed. |
| The method calls the <a href="../../../../org/apache/felix/ipojo/PrimitiveHandler.html#onSet-java.lang.Object-java.lang.String-java.lang.Object-"><code>PrimitiveHandler.onSet(Object, String, Object)</code></a> method on each field |
| interceptors monitoring this field. |
| This method can be invoked with a <code>null</code> pojo argument when the changes comes from another |
| handler.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>pojo</code> - the pojo object on which the field was set</dd> |
| <dd><code>fieldName</code> - the field name on which the PUTFIELD instruction is called</dd> |
| <dd><code>objectValue</code> - the new value of the field</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getContext--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getContext</h4> |
| <pre>public BundleContext <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.1414">getContext</a>()</pre> |
| <div class="block">Gets the bundle context used by this component instance.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#getContext--">getContext</a></code> in interface <code><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the context of the component.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#getContext--"><code>ComponentInstance.getContext()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getGlobalContext--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getGlobalContext</h4> |
| <pre>public BundleContext <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.1425">getGlobalContext</a>()</pre> |
| <div class="block">Gets the global bundle context. This is the bundle context |
| of the bundle declaring the component type.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the bundle context of the bundle declaring the component |
| type.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getLocalServiceContext--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLocalServiceContext</h4> |
| <pre>public <a href="../../../../org/apache/felix/ipojo/ServiceContext.html" title="interface in org.apache.felix.ipojo">ServiceContext</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.1439">getLocalServiceContext</a>()</pre> |
| <div class="block">Gets the local service context. This service context gives |
| access to the 'local' service registry (the composite one). |
| If the instance lives in the global (i.e. OSGi) context, |
| this method returns <code>null</code></div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the local service context or <code>null</code> if the |
| instance doesn't live in a composite.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getInstanceName--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getInstanceName</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.1449">getInstanceName</a>()</pre> |
| <div class="block">Gets the instance name.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#getInstanceName--">getInstanceName</a></code> in interface <code><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the instance name.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#getInstanceName--"><code>ComponentInstance.getInstanceName()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="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/InstanceManager.html#line.1466">reconfigure</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">Dictionary</a> configuration)</pre> |
| <div class="block">Reconfigures the current instance. |
| Reconfiguring an instance means re-injecting a new |
| instance configuration. Some properties are immutable |
| such as the instance name. |
| This methods calls the <a href="../../../../org/apache/felix/ipojo/Handler.html#reconfigure-java.util.Dictionary-"><code>Handler.reconfigure(Dictionary)</code></a> |
| methods on each attached handler, and then recompute the instance |
| state. Note that the reconfiguration process does not deactivate the |
| instance.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#reconfigure-java.util.Dictionary-">reconfigure</a></code> in interface <code><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>configuration</code> - the new configuration to push</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/felix/ipojo/ComponentInstance.html#reconfigure-java.util.Dictionary-"><code>ComponentInstance.reconfigure(java.util.Dictionary)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getClassName--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getClassName</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.1496">getClassName</a>()</pre> |
| <div class="block">Gets the implementation class of the component type. |
| This method does not need to be synchronized as the |
| class name is constant once set.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the class name of the component implementation.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="stateChanged-org.apache.felix.ipojo.ComponentInstance-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>stateChanged</h4> |
| <pre>public void <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.1510">stateChanged</a>(<a href="../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a> instance, |
| int newState)</pre> |
| <div class="block">State Change listener callback. |
| This method is called every time that a plugged handler becomes valid or invalid. |
| This method computes the new instance state and applies it (by calling the |
| <a href="../../../../org/apache/felix/ipojo/InstanceManager.html#setState-int-"><code>setState(int)</code></a> method.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/InstanceStateListener.html#stateChanged-org.apache.felix.ipojo.ComponentInstance-int-">stateChanged</a></code> in interface <code><a href="../../../../org/apache/felix/ipojo/InstanceStateListener.html" title="interface in org.apache.felix.ipojo">InstanceStateListener</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>instance</code> - the handler becoming valid or invalid</dd> |
| <dd><code>newState</code> - the new state of the handler</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/felix/ipojo/InstanceStateListener.html#stateChanged-org.apache.felix.ipojo.ComponentInstance-int-"><code>InstanceStateListener.stateChanged(org.apache.felix.ipojo.ComponentInstance, int)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getRegistredFields--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRegistredFields</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.1545">getRegistredFields</a>()</pre> |
| <div class="block">Gets the list of registered fields (containing field names). |
| This method is invoked by the POJO itself during |
| its initialization.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the set of registered fields.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getRegistredMethods--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRegistredMethods</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a> <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.1560">getRegistredMethods</a>()</pre> |
| <div class="block">Gets the list of registered methods (containing method ids). |
| This method is invoked by the POJO itself during its |
| initialization.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the set of registered methods.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getInstanceContext--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getInstanceContext</h4> |
| <pre>public BundleContext <a href="../../../../src-html/org/apache/felix/ipojo/InstanceManager.html#line.1575">getInstanceContext</a>()</pre> |
| <div class="block">Gets the bundle context of the instance, i.e. the bundle context of the bundle having declared this instance.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/felix/ipojo/extender/internal/linker/InstanceBundleContextAware.html#getInstanceContext--">getInstanceContext</a></code> in interface <code><a href="../../../../org/apache/felix/ipojo/extender/internal/linker/InstanceBundleContextAware.html" title="interface in org.apache.felix.ipojo.extender.internal.linker">InstanceBundleContextAware</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the bundle context of the instance.</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.11.2</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/InstanceManager.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/HandlerManagerFactory.HandlerTypeDescription.html" title="class in org.apache.felix.ipojo"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/felix/ipojo/InstanceStateListener.html" title="interface in org.apache.felix.ipojo"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/felix/ipojo/InstanceManager.html" target="_top">Frames</a></li> |
| <li><a href="InstanceManager.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>Nested | </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> |