blob: 0226c1be10035ce47657f395c3c1e3d1aecead01 [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 Mon Mar 31 09:56:26 CEST 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>AbstractDeclaration (Apache Felix iPOJO ~ JavaDoc 1.11.2 API)</title>
<meta name="date" content="2014-03-31">
<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="AbstractDeclaration (Apache Felix iPOJO ~ JavaDoc 1.11.2 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/AbstractDeclaration.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../index-all.html">Index</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/declaration/DefaultExtensionDeclaration.html" title="class in org.apache.felix.ipojo.extender.internal.declaration"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html" target="_top">Frames</a></li>
<li><a href="AbstractDeclaration.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.extender.internal.declaration</div>
<h2 title="Class AbstractDeclaration" class="title">Class AbstractDeclaration</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/extender/internal/AbstractService.html" title="class in org.apache.felix.ipojo.extender.internal">org.apache.felix.ipojo.extender.internal.AbstractService</a></li>
<li>
<ul class="inheritance">
<li>org.apache.felix.ipojo.extender.internal.declaration.AbstractDeclaration</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/extender/Declaration.html" title="interface in org.apache.felix.ipojo.extender">Declaration</a>, <a href="../../../../../../../org/apache/felix/ipojo/extender/DeclarationHandle.html" title="interface in org.apache.felix.ipojo.extender">DeclarationHandle</a>, <a href="../../../../../../../org/apache/felix/ipojo/extender/internal/Lifecycle.html" title="interface in org.apache.felix.ipojo.extender.internal">Lifecycle</a>, <a href="../../../../../../../org/apache/felix/ipojo/extender/Status.html" title="interface in org.apache.felix.ipojo.extender">Status</a></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/declaration/DefaultExtensionDeclaration.html" title="class in org.apache.felix.ipojo.extender.internal.declaration">DefaultExtensionDeclaration</a>, <a href="../../../../../../../org/apache/felix/ipojo/extender/internal/declaration/DefaultInstanceDeclaration.html" title="class in org.apache.felix.ipojo.extender.internal.declaration">DefaultInstanceDeclaration</a>, <a href="../../../../../../../org/apache/felix/ipojo/extender/internal/declaration/DefaultTypeDeclaration.html" title="class in org.apache.felix.ipojo.extender.internal.declaration">DefaultTypeDeclaration</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <a href="../../../../../../../src-html/org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html#line.31">AbstractDeclaration</a>
extends <a href="../../../../../../../org/apache/felix/ipojo/extender/internal/AbstractService.html" title="class in org.apache.felix.ipojo.extender.internal">AbstractService</a>
implements <a href="../../../../../../../org/apache/felix/ipojo/extender/Declaration.html" title="interface in org.apache.felix.ipojo.extender">Declaration</a>, <a href="../../../../../../../org/apache/felix/ipojo/extender/DeclarationHandle.html" title="interface in org.apache.felix.ipojo.extender">DeclarationHandle</a>, <a href="../../../../../../../org/apache/felix/ipojo/extender/Status.html" title="interface in org.apache.felix.ipojo.extender">Status</a></pre>
<div class="block">Common code to all Declaration objects.</div>
</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/extender/internal/declaration/AbstractDeclaration.html#DECLARATION_BOUND_MESSAGE">DECLARATION_BOUND_MESSAGE</a></strong></code>
<div class="block">The message used when a declaration is bound.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html#m_bound">m_bound</a></strong></code>
<div class="block">Is the declaration bound (i.e.</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/extender/internal/declaration/AbstractDeclaration.html#m_message">m_message</a></strong></code>
<div class="block">When not bound, the reason, otherwise <a href="../../../../../../../org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html#DECLARATION_BOUND_MESSAGE"><code>DECLARATION_BOUND_MESSAGE</code></a></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html#m_throwable">m_throwable</a></strong></code>
<div class="block">If an error was thrown during the binding, the error.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_org.apache.felix.ipojo.extender.internal.AbstractService">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.felix.ipojo.extender.internal.<a href="../../../../../../../org/apache/felix/ipojo/extender/internal/AbstractService.html" title="class in org.apache.felix.ipojo.extender.internal">AbstractService</a></h3>
<code><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/AbstractService.html#m_bundleContext">m_bundleContext</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="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html#AbstractDeclaration(org.osgi.framework.BundleContext, java.lang.Class)">AbstractDeclaration</a></strong>(<a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/BundleContext.html?is-external=true" title="class or interface in org.osgi.framework">BundleContext</a>&nbsp;bundleContext,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;type)</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>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html#bind()">bind</a></strong>()</code>
<div class="block">Binds the declaration.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html#getMessage()">getMessage</a></strong>()</code>
<div class="block">Gets the unbound message if any.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/felix/ipojo/extender/Status.html" title="interface in org.apache.felix.ipojo.extender">Status</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html#getStatus()">getStatus</a></strong>()</code>
<div class="block">Gets the status of the declaration.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html#getThrowable()">getThrowable</a></strong>()</code>
<div class="block">Gets the unbound error if any.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html#isBound()">isBound</a></strong>()</code>
<div class="block">Is the declaration fulfilled ?</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html#publish()">publish</a></strong>()</code>
<div class="block">Publish the <a href="../../../../../../../org/apache/felix/ipojo/extender/Declaration.html" title="interface in org.apache.felix.ipojo.extender"><code>Declaration</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html#retract()">retract</a></strong>()</code>
<div class="block">Retract the <a href="../../../../../../../org/apache/felix/ipojo/extender/Declaration.html" title="interface in org.apache.felix.ipojo.extender"><code>Declaration</code></a> service.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html#unbind(java.lang.String)">unbind</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;message)</code>
<div class="block">Unbinds the declaration.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html#unbind(java.lang.String, java.lang.Throwable)">unbind</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;message,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;throwable)</code>
<div class="block">Unbinds the declaration.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.apache.felix.ipojo.extender.internal.AbstractService">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.felix.ipojo.extender.internal.<a href="../../../../../../../org/apache/felix/ipojo/extender/internal/AbstractService.html" title="class in org.apache.felix.ipojo.extender.internal">AbstractService</a></h3>
<code><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/AbstractService.html#getBundleContext()">getBundleContext</a>, <a href="../../../../../../../org/apache/felix/ipojo/extender/internal/AbstractService.html#getRegistration()">getRegistration</a>, <a href="../../../../../../../org/apache/felix/ipojo/extender/internal/AbstractService.html#getServiceProperties()">getServiceProperties</a>, <a href="../../../../../../../org/apache/felix/ipojo/extender/internal/AbstractService.html#isRegistered()">isRegistered</a>, <a href="../../../../../../../org/apache/felix/ipojo/extender/internal/AbstractService.html#registerService()">registerService</a>, <a href="../../../../../../../org/apache/felix/ipojo/extender/internal/AbstractService.html#start()">start</a>, <a href="../../../../../../../org/apache/felix/ipojo/extender/internal/AbstractService.html#stop()">stop</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="DECLARATION_BOUND_MESSAGE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DECLARATION_BOUND_MESSAGE</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/extender/internal/declaration/AbstractDeclaration.html#line.37">DECLARATION_BOUND_MESSAGE</a></pre>
<div class="block">The message used when a declaration is bound.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../../constant-values.html#org.apache.felix.ipojo.extender.internal.declaration.AbstractDeclaration.DECLARATION_BOUND_MESSAGE">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="m_bound">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_bound</h4>
<pre>private&nbsp;boolean <a href="../../../../../../../src-html/org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html#line.41">m_bound</a></pre>
<div class="block">Is the declaration bound (i.e. successfully fulfilled), or not.</div>
</li>
</ul>
<a name="m_message">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_message</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> <a href="../../../../../../../src-html/org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html#line.46">m_message</a></pre>
<div class="block">When not bound, the reason, otherwise <a href="../../../../../../../org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html#DECLARATION_BOUND_MESSAGE"><code>DECLARATION_BOUND_MESSAGE</code></a></div>
</li>
</ul>
<a name="m_throwable">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>m_throwable</h4>
<pre>private&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> <a href="../../../../../../../src-html/org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html#line.51">m_throwable</a></pre>
<div class="block">If an error was thrown during the binding, the error.</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="AbstractDeclaration(org.osgi.framework.BundleContext, java.lang.Class)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AbstractDeclaration</h4>
<pre>protected&nbsp;<a href="../../../../../../../src-html/org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html#line.53">AbstractDeclaration</a>(<a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/BundleContext.html?is-external=true" title="class or interface in org.osgi.framework">BundleContext</a>&nbsp;bundleContext,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;type)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="isBound()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isBound</h4>
<pre>public&nbsp;boolean&nbsp;<a href="../../../../../../../src-html/org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html#line.60">isBound</a>()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../../../../org/apache/felix/ipojo/extender/Status.html#isBound()">Status</a></code></strong></div>
<div class="block">Is the declaration fulfilled ?</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../../../org/apache/felix/ipojo/extender/Status.html#isBound()">isBound</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/felix/ipojo/extender/Status.html" title="interface in org.apache.felix.ipojo.extender">Status</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>whether the declaration is bound or not.</dd></dl>
</li>
</ul>
<a name="getMessage()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMessage</h4>
<pre>public&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/extender/internal/declaration/AbstractDeclaration.html#line.67">getMessage</a>()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../../../../org/apache/felix/ipojo/extender/Status.html#getMessage()">Status</a></code></strong></div>
<div class="block">Gets the unbound message if any.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../../../org/apache/felix/ipojo/extender/Status.html#getMessage()">getMessage</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/felix/ipojo/extender/Status.html" title="interface in org.apache.felix.ipojo.extender">Status</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the message. The message contains the not-bound reason.</dd></dl>
</li>
</ul>
<a name="getThrowable()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getThrowable</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;<a href="../../../../../../../src-html/org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html#line.74">getThrowable</a>()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../../../../org/apache/felix/ipojo/extender/Status.html#getThrowable()">Status</a></code></strong></div>
<div class="block">Gets the unbound error if any.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../../../org/apache/felix/ipojo/extender/Status.html#getThrowable()">getThrowable</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/felix/ipojo/extender/Status.html" title="interface in org.apache.felix.ipojo.extender">Status</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the error if something went wrong during the binding process.</dd></dl>
</li>
</ul>
<a name="getStatus()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStatus</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/felix/ipojo/extender/Status.html" title="interface in org.apache.felix.ipojo.extender">Status</a>&nbsp;<a href="../../../../../../../src-html/org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html#line.83">getStatus</a>()</pre>
<div class="block">Gets the status of the declaration. This method returns an immutable object.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../../../org/apache/felix/ipojo/extender/Declaration.html#getStatus()">getStatus</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/felix/ipojo/extender/Declaration.html" title="interface in org.apache.felix.ipojo.extender">Declaration</a></code></dd>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../../../org/apache/felix/ipojo/extender/DeclarationHandle.html#getStatus()">getStatus</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/felix/ipojo/extender/DeclarationHandle.html" title="interface in org.apache.felix.ipojo.extender">DeclarationHandle</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the declaration status.</dd></dl>
</li>
</ul>
<a name="bind()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>bind</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../../../src-html/org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html#line.108">bind</a>()</pre>
<div class="block">Binds the declaration.
This method just set the status, message and error.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../../../org/apache/felix/ipojo/extender/Declaration.html#bind()">bind</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/felix/ipojo/extender/Declaration.html" title="interface in org.apache.felix.ipojo.extender">Declaration</a></code></dd>
</dl>
</li>
</ul>
<a name="unbind(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unbind</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../../../src-html/org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html#line.120">unbind</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;message)</pre>
<div class="block">Unbinds the declaration.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../../../org/apache/felix/ipojo/extender/Declaration.html#unbind(java.lang.String)">unbind</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/felix/ipojo/extender/Declaration.html" title="interface in org.apache.felix.ipojo.extender">Declaration</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>message</code> - an explanation</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html#unbind(java.lang.String, java.lang.Throwable)"><code>unbind(String, Throwable)</code></a></dd></dl>
</li>
</ul>
<a name="unbind(java.lang.String, java.lang.Throwable)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unbind</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../../../src-html/org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html#line.131">unbind</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;message,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;throwable)</pre>
<div class="block">Unbinds the declaration.
The flag, message and error are set.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../../../org/apache/felix/ipojo/extender/Declaration.html#unbind(java.lang.String, java.lang.Throwable)">unbind</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/felix/ipojo/extender/Declaration.html" title="interface in org.apache.felix.ipojo.extender">Declaration</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>message</code> - an explanation</dd><dd><code>throwable</code> - an error</dd></dl>
</li>
</ul>
<a name="publish()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>publish</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../../../src-html/org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html#line.137">publish</a>()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../../../../org/apache/felix/ipojo/extender/DeclarationHandle.html#publish()">DeclarationHandle</a></code></strong></div>
<div class="block">Publish the <a href="../../../../../../../org/apache/felix/ipojo/extender/Declaration.html" title="interface in org.apache.felix.ipojo.extender"><code>Declaration</code></a>. If the declaration
is already registered, it's a no-op operation.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../../../org/apache/felix/ipojo/extender/DeclarationHandle.html#publish()">publish</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/felix/ipojo/extender/DeclarationHandle.html" title="interface in org.apache.felix.ipojo.extender">DeclarationHandle</a></code></dd>
</dl>
</li>
</ul>
<a name="retract()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>retract</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../../../src-html/org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html#line.143">retract</a>()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../../../../org/apache/felix/ipojo/extender/DeclarationHandle.html#retract()">DeclarationHandle</a></code></strong></div>
<div class="block">Retract the <a href="../../../../../../../org/apache/felix/ipojo/extender/Declaration.html" title="interface in org.apache.felix.ipojo.extender"><code>Declaration</code></a> service. If the
declaration is not registered, it's a no-op operation.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../../../org/apache/felix/ipojo/extender/DeclarationHandle.html#retract()">retract</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/felix/ipojo/extender/DeclarationHandle.html" title="interface in org.apache.felix.ipojo.extender">DeclarationHandle</a></code></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/AbstractDeclaration.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../index-all.html">Index</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li><a href="../../../../../../../org/apache/felix/ipojo/extender/internal/declaration/DefaultExtensionDeclaration.html" title="class in org.apache.felix.ipojo.extender.internal.declaration"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/apache/felix/ipojo/extender/internal/declaration/AbstractDeclaration.html" target="_top">Frames</a></li>
<li><a href="AbstractDeclaration.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>