mil.dod.th.ose.datastream/src/mil/dod/th/ose/datastream/DataStreamServiceImpl.java
@Activate
    public void activate(final Map<String, Object> props, final BundleContext coreContext) throws InvalidSyntaxException
    {
        m_Context = coreContext;
        m_ConfigListener = new ConfigurationListener();
        m_ConfigListener.registerEvents();
        m_PidRemovedListener = new PidRemovedListener();
        m_PidRemovedListener.registerEvents();
        
        m_FactoryContext = m_FactServiceContextComp.newInstance(null);
        m_FactoryContext.initialize(coreContext, m_FactoryServiceProxy, this);

        m_WakeLock = m_PowerManager.createWakeLock(getClass(), "coreDataStreamService");

        setMulticastHost("");
        setStartPort(-1);
        
        if (props.get(DataStreamServiceConfig.CONFIG_PROP_MULTICAST_HOST) != null)
        {
            setMulticastHost((String)props.get(DataStreamServiceConfig.CONFIG_PROP_MULTICAST_HOST));
        }
        
        if (props.get(DataStreamServiceConfig.CONFIG_PROP_START_PORT) != null)
        {
            setStartPort((int)props.get(DataStreamServiceConfig.CONFIG_PROP_START_PORT));
        }
        
    }
/**
     * The service component activation method.
     * 
     * Registers factories that have been added before activation.
     * 
     * @param props
     *      configuration properties associated with the component
     * @param coreContext
     *      bundle context of the core bundle
     * @throws InvalidSyntaxException
     *      if {@link FactoryServiceContext} uses an invalid filter string
     */
The service component activation method.

Registers factories that have been added before activation.

@param props
configuration properties associated with the component
@param coreContext
bundle context of the core bundle
@throws InvalidSyntaxException
if  FactoryServiceContext uses an invalid filter string
The service component activation method . Registers factories that have been added before activation . @param props configuration properties associated with the component @param coreContext bundle context of the core bundle @throws InvalidSyntaxException if FactoryServiceContext uses an invalid filter string
@Activate
    public void activate(final Map<String, Object> props, final BundleContext coreContext) throws InvalidSyntaxException
    {
        m_Context = coreContext;
        m_ConfigListener = new ConfigurationListener();
        m_ConfigListener.registerEvents();
        m_PidRemovedListener = new PidRemovedListener();
        m_PidRemovedListener.registerEvents();
        m_FactoryContext = m_FactServiceContextComp.newInstance(null);
        m_FactoryContext.initialize(coreContext, m_FactoryServiceProxy, this);
        m_WakeLock = m_PowerManager.createWakeLock(getClass(), "coreDataStreamService");
        setMulticastHost("");
        setStartPort(-1);
        if (props.get(DataStreamServiceConfig.CONFIG_PROP_MULTICAST_HOST) != null)
        {
            setMulticastHost((String)props.get(DataStreamServiceConfig.CONFIG_PROP_MULTICAST_HOST));
        }
        if (props.get(DataStreamServiceConfig.CONFIG_PROP_START_PORT) != null)
        {
            setStartPort((int)props.get(DataStreamServiceConfig.CONFIG_PROP_START_PORT));
        }
    }
@ Activate public void activate ( final Map < String , Object > props , final BundleContext coreContext ) throws InvalidSyntaxException { m_Context = coreContext ; m_ConfigListener = new ConfigurationListener ( ) ; m_ConfigListener . registerEvents ( ) ; m_PidRemovedListener = new PidRemovedListener ( ) ; m_PidRemovedListener . registerEvents ( ) ; m_FactoryContext = m_FactServiceContextComp . newInstance ( null ) ; m_FactoryContext . initialize ( coreContext , m_FactoryServiceProxy , this ) ; m_WakeLock = m_PowerManager . createWakeLock ( getClass ( ) , "coreDataStreamService" ) ; setMulticastHost ( "" ) ; setStartPort ( - 1 ) ; if ( props . get ( DataStreamServiceConfig . CONFIG_PROP_MULTICAST_HOST ) != null ) { setMulticastHost ( ( String ) props . get ( DataStreamServiceConfig . CONFIG_PROP_MULTICAST_HOST ) ) ; } if ( props . get ( DataStreamServiceConfig . CONFIG_PROP_START_PORT ) != null ) { setStartPort ( ( int ) props . get ( DataStreamServiceConfig . CONFIG_PROP_START_PORT ) ) ; } }
The service component activation method.
The service component activation method .