org.apache.felix.dependencymanager
Class ServiceRegistrationImpl

java.lang.Object
  extended by org.apache.felix.dependencymanager.ServiceRegistrationImpl
All Implemented Interfaces:
org.osgi.framework.ServiceRegistration

public final class ServiceRegistrationImpl
extends java.lang.Object
implements org.osgi.framework.ServiceRegistration

A wrapper around a service registration that blocks until the service registration is available.

Author:
Felix Project Team

Field Summary
static ServiceRegistrationImpl ILLEGAL_STATE
           
 
Constructor Summary
ServiceRegistrationImpl()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 org.osgi.framework.ServiceReference getReference()
           
 int hashCode()
           
 void setProperties(java.util.Dictionary dictionary)
           
 java.lang.String toString()
           
 void unregister()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ILLEGAL_STATE

public static final ServiceRegistrationImpl ILLEGAL_STATE
Constructor Detail

ServiceRegistrationImpl

public ServiceRegistrationImpl()
Method Detail

getReference

public org.osgi.framework.ServiceReference getReference()
Specified by:
getReference in interface org.osgi.framework.ServiceRegistration

setProperties

public void setProperties(java.util.Dictionary dictionary)
Specified by:
setProperties in interface org.osgi.framework.ServiceRegistration

unregister

public void unregister()
Specified by:
unregister in interface org.osgi.framework.ServiceRegistration

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object