mil.dod.th.ose.logging/src/mil/dod/th/ose/logging/LoggingServiceImpl.java
@Deactivate
    public void deactivate(final ComponentContext context)
    {
        final BundleContext usingBundleContext = context.getUsingBundle().getBundleContext();
        final ServiceReference<LogService> ref = usingBundleContext.getServiceReference(LogService.class);
        usingBundleContext.ungetService(ref);
    }
/**
     * Deactivate the component by ungetting the log service based on the bundle using this component.
     * 
     * @param context
     *      context for this component
     */
Deactivate the component by ungetting the log service based on the bundle using this component.

@param context
context for this component
Deactivate the component by ungetting the log service based on the bundle using this component . @param context context for this component
@Deactivate
    public void deactivate(final ComponentContext context)
    {
        final BundleContext usingBundleContext = context.getUsingBundle().getBundleContext();
        final ServiceReference<LogService> ref = usingBundleContext.getServiceReference(LogService.class);
        usingBundleContext.ungetService(ref);
    }
@ Deactivate public void deactivate ( final ComponentContext context ) { final BundleContext usingBundleContext = context . getUsingBundle ( ) . getBundleContext ( ) ; final ServiceReference < LogService > ref = usingBundleContext . getServiceReference ( LogService . class ) ; usingBundleContext . ungetService ( ref ) ; }
Deactivate the component by ungetting the log service based on the bundle using this component.
Deactivate the component by ungetting the log service based on the bundle using this component .