aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/UserServer/Main.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Grid/UserServer/Main.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/Grid/UserServer/Main.cs b/OpenSim/Grid/UserServer/Main.cs
index c0cba4a..0a5abd3 100644
--- a/OpenSim/Grid/UserServer/Main.cs
+++ b/OpenSim/Grid/UserServer/Main.cs
@@ -145,9 +145,16 @@ namespace OpenSim.Grid.UserServer
145 /// <param name="inventoryService"></param> 145 /// <param name="inventoryService"></param>
146 protected virtual void StartupUserServerModules() 146 protected virtual void StartupUserServerModules()
147 { 147 {
148 m_log.Info("[STARTUP]: Establishing data connection"); 148 m_log.Info("[STARTUP]: Establishing data connection");
149
150 //we only need core components so we can request them from here
151 IInterServiceInventoryServices inventoryService;
152 TryGet<IInterServiceInventoryServices>(out inventoryService);
153
154 CommunicationsManager commsManager = new UserServerCommsManager(inventoryService);
155
149 //setup database access service, for now this has to be created before the other modules. 156 //setup database access service, for now this has to be created before the other modules.
150 m_userDataBaseService = new UserDataBaseService(); 157 m_userDataBaseService = new UserDataBaseService(commsManager);
151 m_userDataBaseService.Initialise(this); 158 m_userDataBaseService.Initialise(this);
152 159
153 //TODO: change these modules so they fetch the databaseService class in the PostInitialise method 160 //TODO: change these modules so they fetch the databaseService class in the PostInitialise method