protected virtual void SetupGridServices() { // m_log.Info("[DATA]: Connecting to Storage Server"); m_gridDBService = new GridDBService(); m_gridDBService.AddPlugin(m_config.DatabaseProvider, m_config.DatabaseConnect); //Register the database access service so modules can fetch it // RegisterInterface<GridDBService>(m_gridDBService); m_gridMessageModule = new GridMessagingModule(); m_gridMessageModule.Initialise(m_version, m_gridDBService, m_core, m_config); m_gridXmlRpcModule = new GridXmlRpcModule(); m_gridXmlRpcModule.Initialise(m_version, m_gridDBService, m_core, m_config); m_gridRestModule = new GridRestModule(); m_gridRestModule.Initialise(m_version, m_gridDBService, m_core, m_config); m_gridMessageModule.PostInitialise(); m_gridXmlRpcModule.PostInitialise(); m_gridRestModule.PostInitialise(); }