* Applying Mantis #1852 - Plugin Provider refactoring. Courtesy of Ryan/Sempuki.

This commit is contained in:
Adam Frisby
2008-07-30 08:17:19 +00:00
parent 92e7f88a30
commit 2f8acdbe50
13 changed files with 70 additions and 34 deletions

View File

@@ -71,9 +71,9 @@ namespace OpenSim.Grid.GridServer
logloader.AddExtensionPoint ("/OpenSim/LogData");
// loader will try to load all providers (MySQL, MSSQL, etc)
// unless it is constrainted to the correct "id"
gridloader.AddFilter ("/OpenSim/GridData", new PluginIdFilter (provider));
logloader.AddFilter ("/OpenSim/LogData", new PluginIdFilter (provider));
// unless it is constrainted to the correct "Provider" entry in the addin.xml
gridloader.AddFilter ("/OpenSim/GridData", new PluginProviderFilter (provider));
logloader.AddFilter ("/OpenSim/LogData", new PluginProviderFilter (provider));
gridloader.Load();
logloader.Load();