mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/advanced/configuration/SystemConfigurationMgrImpl.java
@PreDestroy
    public void cleanup()
    {
        m_ConfigEventHandler.unregisterListener();
        m_ControllerEventHandler.unregisterListener();
        m_ConfigurationAdminEventHandler.unregisterListener();
        
        for (int controllerId: m_EventRegistraionIds.keySet())
        {
            final UnregisterEventRequestData unregsiterMessage = 
                    UnregisterEventRequestData.newBuilder().setId(m_EventRegistraionIds.get(controllerId)).build();
            
            m_MessageFactory.createEventAdminMessage(EventAdminMessageType.UnregisterEventRequest, unregsiterMessage).
                queue(controllerId, null);
        }
    }
/**
     * Predestroy method. Method unregisters all registered listeners.
     */
Predestroy method. Method unregisters all registered listeners.
Predestroy method . Method unregisters all registered listeners .
@PreDestroy
    public void cleanup()
    {
        m_ConfigEventHandler.unregisterListener();
        m_ControllerEventHandler.unregisterListener();
        m_ConfigurationAdminEventHandler.unregisterListener();
        for (int controllerId: m_EventRegistraionIds.keySet())
        {
            final UnregisterEventRequestData unregsiterMessage = 
                    UnregisterEventRequestData.newBuilder().setId(m_EventRegistraionIds.get(controllerId)).build();
            m_MessageFactory.createEventAdminMessage(EventAdminMessageType.UnregisterEventRequest, unregsiterMessage).
                queue(controllerId, null);
        }
    }
@ PreDestroy public void cleanup ( ) { m_ConfigEventHandler . unregisterListener ( ) ; m_ControllerEventHandler . unregisterListener ( ) ; m_ConfigurationAdminEventHandler . unregisterListener ( ) ; for ( int controllerId : m_EventRegistraionIds . keySet ( ) ) { final UnregisterEventRequestData unregsiterMessage = UnregisterEventRequestData . newBuilder ( ) . setId ( m_EventRegistraionIds . get ( controllerId ) ) . build ( ) ; m_MessageFactory . createEventAdminMessage ( EventAdminMessageType . UnregisterEventRequest , unregsiterMessage ) . queue ( controllerId , null ) ; } }
Predestroy method.
Predestroy method .