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

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