mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/controller/ControllerMgrImpl.java
private void sendCleanupRequestIfNeeded(final ControllerModel model)
    {
        if (model.needsCleanupRequest() && !model.isReady())
        {
            //model no longer needs cleanup request
            model.setNeedsCleanupRequest(false);

            // clean up previous registrations
            m_MessageFactory.createEventAdminMessage(EventAdminMessageType.CleanupRequest, null).
                queue(model.getId(), null);
        } 
    }
/**
     * Responsible for sending a cleanup request for a specific controller if the controller
     * still requires a cleanup request and is not in a ready state.  At this point, the encryption type of the 
     * controller should be known so that the message can be sent successfully.
     *      
     * @param model
     *      the controller model 
     */
Responsible for sending a cleanup request for a specific controller if the controller
still requires a cleanup request and is not in a ready state.  At this point, the encryption type of the
controller should be known so that the message can be sent successfully.

@param model
the controller model
Responsible for sending a cleanup request for a specific controller if the controller still requires a cleanup request and is not in a ready state . At this point the encryption type of the controller should be known so that the message can be sent successfully . @param model the controller model
private void sendCleanupRequestIfNeeded(final ControllerModel model)
    {
        if (model.needsCleanupRequest() && !model.isReady())
        {
            model.setNeedsCleanupRequest(false);
            m_MessageFactory.createEventAdminMessage(EventAdminMessageType.CleanupRequest, null).
                queue(model.getId(), null);
        } 
    }
private void sendCleanupRequestIfNeeded ( final ControllerModel model ) { if ( model . needsCleanupRequest ( ) && ! model . isReady ( ) ) { model . setNeedsCleanupRequest ( false ) ; m_MessageFactory . createEventAdminMessage ( EventAdminMessageType . CleanupRequest , null ) . queue ( model . getId ( ) , null ) ; } }
Responsible for sending a cleanup request for a specific controller if the controller
 still requires a cleanup request and is not in a ready state.
Responsible for sending a cleanup request for a specific controller if the controller still requires a cleanup request and is not in a ready state .
//model no longer needs cleanup request // clean up previous registrations