mil.dod.th.ose.core/src/mil/dod/th/ose/core/impl/mp/MissionProgramManagerImpl.java
private void bindService(final String name, final Object service)
    {
        m_BaseBindings.put(name, service);
        // script engine may not be available yet, will bind in activate method in this case
        if (m_ScriptEngine != null)
        {
            m_ScriptEngine.put(name, service);
        }
        Logging.log(LogService.LOG_DEBUG, 
                "Added the following binding to the Mission Program Manager context: %s", name);
    }
/**
     * Bind a service to variable so it can be used from a program (JavaScript).
     * 
     * @param name
     *      name of the variable
     * @param service
     *      service to make available
     */
Bind a service to variable so it can be used from a program (JavaScript).

@param name
name of the variable
@param service
service to make available
Bind a service to variable so it can be used from a program ( JavaScript ) . @param name name of the variable @param service service to make available
private void bindService(final String name, final Object service)
    {
        m_BaseBindings.put(name, service);
        if (m_ScriptEngine != null)
        {
            m_ScriptEngine.put(name, service);
        }
        Logging.log(LogService.LOG_DEBUG, 
                "Added the following binding to the Mission Program Manager context: %s", name);
    }
private void bindService ( final String name , final Object service ) { m_BaseBindings . put ( name , service ) ; if ( m_ScriptEngine != null ) { m_ScriptEngine . put ( name , service ) ; } Logging . log ( LogService . LOG_DEBUG , "Added the following binding to the Mission Program Manager context: %s" , name ) ; }
Bind a service to variable so it can be used from a program (JavaScript).
Bind a service to variable so it can be used from a program ( JavaScript ) .
// script engine may not be available yet, will bind in activate method in this case