mil.dod.th.ose.remote/src/mil/dod/th/ose/remote/util/MetatypeInformationListener.java
public void registerForMetatypeBundleEvents()
        {
            //dictionary of properties
            final Dictionary<String, Object> props = new Hashtable<String, Object>();
            final String[] topics = {OSGiEventConstants.TOPIC_BUNDLE_RESOLVED, OSGiEventConstants.TOPIC_BUNDLE_STARTED};
            props.put(EventConstants.EVENT_TOPIC, topics);

            //register the event handler
            m_ServiceReg = m_Context.registerService(EventHandler.class, this, props);
        }
/**
         * Method to register this event handler for bundle events.
         */
Method to register this event handler for bundle events.
Method to register this event handler for bundle events .
public void registerForMetatypeBundleEvents()
        {
            final Dictionary<String, Object> props = new Hashtable<String, Object>();
            final String[] topics = {OSGiEventConstants.TOPIC_BUNDLE_RESOLVED, OSGiEventConstants.TOPIC_BUNDLE_STARTED};
            props.put(EventConstants.EVENT_TOPIC, topics);
            m_ServiceReg = m_Context.registerService(EventHandler.class, this, props);
        }
public void registerForMetatypeBundleEvents ( ) { final Dictionary < String , Object > props = new Hashtable < String , Object > ( ) ; final String [ ] topics = { OSGiEventConstants . TOPIC_BUNDLE_RESOLVED , OSGiEventConstants . TOPIC_BUNDLE_STARTED } ; props . put ( EventConstants . EVENT_TOPIC , topics ) ; m_ServiceReg = m_Context . registerService ( EventHandler . class , this , props ) ; }
Method to register this event handler for bundle events.
Method to register this event handler for bundle events .
//dictionary of properties //register the event handler