src/net/java/sip/communicator/plugin/msofficecomm/MsOfficeCommActivator.java
/**
     * Stops the <tt>msofficecomm</tt> bundle in a specific
     * {@link BundleContext}.
     *
     * @param bundleContext the <tt>BundleContext</tt> in which the
     * <tt>msofficecomm</tt> bundle is to be stopped
     * @throws Exception if anything goes wrong while stopping the
     * <tt>msofficecomm</tt> bundle in the specified <tt>BundleContext</tt>
     */
Stops the msofficecomm bundle in a specific
BundleContext.

@param bundleContext the BundleContext in which the
msofficecomm bundle is to be stopped
@throws Exception if anything goes wrong while stopping the
msofficecomm bundle in the specified BundleContext
Stops the msofficecomm bundle in a specific BundleContext . @param bundleContext the BundleContext in which the msofficecomm bundle is to be stopped @throws Exception if anything goes wrong while stopping the msofficecomm bundle in the specified BundleContext
public void stop(BundleContext bundleContext)
        throws Exception
    {
        if (!OSUtils.IS_WINDOWS)
            return;
        try
        {
            int hresult = OutOfProcessServer.stop();
            if (hresult < 0)
                throw new RuntimeException("HRESULT " + hresult);
        }
        finally
        {
            Messenger.stop(bundleContext);
        }
        if (logger.isInfoEnabled())
            logger.info("MsOfficeComm plugin ... [UNREGISTERED]");
    }
public void stop ( BundleContext bundleContext ) throws Exception { if ( ! OSUtils . IS_WINDOWS ) return ; try { int hresult = OutOfProcessServer . stop ( ) ; if ( hresult < 0 ) throw new RuntimeException ( "HRESULT " + hresult ) ; } finally { Messenger . stop ( bundleContext ) ; } if ( logger . isInfoEnabled ( ) ) logger . info ( "MsOfficeComm plugin ... [UNREGISTERED]" ) ; }
Stops the <tt>msofficecomm</tt> bundle in a specific
 {@link BundleContext}.
Stops the <tt > msofficecomm< / tt > bundle in a specific { @link BundleContext } .
// The msofficecomm bundle is available on Windows only.