Package org.nuxeo.osgi.services
Class ServiceRegistrationImpl
- java.lang.Object
-
- org.nuxeo.osgi.services.ServiceRegistrationImpl
-
- All Implemented Interfaces:
org.osgi.framework.ServiceRegistration
public class ServiceRegistrationImpl extends Object implements org.osgi.framework.ServiceRegistration
Dummy service registration impl.- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description protected String[]classesprotected OSGiAdapterosgiprotected ServiceReferenceImplref
-
Constructor Summary
Constructors Constructor Description ServiceRegistrationImpl(OSGiAdapter osgi, org.osgi.framework.Bundle bundle, String[] classes, Object service)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.osgi.framework.ServiceReferencegetReference()voidsetProperties(Dictionary properties)voidunregister()
-
-
-
Field Detail
-
osgi
protected OSGiAdapter osgi
-
classes
protected String[] classes
-
ref
protected ServiceReferenceImpl ref
-
-
Constructor Detail
-
ServiceRegistrationImpl
public ServiceRegistrationImpl(OSGiAdapter osgi, org.osgi.framework.Bundle bundle, String[] classes, Object service)
-
-
Method Detail
-
getReference
public org.osgi.framework.ServiceReference getReference()
- Specified by:
getReferencein interfaceorg.osgi.framework.ServiceRegistration
-
setProperties
public void setProperties(Dictionary properties)
- Specified by:
setPropertiesin interfaceorg.osgi.framework.ServiceRegistration
-
unregister
public void unregister()
- Specified by:
unregisterin interfaceorg.osgi.framework.ServiceRegistration
-
-