blob: d79d3d4a54ba84a781be6fb6954d6ced03a2bb98 [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>ServiceReferenceImpl (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="ServiceReferenceImpl (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/ServiceReferenceImpl.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/context/ServiceRegistrationImpl.html" title="class in org.apache.felix.ipojo.context"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/felix/ipojo/context/ServiceReferenceImpl.html" target="_top">Frames</a></li>
<li><a href="ServiceReferenceImpl.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.context</div>
<h2 title="Class ServiceReferenceImpl" class="title">Class ServiceReferenceImpl</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.felix.ipojo.context.ServiceReferenceImpl</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>, <a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/ServiceReference.html?is-external=true" title="class or interface in org.osgi.framework">ServiceReference</a></dd>
</dl>
<hr>
<br>
<pre>public class <a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceReferenceImpl.html#line.34">ServiceReferenceImpl</a>
extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/ServiceReference.html?is-external=true" title="class or interface in org.osgi.framework">ServiceReference</a></pre>
<div class="block">Internal service reference implementation. This class is used for in the
composition.</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>private <a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/context/ServiceReferenceImpl.html#m_cm">m_cm</a></strong></code>
<div class="block">Component Instance.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistrationImpl.html" title="class in org.apache.felix.ipojo.context">ServiceRegistrationImpl</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/context/ServiceReferenceImpl.html#m_registration">m_registration</a></strong></code>
<div class="block">Service Registration attached to the service reference.</div>
</td>
</tr>
</table>
</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/context/ServiceReferenceImpl.html#ServiceReferenceImpl(org.apache.felix.ipojo.ComponentInstance, org.apache.felix.ipojo.context.ServiceRegistrationImpl)">ServiceReferenceImpl</a></strong>(<a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a>&nbsp;instance,
<a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistrationImpl.html" title="class in org.apache.felix.ipojo.context">ServiceRegistrationImpl</a>&nbsp;ref)</code>
<div class="block">Constructor.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&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>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/context/ServiceReferenceImpl.html#compareTo(java.lang.Object)">compareTo</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;reference)</code>
<div class="block">Service Reference compare method.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/Bundle.html?is-external=true" title="class or interface in org.osgi.framework">Bundle</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/context/ServiceReferenceImpl.html#getBundle()">getBundle</a></strong>()</code>
<div class="block">Not supported in composite.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><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/context/ServiceReferenceImpl.html#getProperties()">getProperties</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><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></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/context/ServiceReferenceImpl.html#getProperty(java.lang.String)">getProperty</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;name)</code>
<div class="block">Get a property value.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/context/ServiceReferenceImpl.html#getPropertyKeys()">getPropertyKeys</a></strong>()</code>
<div class="block">Get the String arrays of service property keys.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistrationImpl.html" title="class in org.apache.felix.ipojo.context">ServiceRegistrationImpl</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/context/ServiceReferenceImpl.html#getServiceRegistration()">getServiceRegistration</a></strong>()</code>
<div class="block">Get the service registration for this reference.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/Bundle.html?is-external=true" title="class or interface in org.osgi.framework">Bundle</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/context/ServiceReferenceImpl.html#getUsingBundles()">getUsingBundles</a></strong>()</code>
<div class="block">Unsupported Operation inside composite.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/context/ServiceReferenceImpl.html#isAssignableTo(org.osgi.framework.Bundle, java.lang.String)">isAssignableTo</a></strong>(<a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/Bundle.html?is-external=true" title="class or interface in org.osgi.framework">Bundle</a>&nbsp;arg0,
<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;arg1)</code>
<div class="block">Check if the current service reference is assignable to the given bundle.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&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="m_registration">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_registration</h4>
<pre>private&nbsp;<a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistrationImpl.html" title="class in org.apache.felix.ipojo.context">ServiceRegistrationImpl</a> <a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceReferenceImpl.html#line.39">m_registration</a></pre>
<div class="block">Service Registration attached to the service reference.</div>
</li>
</ul>
<a name="m_cm">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>m_cm</h4>
<pre>private&nbsp;<a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a> <a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceReferenceImpl.html#line.44">m_cm</a></pre>
<div class="block">Component Instance.</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="ServiceReferenceImpl(org.apache.felix.ipojo.ComponentInstance, org.apache.felix.ipojo.context.ServiceRegistrationImpl)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ServiceReferenceImpl</h4>
<pre>public&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceReferenceImpl.html#line.52">ServiceReferenceImpl</a>(<a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a>&nbsp;instance,
<a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistrationImpl.html" title="class in org.apache.felix.ipojo.context">ServiceRegistrationImpl</a>&nbsp;ref)</pre>
<div class="block">Constructor.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>instance</code> - : component instance publishing the service.</dd><dd><code>ref</code> - : registration attached to this service reference.</dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getBundle()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBundle</h4>
<pre>public&nbsp;<a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/Bundle.html?is-external=true" title="class or interface in org.osgi.framework">Bundle</a>&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceReferenceImpl.html#line.62">getBundle</a>()</pre>
<div class="block">Not supported in composite.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/ServiceReference.html?is-external=true#getBundle()" title="class or interface in org.osgi.framework">getBundle</a></code>&nbsp;in interface&nbsp;<code><a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/ServiceReference.html?is-external=true" title="class or interface in org.osgi.framework">ServiceReference</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>null</dd><dt><span class="strong">See Also:</span></dt><dd><a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/ServiceReference.html?is-external=true#getBundle()" title="class or interface in org.osgi.framework"><code>ServiceReference.getBundle()</code></a></dd></dl>
</li>
</ul>
<a name="getServiceRegistration()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getServiceRegistration</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistrationImpl.html" title="class in org.apache.felix.ipojo.context">ServiceRegistrationImpl</a>&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceReferenceImpl.html#line.70">getServiceRegistration</a>()</pre>
<div class="block">Get the service registration for this reference.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the service registration for this service reference.</dd></dl>
</li>
</ul>
<a name="getProperty(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProperty</h4>
<pre>public&nbsp;<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;<a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceReferenceImpl.html#line.81">getProperty</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;name)</pre>
<div class="block">Get a property value.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/ServiceReference.html?is-external=true#getProperty(java.lang.String)" title="class or interface in org.osgi.framework">getProperty</a></code>&nbsp;in interface&nbsp;<code><a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/ServiceReference.html?is-external=true" title="class or interface in org.osgi.framework">ServiceReference</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - : the key of the required property.</dd>
<dt><span class="strong">Returns:</span></dt><dd>the property value or null if no property for the given key.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/ServiceReference.html?is-external=true#getProperty(java.lang.String)" title="class or interface in org.osgi.framework"><code>ServiceReference.getProperty(java.lang.String)</code></a></dd></dl>
</li>
</ul>
<a name="getPropertyKeys()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPropertyKeys</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/context/ServiceReferenceImpl.html#line.90">getPropertyKeys</a>()</pre>
<div class="block">Get the String arrays of service property keys.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/ServiceReference.html?is-external=true#getPropertyKeys()" title="class or interface in org.osgi.framework">getPropertyKeys</a></code>&nbsp;in interface&nbsp;<code><a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/ServiceReference.html?is-external=true" title="class or interface in org.osgi.framework">ServiceReference</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>: the list of property keys.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/ServiceReference.html?is-external=true#getPropertyKeys()" title="class or interface in org.osgi.framework"><code>ServiceReference.getPropertyKeys()</code></a></dd></dl>
</li>
</ul>
<a name="getProperties()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProperties</h4>
<pre>public&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/context/ServiceReferenceImpl.html#line.94">getProperties</a>()</pre>
</li>
</ul>
<a name="getUsingBundles()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUsingBundles</h4>
<pre>public&nbsp;<a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/Bundle.html?is-external=true" title="class or interface in org.osgi.framework">Bundle</a>[]&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceReferenceImpl.html#line.104">getUsingBundles</a>()</pre>
<div class="block">Unsupported Operation inside composite.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/ServiceReference.html?is-external=true#getUsingBundles()" title="class or interface in org.osgi.framework">getUsingBundles</a></code>&nbsp;in interface&nbsp;<code><a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/ServiceReference.html?is-external=true" title="class or interface in org.osgi.framework">ServiceReference</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>bundles using this reference.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/ServiceReference.html?is-external=true#getUsingBundles()" title="class or interface in org.osgi.framework"><code>ServiceReference.getUsingBundles()</code></a></dd></dl>
</li>
</ul>
<a name="isAssignableTo(org.osgi.framework.Bundle, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAssignableTo</h4>
<pre>public&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceReferenceImpl.html#line.115">isAssignableTo</a>(<a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/Bundle.html?is-external=true" title="class or interface in org.osgi.framework">Bundle</a>&nbsp;arg0,
<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;arg1)</pre>
<div class="block">Check if the current service reference is assignable to the given bundle.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/ServiceReference.html?is-external=true#isAssignableTo(org.osgi.framework.Bundle, java.lang.String)" title="class or interface in org.osgi.framework">isAssignableTo</a></code>&nbsp;in interface&nbsp;<code><a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/ServiceReference.html?is-external=true" title="class or interface in org.osgi.framework">ServiceReference</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>arg0</code> - : the bundle to check</dd><dd><code>arg1</code> - : the class name to check.</dd>
<dt><span class="strong">Returns:</span></dt><dd>true in the case of composite</dd><dt><span class="strong">See Also:</span></dt><dd><a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/ServiceReference.html?is-external=true#isAssignableTo(org.osgi.framework.Bundle, java.lang.String)" title="class or interface in org.osgi.framework"><code>ServiceReference.isAssignableTo(org.osgi.framework.Bundle, java.lang.String)</code></a></dd></dl>
</li>
</ul>
<a name="compareTo(java.lang.Object)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>compareTo</h4>
<pre>public&nbsp;int&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceReferenceImpl.html#line.126">compareTo</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;reference)</pre>
<div class="block">Service Reference compare method.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true#compareTo(T)" title="class or interface in java.lang">compareTo</a></code>&nbsp;in interface&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a></code></dd>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/ServiceReference.html?is-external=true#compareTo(java.lang.Object)" title="class or interface in org.osgi.framework">compareTo</a></code>&nbsp;in interface&nbsp;<code><a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/ServiceReference.html?is-external=true" title="class or interface in org.osgi.framework">ServiceReference</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>reference</code> - the service reference</dd>
<dt><span class="strong">Returns:</span></dt><dd>this methods is not yet supported, and throws an
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang"><code>UnsupportedOperationException</code></a>.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/ServiceReference.html?is-external=true#compareTo(java.lang.Object)" title="class or interface in org.osgi.framework"><code>ServiceReference.compareTo(java.lang.Object)</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/ServiceReferenceImpl.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/context/ServiceRegistrationImpl.html" title="class in org.apache.felix.ipojo.context"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/felix/ipojo/context/ServiceReferenceImpl.html" target="_top">Frames</a></li>
<li><a href="ServiceReferenceImpl.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>