mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/channel/ChannelEventWrapper.java
@PostConstruct
    public void init()
    {
        final BundleContext context = m_BundleUtil.getBundleContext();
        // register to listen to the Base:SystemInfo event
        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 that listens for system info responses
        m_Registration = context.registerService(EventHandler.class, this, props);
    }
/**
     * Register for channel updated and removed events.
     */
Register for channel updated and removed events.
Register for channel updated and removed events .
@PostConstruct
    public void init()
    {
        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);
    }
@ PostConstruct public void init ( ) { 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 ) ; }
Register for channel updated and removed events.
Register for channel updated and removed events .
// register to listen to the Base:SystemInfo event //register the event handler that listens for system info responses