blob: 3e238e1243a1c9f8bd2e0ce769af31742536e112 [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 (1.8.0) on Wed Dec 24 15:58:25 CET 2014 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ServiceRegistrationImpl (Apache Felix iPOJO ~ JavaDoc 1.12.1 API)</title>
<meta name="date" content="2014-12-24">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ServiceRegistrationImpl (Apache Felix iPOJO ~ JavaDoc 1.12.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ServiceRegistrationImpl.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/context/ServiceReferenceImpl.html" title="class in org.apache.felix.ipojo.context"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistry.html" title="class in org.apache.felix.ipojo.context"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/felix/ipojo/context/ServiceRegistrationImpl.html" target="_top">Frames</a></li>
<li><a href="ServiceRegistrationImpl.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;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 ServiceRegistrationImpl" class="title">Class ServiceRegistrationImpl</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.felix.ipojo.context.ServiceRegistrationImpl</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#line.42">ServiceRegistrationImpl</a>
extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">Internal service registration implementation. This class is used for in the
composition.</div>
<dl>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd><a href="mailto:dev@felix.apache.org">Felix Project Team</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&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="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#m_classes">m_classes</a></span></code>
<div class="block">Interfaces associated with the service object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private ServiceFactory</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#m_factory">m_factory</a></span></code>
<div class="block">Service factory interface.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#m_list">m_list</a></span></code>
<div class="block">Property Keys List.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#m_propMap">m_propMap</a></span></code>
<div class="block">Associated property dictionary.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../../../../../org/apache/felix/ipojo/context/ServiceReferenceImpl.html" title="class in org.apache.felix.ipojo.context">ServiceReferenceImpl</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#m_ref">m_ref</a></span></code>
<div class="block">Re-usable service reference.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistry.html" title="class in org.apache.felix.ipojo.context">ServiceRegistry</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#m_registry">m_registry</a></span></code>
<div class="block">Service Registry.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#m_serviceId">m_serviceId</a></span></code>
<div class="block">Service Id associated with the service object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#m_svcObj">m_svcObj</a></span></code>
<div class="block">Service object.</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="memberSummary" 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><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#ServiceRegistrationImpl-org.apache.felix.ipojo.context.ServiceRegistry-org.apache.felix.ipojo.ComponentInstance-java.lang.String:A-java.lang.Long-java.lang.Object-java.util.Dictionary-">ServiceRegistrationImpl</a></span>(<a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistry.html" title="class in org.apache.felix.ipojo.context">ServiceRegistry</a>&nbsp;registry,
<a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a>&nbsp;instance,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;classes,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&nbsp;serviceId,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;svcObj,
<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">Dictionary</a>&nbsp;dict)</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="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#getFactoryUnchecked--">getFactoryUnchecked</a></span>()</code>
<div class="block">Get a service object via a service factory.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">Dictionary</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#getProperties--">getProperties</a></span>()</code>
<div class="block">Gets the published properties.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#getProperty-java.lang.String-">getProperty</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key)</code>
<div class="block">Look for a property in the service properties.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#getPropertyKeys--">getPropertyKeys</a></span>()</code>
<div class="block">Get the property keys.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>ServiceReference</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#getReference--">getReference</a></span>()</code>
<div class="block">Get the service reference attached with this service registration.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#getService--">getService</a></span>()</code>
<div class="block">Get the service object.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#initializeProperties-java.util.Dictionary-">initializeProperties</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">Dictionary</a>&nbsp;dict)</code>
<div class="block">Initialize properties.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#isValid--">isValid</a></span>()</code>
<div class="block">Check if the service registration still valid.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#setProperties-java.util.Dictionary-">setProperties</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">Dictionary</a>&nbsp;dict)</code>
<div class="block">Add properties to a service registration.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#ungetFactoryUnchecked-org.apache.felix.ipojo.ComponentInstance-java.lang.Object-">ungetFactoryUnchecked</a></span>(<a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a>&nbsp;instance,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;svcObj)</code>
<div class="block">Unget a service.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#ungetService-org.apache.felix.ipojo.ComponentInstance-java.lang.Object-">ungetService</a></span>(<a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a>&nbsp;instance,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;srvObj)</code>
<div class="block">Unget a service.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#unregister--">unregister</a></span>()</code>
<div class="block">Unregister the service.</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/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="m_registry">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_registry</h4>
<pre>private&nbsp;<a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistry.html" title="class in org.apache.felix.ipojo.context">ServiceRegistry</a> <a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#line.47">m_registry</a></pre>
<div class="block">Service Registry.</div>
</li>
</ul>
<a name="m_classes">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_classes</h4>
<pre>private&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] <a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#line.52">m_classes</a></pre>
<div class="block">Interfaces associated with the service object.</div>
</li>
</ul>
<a name="m_serviceId">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_serviceId</h4>
<pre>private&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> <a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#line.57">m_serviceId</a></pre>
<div class="block">Service Id associated with the service object.</div>
</li>
</ul>
<a name="m_svcObj">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_svcObj</h4>
<pre>private&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#line.62">m_svcObj</a></pre>
<div class="block">Service object.</div>
</li>
</ul>
<a name="m_factory">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_factory</h4>
<pre>private&nbsp;ServiceFactory <a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#line.67">m_factory</a></pre>
<div class="block">Service factory interface.</div>
</li>
</ul>
<a name="m_propMap">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_propMap</h4>
<pre>private&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> <a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#line.72">m_propMap</a></pre>
<div class="block">Associated property dictionary.</div>
</li>
</ul>
<a name="m_ref">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_ref</h4>
<pre>private&nbsp;<a href="../../../../../org/apache/felix/ipojo/context/ServiceReferenceImpl.html" title="class in org.apache.felix.ipojo.context">ServiceReferenceImpl</a> <a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#line.77">m_ref</a></pre>
<div class="block">Re-usable service reference.</div>
</li>
</ul>
<a name="m_list">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>m_list</h4>
<pre>private&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a> <a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#line.82">m_list</a></pre>
<div class="block">Property Keys List.</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="ServiceRegistrationImpl-org.apache.felix.ipojo.context.ServiceRegistry-org.apache.felix.ipojo.ComponentInstance-java.lang.String:A-java.lang.Long-java.lang.Object-java.util.Dictionary-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ServiceRegistrationImpl</h4>
<pre>public&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#line.94">ServiceRegistrationImpl</a>(<a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistry.html" title="class in org.apache.felix.ipojo.context">ServiceRegistry</a>&nbsp;registry,
<a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a>&nbsp;instance,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;classes,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&nbsp;serviceId,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;svcObj,
<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">Dictionary</a>&nbsp;dict)</pre>
<div class="block">Constructor.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>registry</code> - : the service registry</dd>
<dd><code>instance</code> - : component instance</dd>
<dd><code>classes</code> - : published interfaces array</dd>
<dd><code>serviceId</code> - : the unique service id</dd>
<dd><code>svcObj</code> - : the service object or the service factory object</dd>
<dd><code>dict</code> - : service properties</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="isValid--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isValid</h4>
<pre>protected&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#line.114">isValid</a>()</pre>
<div class="block">Check if the service registration still valid.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the service registration is valid.</dd>
</dl>
</li>
</ul>
<a name="getReference--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReference</h4>
<pre>public&nbsp;ServiceReference&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#line.123">getReference</a>()</pre>
<div class="block">Get the service reference attached with this service registration.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the service reference</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/ServiceRegistration.html?is-external=true#getReference()" title="class or interface in org.osgi.framework"><code>ServiceRegistration</code></a></dd>
</dl>
</li>
</ul>
<a name="setProperties-java.util.Dictionary-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setProperties</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#line.132">setProperties</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">Dictionary</a>&nbsp;dict)</pre>
<div class="block">Add properties to a service registration.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dict</code> - : the properties to add</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/ServiceRegistration.html?is-external=true#setProperties(java.util.Dictionary)" title="class or interface in org.osgi.framework"><code>ServiceRegistration</code></a></dd>
</dl>
</li>
</ul>
<a name="unregister--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unregister</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#line.147">unregister</a>()</pre>
<div class="block">Unregister the service.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/ServiceRegistration.html?is-external=true#unregister()" title="class or interface in org.osgi.framework"><code>ServiceRegistration</code></a></dd>
</dl>
</li>
</ul>
<a name="getProperty-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProperty</h4>
<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#line.163">getProperty</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key)</pre>
<div class="block">Look for a property in the service properties.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - : property key</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the object associated with the key or null if the key is not
present.</dd>
</dl>
</li>
</ul>
<a name="getPropertyKeys--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPropertyKeys</h4>
<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#line.171">getPropertyKeys</a>()</pre>
<div class="block">Get the property keys.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the property keys list.</dd>
</dl>
</li>
</ul>
<a name="getProperties--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProperties</h4>
<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">Dictionary</a>&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#line.187">getProperties</a>()</pre>
<div class="block">Gets the published properties.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the dictionary containing each published properties.</dd>
</dl>
</li>
</ul>
<a name="getService--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getService</h4>
<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#line.203">getService</a>()</pre>
<div class="block">Get the service object.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the service object. Call the service factory if needed.</dd>
</dl>
</li>
</ul>
<a name="initializeProperties-java.util.Dictionary-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initializeProperties</h4>
<pre>private&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#line.217">initializeProperties</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">Dictionary</a>&nbsp;dict)</pre>
<div class="block">Initialize properties.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dict</code> - : service properties to publish.</dd>
</dl>
</li>
</ul>
<a name="getFactoryUnchecked--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFactoryUnchecked</h4>
<pre>private&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#line.241">getFactoryUnchecked</a>()</pre>
<div class="block">Get a service object via a service factory.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the service object via the service factory invocation.</dd>
</dl>
</li>
</ul>
<a name="ungetFactoryUnchecked-org.apache.felix.ipojo.ComponentInstance-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ungetFactoryUnchecked</h4>
<pre>private&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#line.251">ungetFactoryUnchecked</a>(<a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a>&nbsp;instance,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;svcObj)</pre>
<div class="block">Unget a service. (Internal Method)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>instance</code> - : component instance using the service.</dd>
<dd><code>svcObj</code> - : the unget service object.</dd>
</dl>
</li>
</ul>
<a name="ungetService-org.apache.felix.ipojo.ComponentInstance-java.lang.Object-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ungetService</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/context/ServiceRegistrationImpl.html#line.264">ungetService</a>(<a href="../../../../../org/apache/felix/ipojo/ComponentInstance.html" title="interface in org.apache.felix.ipojo">ComponentInstance</a>&nbsp;instance,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;srvObj)</pre>
<div class="block">Unget a service.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>instance</code> - : component instance using the service.</dd>
<dd><code>srvObj</code> - : the unget service object.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ServiceRegistrationImpl.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/context/ServiceReferenceImpl.html" title="class in org.apache.felix.ipojo.context"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/felix/ipojo/context/ServiceRegistry.html" title="class in org.apache.felix.ipojo.context"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/felix/ipojo/context/ServiceRegistrationImpl.html" target="_top">Frames</a></li>
<li><a href="ServiceRegistrationImpl.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;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>