mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/observation/ObservationHelper.java
public void registerForEvents()
        {
            final BundleContext context = m_BundleUtil.getBundleContext();

            final String[] topics = new String[] {
                RemoteEventConstants.TOPIC_OBS_STORE_RETRIEVE_COMPLETE
            };

            final Dictionary<String, Object> props = new Hashtable<String, Object>();
            props.put(EventConstants.EVENT_TOPIC, topics);

            //register the event handler that listens for observation store namespace responses
            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 registerForEvents()
        {
            final BundleContext context = m_BundleUtil.getBundleContext();
            final String[] topics = new String[] {
                RemoteEventConstants.TOPIC_OBS_STORE_RETRIEVE_COMPLETE
            };
            final Dictionary<String, Object> props = new Hashtable<String, Object>();
            props.put(EventConstants.EVENT_TOPIC, topics);
            m_Registration = context.registerService(EventHandler.class, this, props);
        }
public void registerForEvents ( ) { final BundleContext context = m_BundleUtil . getBundleContext ( ) ; final String [ ] topics = new String [ ] { RemoteEventConstants . TOPIC_OBS_STORE_RETRIEVE_COMPLETE } ; final Dictionary < String , Object > props = new Hashtable < String , Object > ( ) ; props . put ( EventConstants . EVENT_TOPIC , topics ) ; 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 the event handler that listens for observation store namespace responses