diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs index 5c8fddcc2d..dfdb0e7822 100644 --- a/OpenSim/Framework/Communications/Cache/AssetCache.cs +++ b/OpenSim/Framework/Communications/Cache/AssetCache.cs @@ -85,6 +85,11 @@ namespace OpenSim.Framework.Communications.Cache /// private readonly IAssetServer m_assetServer; + public IAssetServer AssetServer + { + get { return m_assetServer; } + } + /// /// Report statistical data. /// diff --git a/OpenSim/Framework/Communications/Cache/AssetServerBase.cs b/OpenSim/Framework/Communications/Cache/AssetServerBase.cs index 9f4f4807d5..a289fb79a5 100644 --- a/OpenSim/Framework/Communications/Cache/AssetServerBase.cs +++ b/OpenSim/Framework/Communications/Cache/AssetServerBase.cs @@ -45,6 +45,11 @@ namespace OpenSim.Framework.Communications.Cache protected Thread m_localAssetServerThread; protected IAssetProviderPlugin m_assetProvider; + public IAssetProviderPlugin AssetProviderPlugin + { + get { return m_assetProvider; } + } + // Temporarily hardcoded - should be a plugin protected IAssetLoader assetLoader = new AssetLoaderFileSystem();