mil.dod.th.ose.remote/src/mil/dod/th/ose/remote/util/MetatypeInformationListener.java
public void registerForMetatypeEvents()
        {
            //dictionary of properties
            final Dictionary<String, Object> props = new Hashtable<String, Object>();
            final String topic = OSGiEventConstants.TOPIC_SERVICE_REGISTERED;
            props.put(EventConstants.EVENT_TOPIC, topic);

            //register the event handler
            m_ServiceReg = m_Context.registerService(EventHandler.class, this, props);
        }
/**
         * Method to register this event handler for metatype events.
         */
Method to register this event handler for metatype events.
Method to register this event handler for metatype events .
public void registerForMetatypeEvents()
        {
            final Dictionary<String, Object> props = new Hashtable<String, Object>();
            final String topic = OSGiEventConstants.TOPIC_SERVICE_REGISTERED;
            props.put(EventConstants.EVENT_TOPIC, topic);
            m_ServiceReg = m_Context.registerService(EventHandler.class, this, props);
        }
public void registerForMetatypeEvents ( ) { final Dictionary < String , Object > props = new Hashtable < String , Object > ( ) ; final String topic = OSGiEventConstants . TOPIC_SERVICE_REGISTERED ; props . put ( EventConstants . EVENT_TOPIC , topic ) ; m_ServiceReg = m_Context . registerService ( EventHandler . class , this , props ) ; }
Method to register this event handler for metatype events.
Method to register this event handler for metatype events .
//dictionary of properties //register the event handler