diff --git a/OpenSim/Data/MSSQL/MSSQLUserData.cs b/OpenSim/Data/MSSQL/MSSQLUserData.cs
index 0703aab068..e83241414c 100644
--- a/OpenSim/Data/MSSQL/MSSQLUserData.cs
+++ b/OpenSim/Data/MSSQL/MSSQLUserData.cs
@@ -416,7 +416,7 @@ namespace OpenSim.Data.MSSQL
}
///
- /// See IUserData
+ /// See IUserDataPlugin
///
///
///
diff --git a/OpenSim/Data/MySQL/MySQLUserData.cs b/OpenSim/Data/MySQL/MySQLUserData.cs
index d8830de13c..131823a18b 100644
--- a/OpenSim/Data/MySQL/MySQLUserData.cs
+++ b/OpenSim/Data/MySQL/MySQLUserData.cs
@@ -244,7 +244,7 @@ namespace OpenSim.Data.MySQL
#endregion
- // see IUserData
+ // see IUserDataPlugin
override public UserProfileData GetUserByName(string user, string last)
{
try
@@ -508,7 +508,7 @@ namespace OpenSim.Data.MySQL
}
///
- /// See IUserData
+ /// See IUserDataPlugin
///
/// User UUID
/// User profile data
diff --git a/OpenSim/Data/SQLite/SQLiteUserData.cs b/OpenSim/Data/SQLite/SQLiteUserData.cs
index 2d3687c3cc..45b4dc6299 100644
--- a/OpenSim/Data/SQLite/SQLiteUserData.cs
+++ b/OpenSim/Data/SQLite/SQLiteUserData.cs
@@ -133,7 +133,7 @@ namespace OpenSim.Data.SQLite
public override void Dispose () {}
///
- /// see IUserData,
+ /// see IUserDataPlugin,
/// Get user data profile by UUID
///
/// User UUID
@@ -161,7 +161,7 @@ namespace OpenSim.Data.SQLite
}
///
- /// see IUserData,
+ /// see IUserDataPlugin,
/// Get user data profile by name
///
/// first name
diff --git a/OpenSim/Data/UserDataBase.cs b/OpenSim/Data/UserDataBase.cs
index e4e39d65d4..e604bfdba3 100644
--- a/OpenSim/Data/UserDataBase.cs
+++ b/OpenSim/Data/UserDataBase.cs
@@ -33,7 +33,7 @@ using OpenSim.Framework;
namespace OpenSim.Data
{
- public abstract class UserDataBase : IUserData
+ public abstract class UserDataBase : IUserDataPlugin
{
// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
diff --git a/OpenSim/Framework/Communications/UserManagerBase.cs b/OpenSim/Framework/Communications/UserManagerBase.cs
index f8e77df6c1..05077b6f8a 100644
--- a/OpenSim/Framework/Communications/UserManagerBase.cs
+++ b/OpenSim/Framework/Communications/UserManagerBase.cs
@@ -47,7 +47,7 @@ namespace OpenSim.Framework.Communications
= LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
public UserConfig _config;
- private List _plugins = new List();
+ private List _plugins = new List();
///
/// Adds a new user server plugin - user servers will be requested in the order they were loaded.
@@ -55,8 +55,8 @@ namespace OpenSim.Framework.Communications
/// The filename to the user server plugin DLL
public void AddPlugin(string provider, string connect)
{
- PluginLoader loader =
- new PluginLoader (new UserDataInitialiser (connect));
+ PluginLoader loader =
+ new PluginLoader (new UserDataInitialiser (connect));
// loader will try to load all providers (MySQL, MSSQL, etc)
// unless it is constrainted to the correct "Provider" entry in the addin.xml
@@ -71,7 +71,7 @@ namespace OpenSim.Framework.Communications
// see IUserService
public UserProfileData GetUserProfile(string fname, string lname)
{
- foreach (IUserData plugin in _plugins)
+ foreach (IUserDataPlugin plugin in _plugins)
{
UserProfileData profile = plugin.GetUserByName(fname, lname);
@@ -86,7 +86,7 @@ namespace OpenSim.Framework.Communications
}
public UserAgentData GetAgentByUUID(LLUUID userId)
{
- foreach (IUserData plugin in _plugins)
+ foreach (IUserDataPlugin plugin in _plugins)
{
UserAgentData agent = plugin.GetAgentByUUID(userId);
@@ -101,7 +101,7 @@ namespace OpenSim.Framework.Communications
// see IUserService
public UserProfileData GetUserProfile(LLUUID uuid)
{
- foreach (IUserData plugin in _plugins)
+ foreach (IUserDataPlugin plugin in _plugins)
{
UserProfileData profile = plugin.GetUserByUUID(uuid);
@@ -118,7 +118,7 @@ namespace OpenSim.Framework.Communications
public List GenerateAgentPickerRequestResponse(LLUUID queryID, string query)
{
List pickerlist = new List();
- foreach (IUserData plugin in _plugins)
+ foreach (IUserDataPlugin plugin in _plugins)
{
try
{
@@ -140,7 +140,7 @@ namespace OpenSim.Framework.Communications
///
public bool UpdateUserProfile(UserProfileData data)
{
- foreach (IUserData plugin in _plugins)
+ foreach (IUserDataPlugin plugin in _plugins)
{
try
{
@@ -167,7 +167,7 @@ namespace OpenSim.Framework.Communications
/// Agent profiles
public UserAgentData GetUserAgent(LLUUID uuid)
{
- foreach (IUserData plugin in _plugins)
+ foreach (IUserDataPlugin plugin in _plugins)
{
try
{
@@ -189,7 +189,7 @@ namespace OpenSim.Framework.Communications
/// A user agent
public UserAgentData GetUserAgent(string name)
{
- foreach (IUserData plugin in _plugins)
+ foreach (IUserDataPlugin plugin in _plugins)
{
try
{
@@ -212,7 +212,7 @@ namespace OpenSim.Framework.Communications
/// A user agent
public UserAgentData GetUserAgent(string fname, string lname)
{
- foreach (IUserData plugin in _plugins)
+ foreach (IUserDataPlugin plugin in _plugins)
{
try
{
@@ -229,7 +229,7 @@ namespace OpenSim.Framework.Communications
public void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid, ulong regionhandle)
{
- foreach (IUserData plugin in _plugins)
+ foreach (IUserDataPlugin plugin in _plugins)
{
try
{
@@ -249,7 +249,7 @@ namespace OpenSim.Framework.Communications
/// A List of FriendListItems that contains info about the user's friends
public List GetUserFriendList(LLUUID ownerID)
{
- foreach (IUserData plugin in _plugins)
+ foreach (IUserDataPlugin plugin in _plugins)
{
try
{
@@ -266,7 +266,7 @@ namespace OpenSim.Framework.Communications
public void StoreWebLoginKey(LLUUID agentID, LLUUID webLoginKey)
{
- foreach (IUserData plugin in _plugins)
+ foreach (IUserDataPlugin plugin in _plugins)
{
try
{
@@ -281,7 +281,7 @@ namespace OpenSim.Framework.Communications
public void AddNewUserFriend(LLUUID friendlistowner, LLUUID friend, uint perms)
{
- foreach (IUserData plugin in _plugins)
+ foreach (IUserDataPlugin plugin in _plugins)
{
try
{
@@ -296,7 +296,7 @@ namespace OpenSim.Framework.Communications
public void RemoveUserFriend(LLUUID friendlistowner, LLUUID friend)
{
- foreach (IUserData plugin in _plugins)
+ foreach (IUserDataPlugin plugin in _plugins)
{
try
{
@@ -311,7 +311,7 @@ namespace OpenSim.Framework.Communications
public void UpdateUserFriendPerms(LLUUID friendlistowner, LLUUID friend, uint perms)
{
- foreach (IUserData plugin in _plugins)
+ foreach (IUserDataPlugin plugin in _plugins)
{
try
{
@@ -545,7 +545,7 @@ namespace OpenSim.Framework.Communications
user.HomeRegionX = regX;
user.HomeRegionY = regY;
- foreach (IUserData plugin in _plugins)
+ foreach (IUserDataPlugin plugin in _plugins)
{
try
{
@@ -567,7 +567,7 @@ namespace OpenSim.Framework.Communications
m_log.Info("[USERSTORAGE]: Failed to find User by UUID " + UserProfile.ID.ToString());
return false;
}
- foreach (IUserData plugin in _plugins)
+ foreach (IUserDataPlugin plugin in _plugins)
{
try
{
@@ -593,7 +593,7 @@ namespace OpenSim.Framework.Communications
/// The agent data to be added
public bool AddUserAgent(UserAgentData agentdata)
{
- foreach (IUserData plugin in _plugins)
+ foreach (IUserDataPlugin plugin in _plugins)
{
try
{
@@ -612,7 +612,7 @@ namespace OpenSim.Framework.Communications
/// TODO: stubs for now to get us to a compiling state gently
public AvatarAppearance GetUserAppearance(LLUUID user)
{
- foreach (IUserData plugin in _plugins)
+ foreach (IUserDataPlugin plugin in _plugins)
{
try
{
@@ -628,7 +628,7 @@ namespace OpenSim.Framework.Communications
public void UpdateUserAppearance(LLUUID user, AvatarAppearance appearance)
{
- foreach (IUserData plugin in _plugins)
+ foreach (IUserDataPlugin plugin in _plugins)
{
try
{
@@ -643,7 +643,7 @@ namespace OpenSim.Framework.Communications
public void AddAttachment(LLUUID user, LLUUID item)
{
- foreach (IUserData plugin in _plugins)
+ foreach (IUserDataPlugin plugin in _plugins)
{
try
{
@@ -658,7 +658,7 @@ namespace OpenSim.Framework.Communications
public void RemoveAttachment(LLUUID user, LLUUID item)
{
- foreach (IUserData plugin in _plugins)
+ foreach (IUserDataPlugin plugin in _plugins)
{
try
{
@@ -673,7 +673,7 @@ namespace OpenSim.Framework.Communications
public List GetAttachments(LLUUID user)
{
- foreach (IUserData plugin in _plugins)
+ foreach (IUserDataPlugin plugin in _plugins)
{
try
{
diff --git a/OpenSim/Framework/IUserData.cs b/OpenSim/Framework/IUserData.cs
index 27686c0811..5ecb482811 100644
--- a/OpenSim/Framework/IUserData.cs
+++ b/OpenSim/Framework/IUserData.cs
@@ -33,7 +33,7 @@ namespace OpenSim.Framework
///
/// An interface for connecting to user storage servers.
///
- public interface IUserData : IPlugin
+ public interface IUserDataPlugin : IPlugin
{
///
/// Returns a user profile from a database via their UUID
@@ -177,7 +177,7 @@ namespace OpenSim.Framework
public UserDataInitialiser (string s) { connect = s; }
public override void Initialise (IPlugin plugin)
{
- IUserData p = plugin as IUserData;
+ IUserDataPlugin p = plugin as IUserDataPlugin;
p.Initialise (connect);
}
}
diff --git a/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs b/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs
index 625e3c5733..0d50f0e655 100644
--- a/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs
+++ b/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs
@@ -52,6 +52,7 @@ using OpenSim.Region.Environment.Scenes;
namespace OpenSim.ApplicationPlugins.LoadBalancer
{
[Extension("/OpenSim/Startup")]
+ [ExtensionNode ("Plugin")]
public class LoadBalancerPlugin : IApplicationPlugin
{
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
diff --git a/bin/OpenSim.Data.addin.xml b/bin/OpenSim.Data.addin.xml
index 9530c16906..c3d016bd83 100644
--- a/bin/OpenSim.Data.addin.xml
+++ b/bin/OpenSim.Data.addin.xml
@@ -20,6 +20,6 @@
-
+