diff options
Diffstat (limited to 'bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/ServiceRegistration.java')
-rw-r--r-- | bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/ServiceRegistration.java | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/ServiceRegistration.java b/bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/ServiceRegistration.java index a84248da0..ad3d1ff7a 100644 --- a/bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/ServiceRegistration.java +++ b/bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/ServiceRegistration.java @@ -60,8 +60,8 @@ public interface ServiceRegistration<S> { * <p> * The following steps are required to modify service properties: * <ol> - * <li>The service's properties are replaced with the provided properties. - * <li>A service event of type {@link ServiceEvent#MODIFIED} is fired. + * <li>The service's properties are replaced with the provided properties.</li> + * <li>A service event of type {@link ServiceEvent#MODIFIED} is fired.</li> * </ol> * * @param properties The properties for this service. See {@link Constants} @@ -86,18 +86,21 @@ public interface ServiceRegistration<S> { * The following steps are required to unregister a service: * <ol> * <li>The service is removed from the Framework service registry so that it - * can no longer be obtained. + * can no longer be obtained.</li> * <li>A service event of type {@link ServiceEvent#UNREGISTERING} is fired * so that bundles using this service can release their use of the service. * Once delivery of the service event is complete, the * {@code ServiceReference} objects for the service may no longer be used to - * get a service object for the service. + * get a service object for the service.</li> * <li>For each bundle whose use count for this service is greater than - * zero: <br> - * The bundle's use count for this service is set to zero. <br> - * If the service was registered with a {@link ServiceFactory} object, the - * {@code ServiceFactory.ungetService} method is called to release the - * service object for the bundle. + * zero: + * <ul> + * <li>The bundle's use count for this service is set to zero.</li> + * <li>If the service was registered with a {@link ServiceFactory} object, + * the {@code ServiceFactory.ungetService} method is called to release the + * service object for the bundle.</li> + * </ul> + * </li> * </ol> * * @throws IllegalStateException If this {@code ServiceRegistration} object |