Send the service so the pluggin can load other assemblies

integration
BlueWall 2012-04-11 09:19:16 -04:00
parent bb3aa1440d
commit 0a949a20ca
1 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ namespace OpenSim.Services.IntegrationService
[TypeExtensionPoint (Path="/OpenSim/IntegrationService", Name="IntegrationService")]
public interface IntegrationPlugin
{
void Init(IConfigSource PluginConfig, IHttpServer server);
void Init(IConfigSource PluginConfig, IHttpServer server, ServiceBase service);
void Unload();
string Name{ get; }
string ConfigName { get; }
@ -224,7 +224,7 @@ namespace OpenSim.Services.IntegrationService
}
m_log.InfoFormat("[INTEGRATION SERVICE]: ****** In Loading Plugin {0}", plugin.Name);
plugin.Init(PlugConfig, m_Server);
plugin.Init(PlugConfig, m_Server, this);
}
private void UnLoadingPlugin(IntegrationPlugin plugin)