diff options
Diffstat (limited to 'OpenSim/Grid/AssetInventoryServer/AssetInventoryServer.cs')
-rw-r--r-- | OpenSim/Grid/AssetInventoryServer/AssetInventoryServer.cs | 42 |
1 files changed, 1 insertions, 41 deletions
diff --git a/OpenSim/Grid/AssetInventoryServer/AssetInventoryServer.cs b/OpenSim/Grid/AssetInventoryServer/AssetInventoryServer.cs index 8d71f72..d37c63d 100644 --- a/OpenSim/Grid/AssetInventoryServer/AssetInventoryServer.cs +++ b/OpenSim/Grid/AssetInventoryServer/AssetInventoryServer.cs | |||
@@ -106,41 +106,8 @@ namespace OpenSim.Grid.AssetInventoryServer | |||
106 | return false; | 106 | return false; |
107 | } | 107 | } |
108 | 108 | ||
109 | //try | ||
110 | //{ | ||
111 | // // Create a reference list for C# extensions compiled at runtime | ||
112 | // List<string> references = new List<string>(); | ||
113 | // references.Add("OpenMetaverseTypes.dll"); | ||
114 | // references.Add("OpenMetaverse.dll"); | ||
115 | // references.Add("OpenMetaverse.StructuredData.dll"); | ||
116 | // references.Add("OpenMetaverse.Http.dll"); | ||
117 | // references.Add("ExtensionLoader.dll"); | ||
118 | // references.Add("AssetServer.exe"); | ||
119 | |||
120 | // // Get a list of all of the members of AssetServer that are interfaces | ||
121 | // List<FieldInfo> assignables = ExtensionLoader<AssetServer>.GetInterfaces(this); | ||
122 | |||
123 | // // Load all of the extensions | ||
124 | // ExtensionLoader<AssetServer>.LoadAllExtensions( | ||
125 | // Assembly.GetExecutingAssembly(), | ||
126 | // Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), | ||
127 | // extensionList, | ||
128 | // references, | ||
129 | // "AssetServer.*.dll", | ||
130 | // "AssetServer.*.cs", | ||
131 | // this, | ||
132 | // assignables); | ||
133 | //} | ||
134 | //catch (ExtensionException ex) | ||
135 | //{ | ||
136 | // Logger.Log.Error("Interface loading failed, shutting down: " + ex.Message); | ||
137 | // if (ex.InnerException != null) | ||
138 | // Logger.Log.Error(ex.InnerException.Message, ex.InnerException); | ||
139 | // Stop(); | ||
140 | // return false; | ||
141 | //} | ||
142 | |||
143 | StorageProvider = LoadAssetInventoryServerPlugin("/OpenSim/AssetInventoryServer/StorageProvider") as IAssetStorageProvider; | 109 | StorageProvider = LoadAssetInventoryServerPlugin("/OpenSim/AssetInventoryServer/StorageProvider") as IAssetStorageProvider; |
110 | MetricsProvider = LoadAssetInventoryServerPlugin("/OpenSim/AssetInventoryServer/MetricsProvider") as IMetricsProvider; | ||
144 | 111 | ||
145 | try | 112 | try |
146 | { | 113 | { |
@@ -155,13 +122,6 @@ namespace OpenSim.Grid.AssetInventoryServer | |||
155 | 122 | ||
156 | frontend = LoadAssetInventoryServerPlugin("/OpenSim/AssetInventoryServer/Frontend"); | 123 | frontend = LoadAssetInventoryServerPlugin("/OpenSim/AssetInventoryServer/Frontend"); |
157 | 124 | ||
158 | // Start all of the extensions | ||
159 | //foreach (IExtension<AssetServer> extension in ExtensionLoader<AssetServer>.Extensions) | ||
160 | //{ | ||
161 | // Logger.Log.Info("Starting extension " + extension.GetType().Name); | ||
162 | // extension.Start(this); | ||
163 | //} | ||
164 | |||
165 | return true; | 125 | return true; |
166 | } | 126 | } |
167 | 127 | ||