mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/controller/ControllerMgrImpl.java
public void registerChannelAddedRemovedEvents()
        {
            final BundleContext context = m_BundleUtil.getBundleContext();
            // register to listen to channel updated or removed events
            final Dictionary<String, Object> props = new Hashtable<String, Object>();
            final String[] channelAddRemove = {RemoteChannelLookup.TOPIC_CHANNEL_UPDATED, 
                RemoteChannelLookup.TOPIC_CHANNEL_REMOVED};
            props.put(EventConstants.EVENT_TOPIC, channelAddRemove);
            
            //register the event handler
            m_Registration = context.registerService(EventHandler.class, this, props);
        }
/**
         * Method to register this event handler for the message received topic.
         */
Method to register this event handler for the message received topic.
Method to register this event handler for the message received topic .
public void registerChannelAddedRemovedEvents()
        {
            final BundleContext context = m_BundleUtil.getBundleContext();
            final Dictionary<String, Object> props = new Hashtable<String, Object>();
            final String[] channelAddRemove = {RemoteChannelLookup.TOPIC_CHANNEL_UPDATED, 
                RemoteChannelLookup.TOPIC_CHANNEL_REMOVED};
            props.put(EventConstants.EVENT_TOPIC, channelAddRemove);
            m_Registration = context.registerService(EventHandler.class, this, props);
        }
public void registerChannelAddedRemovedEvents ( ) { final BundleContext context = m_BundleUtil . getBundleContext ( ) ; final Dictionary < String , Object > props = new Hashtable < String , Object > ( ) ; final String [ ] channelAddRemove = { RemoteChannelLookup . TOPIC_CHANNEL_UPDATED , RemoteChannelLookup . TOPIC_CHANNEL_REMOVED } ; props . put ( EventConstants . EVENT_TOPIC , channelAddRemove ) ; m_Registration = context . registerService ( EventHandler . class , this , props ) ; }
Method to register this event handler for the message received topic.
Method to register this event handler for the message received topic .
// register to listen to channel updated or removed events //register the event handler