blob: 2bd2973c97781b660990b4b38ebf866843446d1b [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_25) on Sat May 17 12:14:26 CEST 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>DependencyHandler (Apache Felix iPOJO ~ JavaDoc 1.12.0 API)</title>
<meta name="date" content="2014-05-17">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="DependencyHandler (Apache Felix iPOJO ~ JavaDoc 1.12.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/DependencyHandler.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/handlers/dependency/DependencyDescription.html" title="class in org.apache.felix.ipojo.handlers.dependency"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandlerDescription.html" title="class in org.apache.felix.ipojo.handlers.dependency"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html" target="_top">Frames</a></li>
<li><a href="DependencyHandler.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.felix.ipojo.handlers.dependency</div>
<h2 title="Class DependencyHandler" class="title">Class DependencyHandler</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../../org/apache/felix/ipojo/Handler.html" title="class in org.apache.felix.ipojo">org.apache.felix.ipojo.Handler</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../../org/apache/felix/ipojo/PrimitiveHandler.html" title="class in org.apache.felix.ipojo">org.apache.felix.ipojo.PrimitiveHandler</a></li>
<li>
<ul class="inheritance">
<li>org.apache.felix.ipojo.handlers.dependency.DependencyHandler</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../../../org/apache/felix/ipojo/ConstructorInjector.html" title="interface in org.apache.felix.ipojo">ConstructorInjector</a>, <a href="../../../../../../org/apache/felix/ipojo/FieldInterceptor.html" title="interface in org.apache.felix.ipojo">FieldInterceptor</a>, <a href="../../../../../../org/apache/felix/ipojo/MethodInterceptor.html" title="interface in org.apache.felix.ipojo">MethodInterceptor</a>, <a href="../../../../../../org/apache/felix/ipojo/util/DependencyStateListener.html" title="interface in org.apache.felix.ipojo.util">DependencyStateListener</a></dd>
</dl>
<hr>
<br>
<pre>public class <a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.39">DependencyHandler</a>
extends <a href="../../../../../../org/apache/felix/ipojo/PrimitiveHandler.html" title="class in org.apache.felix.ipojo">PrimitiveHandler</a>
implements <a href="../../../../../../org/apache/felix/ipojo/util/DependencyStateListener.html" title="interface in org.apache.felix.ipojo.util">DependencyStateListener</a></pre>
<div class="block">The dependency handler manages a list of service dependencies.</div>
<dl><dt><span class="strong">Author:</span></dt>
<dd><a href="mailto:dev@felix.apache.org">Felix Project Team</a></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#DYNAMIC_PROXY">DYNAMIC_PROXY</a></strong></code>
<div class="block">Proxy type value: dynamic-proxy.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/Dependency.html" title="class in org.apache.felix.ipojo.handlers.dependency">Dependency</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#m_dependencies">m_dependencies</a></strong></code>
<div class="block">List of dependencies of the component.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandlerDescription.html" title="class in org.apache.felix.ipojo.handlers.dependency">DependencyHandlerDescription</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#m_description">m_description</a></strong></code>
<div class="block">The handler description.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="../../../../../../org/apache/felix/ipojo/util/InstanceConfigurationSource.html" title="class in org.apache.felix.ipojo.util">InstanceConfigurationSource</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#m_instanceConfigurationSource">m_instanceConfigurationSource</a></strong></code>
<div class="block">The instance configuration context source, updated once reconfiguration.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#m_started">m_started</a></strong></code>
<div class="block">Is the handler started.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#PROXY_DISABLED">PROXY_DISABLED</a></strong></code>
<div class="block">Proxy settings value: disabled.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#PROXY_ENABLED">PROXY_ENABLED</a></strong></code>
<div class="block">Proxy settings value: enabled.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#PROXY_SETTINGS_PROPERTY">PROXY_SETTINGS_PROPERTY</a></strong></code>
<div class="block">Proxy settings property.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#PROXY_TYPE_PROPERTY">PROXY_TYPE_PROPERTY</a></strong></code>
<div class="block">Proxy type property.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#SMART_PROXY">SMART_PROXY</a></strong></code>
<div class="block">Proxy type value: smart.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_org.apache.felix.ipojo.PrimitiveHandler">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.felix.ipojo.<a href="../../../../../../org/apache/felix/ipojo/PrimitiveHandler.html" title="class in org.apache.felix.ipojo">PrimitiveHandler</a></h3>
<code><a href="../../../../../../org/apache/felix/ipojo/PrimitiveHandler.html#HANDLER_TYPE">HANDLER_TYPE</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_org.apache.felix.ipojo.Handler">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.felix.ipojo.<a href="../../../../../../org/apache/felix/ipojo/Handler.html" title="class in org.apache.felix.ipojo">Handler</a></h3>
<code><a href="../../../../../../org/apache/felix/ipojo/Handler.html#HANDLER_LEVEL_PROPERTY">HANDLER_LEVEL_PROPERTY</a>, <a href="../../../../../../org/apache/felix/ipojo/Handler.html#HANDLER_NAME_PROPERTY">HANDLER_NAME_PROPERTY</a>, <a href="../../../../../../org/apache/felix/ipojo/Handler.html#HANDLER_NAMESPACE_PROPERTY">HANDLER_NAMESPACE_PROPERTY</a>, <a href="../../../../../../org/apache/felix/ipojo/Handler.html#HANDLER_TYPE_PROPERTY">HANDLER_TYPE_PROPERTY</a>, <a href="../../../../../../org/apache/felix/ipojo/Handler.html#m_instance">m_instance</a>, <a href="../../../../../../org/apache/felix/ipojo/Handler.html#m_isValid">m_isValid</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#DependencyHandler()">DependencyHandler</a></strong>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#addCallbacksToDependency(org.apache.felix.ipojo.metadata.Element, org.apache.felix.ipojo.handlers.dependency.Dependency)">addCallbacksToDependency</a></strong>(<a href="../../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a>&nbsp;dependencyElement,
<a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/Dependency.html" title="class in org.apache.felix.ipojo.handlers.dependency">Dependency</a>&nbsp;dep)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#checkContext()">checkContext</a></strong>()</code>
<div class="block">Check the validity of the dependencies.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#computeFilter(org.apache.felix.ipojo.metadata.Element, java.util.Dictionary, java.util.Dictionary, boolean, java.lang.String)">computeFilter</a></strong>(<a href="../../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a>&nbsp;dependencyElement,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">Dictionary</a>&nbsp;filtersConfiguration,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">Dictionary</a>&nbsp;fromConfiguration,
boolean&nbsp;aggregate,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;identity)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#configure(org.apache.felix.ipojo.metadata.Element, java.util.Dictionary)">configure</a></strong>(<a href="../../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a>&nbsp;componentMetadata,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">Dictionary</a>&nbsp;configuration)</code>
<div class="block">Configure the handler.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private Filter</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#createAndCheckFilter(java.lang.String)">createAndCheckFilter</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;filter)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyCallback.html" title="class in org.apache.felix.ipojo.handlers.dependency">DependencyCallback</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#createDependencyHandler(org.apache.felix.ipojo.handlers.dependency.Dependency, java.lang.String, int)">createDependencyHandler</a></strong>(<a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/Dependency.html" title="class in org.apache.felix.ipojo.handlers.dependency">Dependency</a>&nbsp;dep,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;method,
int&nbsp;type)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/Dependency.html" title="class in org.apache.felix.ipojo.handlers.dependency">Dependency</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#getDependencies()">getDependencies</a></strong>()</code>
<div class="block">Get the list of managed dependency.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#getDependencyIdentifier(org.apache.felix.ipojo.handlers.dependency.Dependency)">getDependencyIdentifier</a></strong>(<a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/Dependency.html" title="class in org.apache.felix.ipojo.handlers.dependency">Dependency</a>&nbsp;dep)</code>
<div class="block">Builds a description of this dependency to help the user to identify it.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/felix/ipojo/architecture/HandlerDescription.html" title="class in org.apache.felix.ipojo.architecture">HandlerDescription</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#getDescription()">getDescription</a></strong>()</code>
<div class="block">Get the dependency handler description.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private BundleContext</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#getFacetedBundleContext(org.apache.felix.ipojo.metadata.Element)">getFacetedBundleContext</a></strong>(<a href="../../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a>&nbsp;dep)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#getProxySetting()">getProxySetting</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">Dictionary</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#getRequiresFilters(java.lang.Object)">getRequiresFilters</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;requiresFiltersValue)</code>
<div class="block">Gets the requires filter configuration from the given object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#getServiceSpecificationAttribute(org.apache.felix.ipojo.metadata.Element)">getServiceSpecificationAttribute</a></strong>(<a href="../../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a>&nbsp;dep)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#invalidate(org.apache.felix.ipojo.util.DependencyModel)">invalidate</a></strong>(<a href="../../../../../../org/apache/felix/ipojo/util/DependencyModel.html" title="class in org.apache.felix.ipojo.util">DependencyModel</a>&nbsp;dep)</code>
<div class="block">Invalidate method.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#isProxy(org.apache.felix.ipojo.metadata.Element)">isProxy</a></strong>(<a href="../../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a>&nbsp;dependencyElement)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#manageContextSources(java.util.Dictionary)">manageContextSources</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">Dictionary</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;configuration)</code>
<div class="block">Add internal context source to all dependencies.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#onCreation(java.lang.Object)">onCreation</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;instance)</code>
<div class="block">Handler createInstance method.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#reconfigure(java.util.Dictionary)">reconfigure</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">Dictionary</a>&nbsp;configuration)</code>
<div class="block">The instance is reconfigured.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#start()">start</a></strong>()</code>
<div class="block">Handler start method.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#stateChanged(int)">stateChanged</a></strong>(int&nbsp;state)</code>
<div class="block">This method is called when the component state changed.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#stop()">stop</a></strong>()</code>
<div class="block">Handler stop method.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#updateFilterIfFromIsEnabled(java.util.Dictionary, org.apache.felix.ipojo.metadata.Element, java.lang.String, boolean, java.lang.String)">updateFilterIfFromIsEnabled</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">Dictionary</a>&nbsp;fromConfiguration,
<a href="../../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a>&nbsp;dependencyElement,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;filter,
boolean&nbsp;aggregate,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;identity)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#validate(org.apache.felix.ipojo.util.DependencyModel)">validate</a></strong>(<a href="../../../../../../org/apache/felix/ipojo/util/DependencyModel.html" title="class in org.apache.felix.ipojo.util">DependencyModel</a>&nbsp;dep)</code>
<div class="block">Validate method.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.apache.felix.ipojo.PrimitiveHandler">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.felix.ipojo.<a href="../../../../../../org/apache/felix/ipojo/PrimitiveHandler.html" title="class in org.apache.felix.ipojo">PrimitiveHandler</a></h3>
<code><a href="../../../../../../org/apache/felix/ipojo/PrimitiveHandler.html#attach(org.apache.felix.ipojo.ComponentInstance)">attach</a>, <a href="../../../../../../org/apache/felix/ipojo/PrimitiveHandler.html#getConstructorParameter(int)">getConstructorParameter</a>, <a href="../../../../../../org/apache/felix/ipojo/PrimitiveHandler.html#getConstructorParameterType(int)">getConstructorParameterType</a>, <a href="../../../../../../org/apache/felix/ipojo/PrimitiveHandler.html#getFactory()">getFactory</a>, <a href="../../../../../../org/apache/felix/ipojo/PrimitiveHandler.html#getHandler(java.lang.String)">getHandler</a>, <a href="../../../../../../org/apache/felix/ipojo/PrimitiveHandler.html#getInstanceManager()">getInstanceManager</a>, <a href="../../../../../../org/apache/felix/ipojo/PrimitiveHandler.html#getLogger()">getLogger</a>, <a href="../../../../../../org/apache/felix/ipojo/PrimitiveHandler.html#getPojoMetadata()">getPojoMetadata</a>, <a href="../../../../../../org/apache/felix/ipojo/PrimitiveHandler.html#onEntry(java.lang.Object, java.lang.reflect.Member, java.lang.Object[])">onEntry</a>, <a href="../../../../../../org/apache/felix/ipojo/PrimitiveHandler.html#onError(java.lang.Object, java.lang.reflect.Member, java.lang.Throwable)">onError</a>, <a href="../../../../../../org/apache/felix/ipojo/PrimitiveHandler.html#onExit(java.lang.Object, java.lang.reflect.Member, java.lang.Object)">onExit</a>, <a href="../../../../../../org/apache/felix/ipojo/PrimitiveHandler.html#onFinally(java.lang.Object, java.lang.reflect.Member)">onFinally</a>, <a href="../../../../../../org/apache/felix/ipojo/PrimitiveHandler.html#onGet(java.lang.Object, java.lang.String, java.lang.Object)">onGet</a>, <a href="../../../../../../org/apache/felix/ipojo/PrimitiveHandler.html#onSet(java.lang.Object, java.lang.String, java.lang.Object)">onSet</a>, <a href="../../../../../../org/apache/felix/ipojo/PrimitiveHandler.html#setFactory(org.apache.felix.ipojo.Factory)">setFactory</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.apache.felix.ipojo.Handler">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.felix.ipojo.<a href="../../../../../../org/apache/felix/ipojo/Handler.html" title="class in org.apache.felix.ipojo">Handler</a></h3>
<code><a href="../../../../../../org/apache/felix/ipojo/Handler.html#debug(java.lang.String)">debug</a>, <a href="../../../../../../org/apache/felix/ipojo/Handler.html#error(java.lang.String)">error</a>, <a href="../../../../../../org/apache/felix/ipojo/Handler.html#error(java.lang.String, java.lang.Throwable)">error</a>, <a href="../../../../../../org/apache/felix/ipojo/Handler.html#getHandlerManager()">getHandlerManager</a>, <a href="../../../../../../org/apache/felix/ipojo/Handler.html#getValidity()">getValidity</a>, <a href="../../../../../../org/apache/felix/ipojo/Handler.html#info(java.lang.String)">info</a>, <a href="../../../../../../org/apache/felix/ipojo/Handler.html#initializeComponentFactory(org.apache.felix.ipojo.architecture.ComponentTypeDescription, org.apache.felix.ipojo.metadata.Element)">initializeComponentFactory</a>, <a href="../../../../../../org/apache/felix/ipojo/Handler.html#isValid()">isValid</a>, <a href="../../../../../../org/apache/felix/ipojo/Handler.html#setValidity(boolean)">setValidity</a>, <a href="../../../../../../org/apache/felix/ipojo/Handler.html#warn(java.lang.String)">warn</a>, <a href="../../../../../../org/apache/felix/ipojo/Handler.html#warn(java.lang.String, java.lang.Throwable)">warn</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="PROXY_SETTINGS_PROPERTY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PROXY_SETTINGS_PROPERTY</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.44">PROXY_SETTINGS_PROPERTY</a></pre>
<div class="block">Proxy settings property.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.felix.ipojo.handlers.dependency.DependencyHandler.PROXY_SETTINGS_PROPERTY">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="PROXY_TYPE_PROPERTY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PROXY_TYPE_PROPERTY</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.48">PROXY_TYPE_PROPERTY</a></pre>
<div class="block">Proxy type property.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.felix.ipojo.handlers.dependency.DependencyHandler.PROXY_TYPE_PROPERTY">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="SMART_PROXY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SMART_PROXY</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.52">SMART_PROXY</a></pre>
<div class="block">Proxy type value: smart.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.felix.ipojo.handlers.dependency.DependencyHandler.SMART_PROXY">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="DYNAMIC_PROXY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DYNAMIC_PROXY</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.56">DYNAMIC_PROXY</a></pre>
<div class="block">Proxy type value: dynamic-proxy.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.felix.ipojo.handlers.dependency.DependencyHandler.DYNAMIC_PROXY">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="PROXY_ENABLED">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PROXY_ENABLED</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.60">PROXY_ENABLED</a></pre>
<div class="block">Proxy settings value: enabled.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.felix.ipojo.handlers.dependency.DependencyHandler.PROXY_ENABLED">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="PROXY_DISABLED">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PROXY_DISABLED</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.64">PROXY_DISABLED</a></pre>
<div class="block">Proxy settings value: disabled.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.felix.ipojo.handlers.dependency.DependencyHandler.PROXY_DISABLED">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="m_dependencies">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_dependencies</h4>
<pre>private final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/Dependency.html" title="class in org.apache.felix.ipojo.handlers.dependency">Dependency</a>&gt; <a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.68">m_dependencies</a></pre>
<div class="block">List of dependencies of the component.</div>
</li>
</ul>
<a name="m_started">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_started</h4>
<pre>private&nbsp;boolean <a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.72">m_started</a></pre>
<div class="block">Is the handler started.</div>
</li>
</ul>
<a name="m_description">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_description</h4>
<pre>private&nbsp;<a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandlerDescription.html" title="class in org.apache.felix.ipojo.handlers.dependency">DependencyHandlerDescription</a> <a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.76">m_description</a></pre>
<div class="block">The handler description.</div>
</li>
</ul>
<a name="m_instanceConfigurationSource">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>m_instanceConfigurationSource</h4>
<pre>private&nbsp;<a href="../../../../../../org/apache/felix/ipojo/util/InstanceConfigurationSource.html" title="class in org.apache.felix.ipojo.util">InstanceConfigurationSource</a> <a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.80">m_instanceConfigurationSource</a></pre>
<div class="block">The instance configuration context source, updated once reconfiguration.</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="DependencyHandler()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>DependencyHandler</h4>
<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.39">DependencyHandler</a>()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getDependencyIdentifier(org.apache.felix.ipojo.handlers.dependency.Dependency)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDependencyIdentifier</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.90">getDependencyIdentifier</a>(<a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/Dependency.html" title="class in org.apache.felix.ipojo.handlers.dependency">Dependency</a>&nbsp;dep)</pre>
<div class="block">Builds a description of this dependency to help the user to identify it. IT's not related to the Dependency
Description, it's just a string containing dependency information to spot it easily in the code.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dep</code> - the dependency</dd>
<dt><span class="strong">Returns:</span></dt><dd>the identifier containing (if defined) the id, the specification, the field and the callback.</dd><dt><span class="strong">Since:</span></dt>
<dd>1.10.1</dd></dl>
</li>
</ul>
<a name="getDependencies()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDependencies</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/Dependency.html" title="class in org.apache.felix.ipojo.handlers.dependency">Dependency</a>[]&nbsp;<a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.122">getDependencies</a>()</pre>
<div class="block">Get the list of managed dependency.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the dependency list</dd></dl>
</li>
</ul>
<a name="validate(org.apache.felix.ipojo.util.DependencyModel)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>validate</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.132">validate</a>(<a href="../../../../../../org/apache/felix/ipojo/util/DependencyModel.html" title="class in org.apache.felix.ipojo.util">DependencyModel</a>&nbsp;dep)</pre>
<div class="block">Validate method. This method is invoked by an AbstractServiceDependency when this dependency becomes RESOLVED.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../../org/apache/felix/ipojo/util/DependencyStateListener.html#validate(org.apache.felix.ipojo.util.DependencyModel)">validate</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/felix/ipojo/util/DependencyStateListener.html" title="interface in org.apache.felix.ipojo.util">DependencyStateListener</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>dep</code> - : the dependency becoming RESOLVED.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../org/apache/felix/ipojo/util/DependencyStateListener.html#validate(org.apache.felix.ipojo.util.DependencyModel)"><code>DependencyStateListener.validate(org.apache.felix.ipojo.util.DependencyModel)</code></a></dd></dl>
</li>
</ul>
<a name="invalidate(org.apache.felix.ipojo.util.DependencyModel)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>invalidate</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.142">invalidate</a>(<a href="../../../../../../org/apache/felix/ipojo/util/DependencyModel.html" title="class in org.apache.felix.ipojo.util">DependencyModel</a>&nbsp;dep)</pre>
<div class="block">Invalidate method. This method is invoked by an AbstractServiceDependency when this dependency becomes UNRESOLVED or BROKEN.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../../org/apache/felix/ipojo/util/DependencyStateListener.html#invalidate(org.apache.felix.ipojo.util.DependencyModel)">invalidate</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/felix/ipojo/util/DependencyStateListener.html" title="interface in org.apache.felix.ipojo.util">DependencyStateListener</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>dep</code> - : the dependency becoming UNRESOLVED or BROKEN.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../org/apache/felix/ipojo/util/DependencyStateListener.html#invalidate(org.apache.felix.ipojo.util.DependencyModel)"><code>DependencyStateListener.invalidate(org.apache.felix.ipojo.util.DependencyModel)</code></a></dd></dl>
</li>
</ul>
<a name="checkContext()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkContext</h4>
<pre>protected&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.149">checkContext</a>()</pre>
<div class="block">Check the validity of the dependencies.</div>
</li>
</ul>
<a name="configure(org.apache.felix.ipojo.metadata.Element, java.util.Dictionary)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>configure</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.193">configure</a>(<a href="../../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a>&nbsp;componentMetadata,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">Dictionary</a>&nbsp;configuration)
throws <a href="../../../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></pre>
<div class="block">Configure the handler.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../../org/apache/felix/ipojo/Handler.html#configure(org.apache.felix.ipojo.metadata.Element, java.util.Dictionary)">configure</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/felix/ipojo/Handler.html" title="class in org.apache.felix.ipojo">Handler</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>componentMetadata</code> - : the component type metadata</dd><dd><code>configuration</code> - : the instance configuration</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></code> - : one dependency metadata is not correct.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../org/apache/felix/ipojo/Handler.html#configure(org.apache.felix.ipojo.metadata.Element, java.util.Dictionary)"><code>Handler.configure(org.apache.felix.ipojo.metadata.Element, java.util.Dictionary)</code></a></dd></dl>
</li>
</ul>
<a name="manageContextSources(java.util.Dictionary)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>manageContextSources</h4>
<pre>private&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.298">manageContextSources</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">Dictionary</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;configuration)</pre>
<div class="block">Add internal context source to all dependencies.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>configuration</code> - the instance configuration to creates the instance configuration source</dd></dl>
</li>
</ul>
<a name="computeFilter(org.apache.felix.ipojo.metadata.Element, java.util.Dictionary, java.util.Dictionary, boolean, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>computeFilter</h4>
<pre>private&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.316">computeFilter</a>(<a href="../../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a>&nbsp;dependencyElement,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">Dictionary</a>&nbsp;filtersConfiguration,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">Dictionary</a>&nbsp;fromConfiguration,
boolean&nbsp;aggregate,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;identity)</pre>
</li>
</ul>
<a name="updateFilterIfFromIsEnabled(java.util.Dictionary, org.apache.felix.ipojo.metadata.Element, java.lang.String, boolean, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateFilterIfFromIsEnabled</h4>
<pre>private&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.328">updateFilterIfFromIsEnabled</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">Dictionary</a>&nbsp;fromConfiguration,
<a href="../../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a>&nbsp;dependencyElement,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;filter,
boolean&nbsp;aggregate,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;identity)</pre>
</li>
</ul>
<a name="isProxy(org.apache.felix.ipojo.metadata.Element)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isProxy</h4>
<pre>private&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.347">isProxy</a>(<a href="../../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a>&nbsp;dependencyElement)</pre>
</li>
</ul>
<a name="getProxySetting()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProxySetting</h4>
<pre>private&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.372">getProxySetting</a>()</pre>
</li>
</ul>
<a name="addCallbacksToDependency(org.apache.felix.ipojo.metadata.Element, org.apache.felix.ipojo.handlers.dependency.Dependency)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addCallbacksToDependency</h4>
<pre>private&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.385">addCallbacksToDependency</a>(<a href="../../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a>&nbsp;dependencyElement,
<a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/Dependency.html" title="class in org.apache.felix.ipojo.handlers.dependency">Dependency</a>&nbsp;dep)
throws <a href="../../../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></code></dd></dl>
</li>
</ul>
<a name="createDependencyHandler(org.apache.felix.ipojo.handlers.dependency.Dependency, java.lang.String, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createDependencyHandler</h4>
<pre>protected&nbsp;<a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyCallback.html" title="class in org.apache.felix.ipojo.handlers.dependency">DependencyCallback</a>&nbsp;<a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.406">createDependencyHandler</a>(<a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/Dependency.html" title="class in org.apache.felix.ipojo.handlers.dependency">Dependency</a>&nbsp;dep,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;method,
int&nbsp;type)</pre>
</li>
</ul>
<a name="createAndCheckFilter(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createAndCheckFilter</h4>
<pre>private&nbsp;Filter&nbsp;<a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.410">createAndCheckFilter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;filter)
throws <a href="../../../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></code></dd></dl>
</li>
</ul>
<a name="getFacetedBundleContext(org.apache.felix.ipojo.metadata.Element)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFacetedBundleContext</h4>
<pre>private&nbsp;BundleContext&nbsp;<a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.422">getFacetedBundleContext</a>(<a href="../../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a>&nbsp;dep)</pre>
</li>
</ul>
<a name="getServiceSpecificationAttribute(org.apache.felix.ipojo.metadata.Element)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getServiceSpecificationAttribute</h4>
<pre>private&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.444">getServiceSpecificationAttribute</a>(<a href="../../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a>&nbsp;dep)</pre>
</li>
</ul>
<a name="getRequiresFilters(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRequiresFilters</h4>
<pre>private&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">Dictionary</a>&nbsp;<a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.468">getRequiresFilters</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;requiresFiltersValue)
throws <a href="../../../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></pre>
<div class="block">Gets the requires filter configuration from the given object.
The given object must come from the instance configuration.
This method was made to fix FELIX-2688. It supports filter configuration using
an array:
<code>{"myFirstDep", "(property1=value1)", "mySecondDep", "(property2=value2)"});</code></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>requiresFiltersValue</code> - the value contained in the instance
configuration.</dd>
<dt><span class="strong">Returns:</span></dt><dd>the dictionary. If the object in already a dictionary, just returns it,
if it's an array, builds the dictionary.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></code> - the dictionary cannot be built</dd></dl>
</li>
</ul>
<a name="start()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>start</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.493">start</a>()</pre>
<div class="block">Handler start method.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../../org/apache/felix/ipojo/Handler.html#start()">start</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/felix/ipojo/Handler.html" title="class in org.apache.felix.ipojo">Handler</a></code></dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../org/apache/felix/ipojo/Handler.html#start()"><code>Handler.start()</code></a></dd></dl>
</li>
</ul>
<a name="stop()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stop</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.509">stop</a>()</pre>
<div class="block">Handler stop method.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../../org/apache/felix/ipojo/Handler.html#stop()">stop</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/felix/ipojo/Handler.html" title="class in org.apache.felix.ipojo">Handler</a></code></dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../org/apache/felix/ipojo/Handler.html#stop()"><code>Handler.stop()</code></a></dd></dl>
</li>
</ul>
<a name="onCreation(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onCreation</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.522">onCreation</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;instance)</pre>
<div class="block">Handler createInstance method. This method is override to allow delayed callback invocation.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../../org/apache/felix/ipojo/PrimitiveHandler.html#onCreation(java.lang.Object)">onCreation</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/felix/ipojo/PrimitiveHandler.html" title="class in org.apache.felix.ipojo">PrimitiveHandler</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>instance</code> - : the created object</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../org/apache/felix/ipojo/PrimitiveHandler.html#onCreation(java.lang.Object)"><code>PrimitiveHandler.onCreation(Object)</code></a></dd></dl>
</li>
</ul>
<a name="getDescription()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDescription</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/felix/ipojo/architecture/HandlerDescription.html" title="class in org.apache.felix.ipojo.architecture">HandlerDescription</a>&nbsp;<a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.534">getDescription</a>()</pre>
<div class="block">Get the dependency handler description.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../../org/apache/felix/ipojo/Handler.html#getDescription()">getDescription</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/felix/ipojo/Handler.html" title="class in org.apache.felix.ipojo">Handler</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the dependency handler description.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../org/apache/felix/ipojo/Handler.html#getDescription()"><code>Handler.getDescription()</code></a></dd></dl>
</li>
</ul>
<a name="reconfigure(java.util.Dictionary)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reconfigure</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.544">reconfigure</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">Dictionary</a>&nbsp;configuration)</pre>
<div class="block">The instance is reconfigured.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../../org/apache/felix/ipojo/Handler.html#reconfigure(java.util.Dictionary)">reconfigure</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/felix/ipojo/Handler.html" title="class in org.apache.felix.ipojo">Handler</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>configuration</code> - the new instance configuration.</dd></dl>
</li>
</ul>
<a name="stateChanged(int)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>stateChanged</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html#line.549">stateChanged</a>(int&nbsp;state)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../../org/apache/felix/ipojo/Handler.html#stateChanged(int)">Handler</a></code></strong></div>
<div class="block">This method is called when the component state changed.
By default, this method does nothing.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../../org/apache/felix/ipojo/Handler.html#stateChanged(int)">stateChanged</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/felix/ipojo/Handler.html" title="class in org.apache.felix.ipojo">Handler</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>state</code> - the new instance state <a href="../../../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo"><code>ComponentInstance</code></a></dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/DependencyHandler.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/handlers/dependency/DependencyDescription.html" title="class in org.apache.felix.ipojo.handlers.dependency"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../../org/apache/felix/ipojo/handlers/dependency/DependencyHandlerDescription.html" title="class in org.apache.felix.ipojo.handlers.dependency"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/felix/ipojo/handlers/dependency/DependencyHandler.html" target="_top">Frames</a></li>
<li><a href="DependencyHandler.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All rights reserved.</small></p>
</body>
</html>