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
Modifier and TypeFieldDescriptionprotected String[]
protected OSGiAdapter
protected ServiceReferenceImpl
-
Constructor Summary
ConstructorDescriptionServiceRegistrationImpl
(OSGiAdapter osgi, org.osgi.framework.Bundle bundle, String[] classes, Object service) -
Method Summary
Modifier and TypeMethodDescriptionorg.osgi.framework.ServiceReference
void
setProperties
(Dictionary properties) void
-
Field Details
-
osgi
-
classes
-
ref
-
-
Constructor Details
-
ServiceRegistrationImpl
public ServiceRegistrationImpl(OSGiAdapter osgi, org.osgi.framework.Bundle bundle, String[] classes, Object service)
-
-
Method Details
-
getReference
public org.osgi.framework.ServiceReference getReference()- Specified by:
getReference
in interfaceorg.osgi.framework.ServiceRegistration
-
setProperties
- Specified by:
setProperties
in interfaceorg.osgi.framework.ServiceRegistration
-
unregister
public void unregister()- Specified by:
unregister
in interfaceorg.osgi.framework.ServiceRegistration
-