mil.dod.th.ose.remote/src/mil/dod/th/ose/remote/osgi/EventAdminMessageService.java
private void cleanupAllRegistrations()
    {
        for (Integer regId : m_Registrations.keySet())
        {
            final RemoteEventRegistration eventReg = m_Registrations.get(regId);

            // Update the remaining expiration time
            updateRegistration(regId);

            // Unregister the service registration
            final ServiceRegistration<EventHandler> serviceReg = eventReg.getServiceRegistration();
            serviceReg.unregister();
        }
        m_Logging.debug("The number of registrations that should have been removed %d", m_Registrations.size());
        m_Registrations.clear();
    }
/**
     * Clean-up all registrations. This only cleans up the registration from memory and does no remove the registrations
     * from the datatstore.
     */
Clean-up all registrations. This only cleans up the registration from memory and does no remove the registrations
from the datatstore.
Clean - up all registrations . This only cleans up the registration from memory and does no remove the registrations from the datatstore .
private void cleanupAllRegistrations()
    {
        for (Integer regId : m_Registrations.keySet())
        {
            final RemoteEventRegistration eventReg = m_Registrations.get(regId);
            updateRegistration(regId);
            final ServiceRegistration<EventHandler> serviceReg = eventReg.getServiceRegistration();
            serviceReg.unregister();
        }
        m_Logging.debug("The number of registrations that should have been removed %d", m_Registrations.size());
        m_Registrations.clear();
    }
private void cleanupAllRegistrations ( ) { for ( Integer regId : m_Registrations . keySet ( ) ) { final RemoteEventRegistration eventReg = m_Registrations . get ( regId ) ; updateRegistration ( regId ) ; final ServiceRegistration < EventHandler > serviceReg = eventReg . getServiceRegistration ( ) ; serviceReg . unregister ( ) ; } m_Logging . debug ( "The number of registrations that should have been removed %d" , m_Registrations . size ( ) ) ; m_Registrations . clear ( ) ; }
Clean-up all registrations.
Clean - up all registrations .
// Update the remaining expiration time // Unregister the service registration