add some notes

integration
BlueWall 2012-07-27 01:52:07 -04:00
parent 20d7229358
commit d3f1599f27
1 changed files with 4 additions and 2 deletions

View File

@ -209,10 +209,12 @@ namespace OpenSim.Services.IntegrationService
// We can do build-up and tear-down of our plugin // We can do build-up and tear-down of our plugin
void OnExtensionChanged(object s, ExtensionNodeEventArgs args) void OnExtensionChanged(object s, ExtensionNodeEventArgs args)
{ {
// This is our plugin
IntegrationPlugin ip = (IntegrationPlugin) args.ExtensionObject; IntegrationPlugin ip = (IntegrationPlugin) args.ExtensionObject;
string file_path = args.ExtensionNode.Addin.GetFilePath(); // We will need to get the name and path of the dll for the connector to
// be able to load the service in the refactored version...
// Might also use this to check for updates to alert the user
Addin a = m_PluginManager.Registry.GetAddin(args.ExtensionNode.Addin.Id); Addin a = m_PluginManager.Registry.GetAddin(args.ExtensionNode.Addin.Id);
m_log.InfoFormat("[INTEGRATION SERVICE]: Plugin Change {0}",a.AddinFile); m_log.InfoFormat("[INTEGRATION SERVICE]: Plugin Change {0}",a.AddinFile);
switch (args.Change) switch (args.Change)