On Tue, Apr 7, 2015 at 8:25 PM, <[email protected]> wrote:

> +                final ServiceReference slRef =
> bundle.getBundleContext().getServiceReference(StartLevel.class.getName());
> +                final StartLevel sl = (StartLevel)
> bundle.getBundleContext().getService(slRef);
> +                message = "FrameworkEvent STARTLEVEL CHANGED to " +
> sl.getStartLevel();
>


Just for completeness should not we unget the service also.

Chetan Mehrotra

Reply via email to