mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/controller/ControllerMgrImpl.java
private void removeControllerAndPostEvent(final ControllerModel model)
    {
        //Remove the controller from the local map of known controllers.
        m_Controllers.remove(model);
        
        //Create a controller removed event and post it to the event admin service.
        final Map<String, Object> props = new HashMap<String, Object>();
        props.put(SharedPropertyConstants.EVENT_PROP_CONTROLLER_ID, model.getId());
        props.put(ControllerMgr.EVENT_PROP_CONTROLLER_NAME, model.getName());
        props.put(ControllerMgr.EVENT_PROP_CONTROLLER_VERSION, model.getVersion());
        
        //post the controller removed event
        final Event controllerRemoved = new Event(ControllerMgr.TOPIC_CONTROLLER_REMOVED, props);
        m_EventAdmin.postEvent(controllerRemoved);
        
        Logging.log(LogService.LOG_DEBUG, "Removed controller model with ID: 0x%08x", model.getId());
    }
/**
     * Method that removes the specified controller from the local map of known controllers and posts a 
     * {@link ControllerMgr#TOPIC_CONTROLLER_REMOVED} event.
     * 
     * @param model
     *      model that represents the controller that to be removed
     */
Method that removes the specified controller from the local map of known controllers and posts a
ControllerMgr#TOPIC_CONTROLLER_REMOVED event.

@param model
model that represents the controller that to be removed
Method that removes the specified controller from the local map of known controllers and posts a ControllerMgr#TOPIC_CONTROLLER_REMOVED event . @param model model that represents the controller that to be removed
private void removeControllerAndPostEvent(final ControllerModel model)
    {
        m_Controllers.remove(model);
        final Map<String, Object> props = new HashMap<String, Object>();
        props.put(SharedPropertyConstants.EVENT_PROP_CONTROLLER_ID, model.getId());
        props.put(ControllerMgr.EVENT_PROP_CONTROLLER_NAME, model.getName());
        props.put(ControllerMgr.EVENT_PROP_CONTROLLER_VERSION, model.getVersion());
        final Event controllerRemoved = new Event(ControllerMgr.TOPIC_CONTROLLER_REMOVED, props);
        m_EventAdmin.postEvent(controllerRemoved);
        Logging.log(LogService.LOG_DEBUG, "Removed controller model with ID: 0x%08x", model.getId());
    }
private void removeControllerAndPostEvent ( final ControllerModel model ) { m_Controllers . remove ( model ) ; final Map < String , Object > props = new HashMap < String , Object > ( ) ; props . put ( SharedPropertyConstants . EVENT_PROP_CONTROLLER_ID , model . getId ( ) ) ; props . put ( ControllerMgr . EVENT_PROP_CONTROLLER_NAME , model . getName ( ) ) ; props . put ( ControllerMgr . EVENT_PROP_CONTROLLER_VERSION , model . getVersion ( ) ) ; final Event controllerRemoved = new Event ( ControllerMgr . TOPIC_CONTROLLER_REMOVED , props ) ; m_EventAdmin . postEvent ( controllerRemoved ) ; Logging . log ( LogService . LOG_DEBUG , "Removed controller model with ID: 0x%08x" , model . getId ( ) ) ; }
Method that removes the specified controller from the local map of known controllers and posts a
 {@link ControllerMgr#TOPIC_CONTROLLER_REMOVED} event.
Method that removes the specified controller from the local map of known controllers and posts a { @link ControllerMgr#TOPIC_CONTROLLER_REMOVED } event .
//Remove the controller from the local map of known controllers. //Create a controller removed event and post it to the event admin service. //post the controller removed event