diff options
Added a PostInitialise method to IApplicationPlugin, this allows us to do work in there knowing that all other ApplicationPlugins have been initialised by that time.
Moved the loadRegions code in LoadRegionsPlugin to the PostInitialise method.
Diffstat (limited to 'OpenSim/ApplicationPlugins/Rest/RestPlugin.cs')
-rw-r--r-- | OpenSim/ApplicationPlugins/Rest/RestPlugin.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs b/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs index aa70886..a0d4209 100644 --- a/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs +++ b/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs | |||
@@ -246,6 +246,10 @@ namespace OpenSim.ApplicationPlugins.Rest | |||
246 | } | 246 | } |
247 | } | 247 | } |
248 | 248 | ||
249 | public virtual void PostInitialise() | ||
250 | { | ||
251 | } | ||
252 | |||
249 | private List<RestStreamHandler> _handlers = new List<RestStreamHandler>(); | 253 | private List<RestStreamHandler> _handlers = new List<RestStreamHandler>(); |
250 | private Dictionary<string, IHttpAgentHandler> _agents = new Dictionary<string, IHttpAgentHandler>(); | 254 | private Dictionary<string, IHttpAgentHandler> _agents = new Dictionary<string, IHttpAgentHandler>(); |
251 | 255 | ||