mil.dod.th.ose.core/src/mil/dod/th/ose/core/impl/mp/MissionProgramManagerImpl.java
public void registerEvents(final BundleContext context)
        {
            final String[] topics = new String[] {FactoryDescriptor.TOPIC_FACTORY_OBJ_CREATED, 
                FactoryDescriptor.TOPIC_FACTORY_OBJ_NAME_UPDATED, Program.TOPIC_PROGRAM_EXECUTED};
            
            final Dictionary<String, Object> props = new Hashtable<>();
            props.put(EventConstants.EVENT_TOPIC, topics);
            
            m_Registration = context.registerService(EventHandler.class, this, props);
        }
/**
         * Method that registers all program events to listen for.
         * @param context
         *  the bundle context to use to register for events
         */
Method that registers all program events to listen for.
@param context
the bundle context to use to register for events
Method that registers all program events to listen for . @param context the bundle context to use to register for events
public void registerEvents(final BundleContext context)
        {
            final String[] topics = new String[] {FactoryDescriptor.TOPIC_FACTORY_OBJ_CREATED, 
                FactoryDescriptor.TOPIC_FACTORY_OBJ_NAME_UPDATED, Program.TOPIC_PROGRAM_EXECUTED};
            final Dictionary<String, Object> props = new Hashtable<>();
            props.put(EventConstants.EVENT_TOPIC, topics);
            m_Registration = context.registerService(EventHandler.class, this, props);
        }
public void registerEvents ( final BundleContext context ) { final String [ ] topics = new String [ ] { FactoryDescriptor . TOPIC_FACTORY_OBJ_CREATED , FactoryDescriptor . TOPIC_FACTORY_OBJ_NAME_UPDATED , Program . TOPIC_PROGRAM_EXECUTED } ; final Dictionary < String , Object > props = new Hashtable < > ( ) ; props . put ( EventConstants . EVENT_TOPIC , topics ) ; m_Registration = context . registerService ( EventHandler . class , this , props ) ; }
Method that registers all program events to listen for.
Method that registers all program events to listen for .