diff options
author | diva | 2009-06-08 17:22:23 +0000 |
---|---|---|
committer | diva | 2009-06-08 17:22:23 +0000 |
commit | 398d321f15d1fed3c0abe7ad795f513c5659fc73 (patch) | |
tree | d31a596eb79584d56769358a498a9e352532bdd1 /OpenSim | |
parent | First draft of the inventory service IN connector. Probably won't work yet. B... (diff) | |
download | opensim-SC-398d321f15d1fed3c0abe7ad795f513c5659fc73.zip opensim-SC-398d321f15d1fed3c0abe7ad795f513c5659fc73.tar.gz opensim-SC-398d321f15d1fed3c0abe7ad795f513c5659fc73.tar.bz2 opensim-SC-398d321f15d1fed3c0abe7ad795f513c5659fc73.tar.xz |
IInentoryDataPlugins were missing.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/InventoryService/InventoryServiceBase.cs | 9 |
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 | } |