From ed69e84874b710c2cc3b8af94dd00cf725cf6d03 Mon Sep 17 00:00:00 2001 From: mingchen Date: Thu, 19 Jul 2007 20:39:33 +0000 Subject: *Moved XmlConfiguration to its own project *Made it possible to load a configuration interface by DLL *Deleted the 1024 config files until they are updated --- OpenSim/Grid/AssetServer/Main.cs | 28 ---------------------------- OpenSim/Grid/GridServer/Main.cs | 4 ++-- OpenSim/Grid/UserServer/Main.cs | 4 ++-- 3 files changed, 4 insertions(+), 32 deletions(-) (limited to 'OpenSim/Grid') diff --git a/OpenSim/Grid/AssetServer/Main.cs b/OpenSim/Grid/AssetServer/Main.cs index f29a540..5a8368c 100644 --- a/OpenSim/Grid/AssetServer/Main.cs +++ b/OpenSim/Grid/AssetServer/Main.cs @@ -291,34 +291,6 @@ namespace OpenSim.Grid.AssetServer //info.loaded=true; } - /*private GridConfig LoadConfigDll(string dllName) - { - Assembly pluginAssembly = Assembly.LoadFrom(dllName); - GridConfig config = null; - - foreach (Type pluginType in pluginAssembly.GetTypes()) - { - if (pluginType.IsPublic) - { - if (!pluginType.IsAbstract) - { - Type typeInterface = pluginType.GetInterface("IGridConfig", true); - - if (typeInterface != null) - { - IGridConfig plug = (IGridConfig)Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString())); - config = plug.GetConfigObject(); - break; - } - - typeInterface = null; - } - } - } - pluginAssembly = null; - return config; - }*/ - public void CreateAsset(LLUUID assetId, byte[] assetData) { AssetBase asset = new AssetBase(); diff --git a/OpenSim/Grid/GridServer/Main.cs b/OpenSim/Grid/GridServer/Main.cs index 94ecbfc..c72948d 100644 --- a/OpenSim/Grid/GridServer/Main.cs +++ b/OpenSim/Grid/GridServer/Main.cs @@ -197,7 +197,7 @@ namespace OpenSim.Grid.GridServer { } - private void ConfigDB(IGenericConfig configData) + /*private void ConfigDB(IGenericConfig configData) { try { @@ -218,6 +218,6 @@ namespace OpenSim.Grid.GridServer { } - } + }*/ } } diff --git a/OpenSim/Grid/UserServer/Main.cs b/OpenSim/Grid/UserServer/Main.cs index da53e11..99401fc 100644 --- a/OpenSim/Grid/UserServer/Main.cs +++ b/OpenSim/Grid/UserServer/Main.cs @@ -147,7 +147,7 @@ namespace OpenSim.Grid.UserServer } } - private void ConfigDB(IGenericConfig configData) + /*private void ConfigDB(IGenericConfig configData) { try { @@ -168,7 +168,7 @@ namespace OpenSim.Grid.UserServer { } - } + }*/ public void Show(string ShowWhat) { -- cgit v1.1