mil.dod.th.ose.gui.remote.encryption/src/mil/dod/th/ose/gui/remotesystemencryption/EncryptionTypeManagerImpl.java
private synchronized void updateEncryptionInfoForController(final int systemId, final EncryptType type)
    {
        //add type to map so it's immediately available for local use
        m_RemoteSystemEncryptService.addEncryptionTypeForSystem(systemId, type);
        
        final Map<String, Object> props = new HashMap<String, Object>();
        props.put(SharedPropertyConstants.EVENT_PROP_CONTROLLER_ID, systemId);
        props.put(ControllerEncryptionConstants.EVENT_PROP_ENCRYPTION_TYPE, type.toString());
        m_EventAdmin.postEvent(new Event(ControllerEncryptionConstants.TOPIC_CONTROLLER_ENCRYPTION_TYPE_UPDATED, 
                props));
    }
/**
     * Helper method for persisting a controller's encryption info and posting an encryption info updated event.  
     * @param systemId
     *      ID for which the controller encryption type has been updated.
     * @param type
     *      Encryption type of the specified controller.
     */
Helper method for persisting a controller's encryption info and posting an encryption info updated event.
@param systemId
ID for which the controller encryption type has been updated.
@param type
Encryption type of the specified controller.
Helper method for persisting a controller ' s encryption info and posting an encryption info updated event . @param systemId ID for which the controller encryption type has been updated . @param type Encryption type of the specified controller .
private synchronized void updateEncryptionInfoForController(final int systemId, final EncryptType type)
    {
        m_RemoteSystemEncryptService.addEncryptionTypeForSystem(systemId, type);
        final Map<String, Object> props = new HashMap<String, Object>();
        props.put(SharedPropertyConstants.EVENT_PROP_CONTROLLER_ID, systemId);
        props.put(ControllerEncryptionConstants.EVENT_PROP_ENCRYPTION_TYPE, type.toString());
        m_EventAdmin.postEvent(new Event(ControllerEncryptionConstants.TOPIC_CONTROLLER_ENCRYPTION_TYPE_UPDATED, 
                props));
    }
private synchronized void updateEncryptionInfoForController ( final int systemId , final EncryptType type ) { m_RemoteSystemEncryptService . addEncryptionTypeForSystem ( systemId , type ) ; final Map < String , Object > props = new HashMap < String , Object > ( ) ; props . put ( SharedPropertyConstants . EVENT_PROP_CONTROLLER_ID , systemId ) ; props . put ( ControllerEncryptionConstants . EVENT_PROP_ENCRYPTION_TYPE , type . toString ( ) ) ; m_EventAdmin . postEvent ( new Event ( ControllerEncryptionConstants . TOPIC_CONTROLLER_ENCRYPTION_TYPE_UPDATED , props ) ) ; }
Helper method for persisting a controller's encryption info and posting an encryption info updated event.
Helper method for persisting a controller ' s encryption info and posting an encryption info updated event .
//add type to map so it's immediately available for local use