public class ImportRegistration
extends java.lang.Object
| Constructor and Description |
|---|
ImportRegistration(org.osgi.framework.ServiceRegistration importedService,
EndpointDescription importedEndpoint) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addReference(org.osgi.framework.hooks.service.ListenerHook.ListenerInfo listener) |
void |
close() |
EndpointDescription |
getImportedEndpoint() |
org.osgi.framework.ServiceRegistration |
getImportedService() |
boolean |
hasReferences() |
boolean |
removeReference(org.osgi.framework.hooks.service.ListenerHook.ListenerInfo listener) |
public ImportRegistration(org.osgi.framework.ServiceRegistration importedService,
EndpointDescription importedEndpoint)
public org.osgi.framework.ServiceRegistration getImportedService()
public EndpointDescription getImportedEndpoint()
public boolean addReference(org.osgi.framework.hooks.service.ListenerHook.ListenerInfo listener)
public boolean removeReference(org.osgi.framework.hooks.service.ListenerHook.ListenerInfo listener)
public boolean hasReferences()
public void close()
Copyright © 2014 Red Hat. All Rights Reserved.