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[]
classes
protected OSGiAdapter
osgi
protected ServiceReferenceImpl
ref
-
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.ServiceReference
getReference()
void
setProperties(Dictionary properties)
void
unregister()
-
-
-
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:
getReference
in interfaceorg.osgi.framework.ServiceRegistration
-
setProperties
public void setProperties(Dictionary properties)
- Specified by:
setProperties
in interfaceorg.osgi.framework.ServiceRegistration
-
unregister
public void unregister()
- Specified by:
unregister
in interfaceorg.osgi.framework.ServiceRegistration
-
-