mil.dod.th.ose.remote/src/mil/dod/th/ose/remote/base/BaseMessageService.java
private void handleShutdownSystem(final TerraHarvestMessage request, final RemoteChannel channel) 
            throws IOException
    {
        m_MessageFactory.createBaseMessageResponse(request, BaseMessageType.ReceivedShutdownRequest, null).
            queue(channel);
        
        try
        {
            m_SystemBundle.stop();
        }
        catch (final BundleException e)
        {
            m_Log.error("Bundle Error", e);
            m_MessageFactory.createBaseErrorMessage(request, ErrorCode.INTERNAL_ERROR, 
                    "Bundle exception when shutting down system: " + e.getMessage()).queue(channel);
        }
    }
/**
     * Shutdown the OSGi framework.
     * @param request
     *      request message
     * @param channel
     *      channel to use for sending a response
     * @throws IOException
     *      if there is a failure while sending the response message
     */
Shutdown the OSGi framework.
@param request
request message
@param channel
channel to use for sending a response
@throws IOException
if there is a failure while sending the response message
Shutdown the OSGi framework . @param request request message @param channel channel to use for sending a response @throws IOException if there is a failure while sending the response message
private void handleShutdownSystem(final TerraHarvestMessage request, final RemoteChannel channel) 
            throws IOException
    {
        m_MessageFactory.createBaseMessageResponse(request, BaseMessageType.ReceivedShutdownRequest, null).
            queue(channel);
        try
        {
            m_SystemBundle.stop();
        }
        catch (final BundleException e)
        {
            m_Log.error("Bundle Error", e);
            m_MessageFactory.createBaseErrorMessage(request, ErrorCode.INTERNAL_ERROR, 
                    "Bundle exception when shutting down system: " + e.getMessage()).queue(channel);
        }
    }
private void handleShutdownSystem ( final TerraHarvestMessage request , final RemoteChannel channel ) throws IOException { m_MessageFactory . createBaseMessageResponse ( request , BaseMessageType . ReceivedShutdownRequest , null ) . queue ( channel ) ; try { m_SystemBundle . stop ( ) ; } catch ( final BundleException e ) { m_Log . error ( "Bundle Error" , e ) ; m_MessageFactory . createBaseErrorMessage ( request , ErrorCode . INTERNAL_ERROR , "Bundle exception when shutting down system: " + e . getMessage ( ) ) . queue ( channel ) ; } }
Shutdown the OSGi framework.
Shutdown the OSGi framework .