org.apache.felix.dependencymanager
Class ServiceRegistrationImpl

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

public final class ServiceRegistrationImpl
extends Object
implements 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(Object obj)
           
 ServiceReference getReference()
           
 int hashCode()
           
 void setProperties(Dictionary dictionary)
           
 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 ServiceReference getReference()
Specified by:
getReference in interface ServiceRegistration

setProperties

public void setProperties(Dictionary dictionary)
Specified by:
setProperties in interface ServiceRegistration

unregister

public void unregister()
Specified by:
unregister in interface ServiceRegistration

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.