org.eclipse.gemini.blueprint.service.exporter.support.internal.support
Class ServiceRegistrationWrapper
java.lang.Object
org.eclipse.gemini.blueprint.service.exporter.support.internal.support.ServiceRegistrationWrapper
- All Implemented Interfaces:
- org.osgi.framework.ServiceRegistration
public class ServiceRegistrationWrapper
- extends Object
- implements org.osgi.framework.ServiceRegistration
Simple wrapper that prevents a service registration from being unregistered.
- Author:
- Costin Leau
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceRegistrationWrapper
public ServiceRegistrationWrapper(org.osgi.framework.ServiceRegistration delegate)
getReference
public org.osgi.framework.ServiceReference getReference()
- Specified by:
getReference
in interface org.osgi.framework.ServiceRegistration
setProperties
public void setProperties(Dictionary properties)
- Specified by:
setProperties
in interface org.osgi.framework.ServiceRegistration
swap
public void swap(org.osgi.framework.ServiceRegistration other)
unregister
public void unregister()
- Specified by:
unregister
in interface org.osgi.framework.ServiceRegistration
Copyright © 2006-2012. All Rights Reserved.