aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authordiva2009-06-08 17:22:23 +0000
committerdiva2009-06-08 17:22:23 +0000
commit398d321f15d1fed3c0abe7ad795f513c5659fc73 (patch)
treed31a596eb79584d56769358a498a9e352532bdd1
parentFirst draft of the inventory service IN connector. Probably won't work yet. B... (diff)
downloadopensim-SC_OLD-398d321f15d1fed3c0abe7ad795f513c5659fc73.zip
opensim-SC_OLD-398d321f15d1fed3c0abe7ad795f513c5659fc73.tar.gz
opensim-SC_OLD-398d321f15d1fed3c0abe7ad795f513c5659fc73.tar.bz2
opensim-SC_OLD-398d321f15d1fed3c0abe7ad795f513c5659fc73.tar.xz
IInentoryDataPlugins were missing.
-rw-r--r--OpenSim/Services/InventoryService/InventoryServiceBase.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Services/InventoryService/InventoryServiceBase.cs b/OpenSim/Services/InventoryService/InventoryServiceBase.cs
index a10e94f..179d541 100644
--- a/OpenSim/Services/InventoryService/InventoryServiceBase.cs
+++ b/OpenSim/Services/InventoryService/InventoryServiceBase.cs
@@ -61,7 +61,12 @@ namespace OpenSim.Services.InventoryService
61 if (m_Database == null) 61 if (m_Database == null)
62 throw new Exception("Could not find a storage interface in the given module"); 62 throw new Exception("Could not find a storage interface in the given module");
63 63
64 m_Database.Initialise(connString); 64 //m_Database.Initialise(connString);
65 List<IInventoryDataPlugin> plugins
66 = DataPluginFactory.LoadDataPlugins<IInventoryDataPlugin>(dllName, connString);
67
68 foreach (IInventoryDataPlugin plugin in plugins)
69 AddPlugin(plugin);
65 70
66 } 71 }
67 72
@@ -86,7 +91,7 @@ namespace OpenSim.Services.InventoryService
86 /// <param name="connect"> 91 /// <param name="connect">
87 /// The connection string for the storage backend. 92 /// The connection string for the storage backend.
88 /// </param> 93 /// </param>
89 public void AddPlugin(string provider, string connect) 94 public void AddPlugins(string provider, string connect)
90 { 95 {
91 m_plugins.AddRange(DataPluginFactory.LoadDataPlugins<IInventoryDataPlugin>(provider, connect)); 96 m_plugins.AddRange(DataPluginFactory.LoadDataPlugins<IInventoryDataPlugin>(provider, connect));
92 } 97 }