NH12: Make LocalSessionFactoryObject's ApplicationContext getter protected to allow easier BytecodeProvider integration with inheritance

NH12: Small fix to resource loader selection
Fix Spring.Messaging.2005 project file
This commit is contained in:
lahma
2009-12-15 09:18:42 +00:00
parent c220c23d2c
commit bfb5f3758d
2 changed files with 3 additions and 2 deletions

View File

@@ -127,6 +127,7 @@ namespace Spring.Data.NHibernate
public IApplicationContext ApplicationContext
{
set { this.applicationContext = value; }
protected get { return this.applicationContext; }
}
/// <summary>
@@ -368,7 +369,7 @@ namespace Spring.Data.NHibernate
foreach (string resourceName in mappingResources)
{
config.AddInputStream(resourceLoader.GetResource(resourceName).InputStream);
config.AddInputStream(loader.GetResource(resourceName).InputStream);
}
}

View File

@@ -50,6 +50,7 @@
<Compile Include="Messaging\Core\MessageQueueGatewaySupport.cs" />
<Compile Include="Messaging\Core\MessageQueueMetadata.cs" />
<Compile Include="Messaging\Core\MessageQueueMetadataCache.cs" />
<Compile Include="Messaging\Core\QueueUtils.cs" />
<Compile Include="Messaging\Listener\AbstractSendToQueueExceptionHandler.cs" />
<Compile Include="Messaging\Listener\AbstractTransactionalMessageListenerContainer.cs" />
<Compile Include="Messaging\Listener\DistributedTxMessageListenerContainer.cs" />
@@ -81,7 +82,6 @@
<Compile Include="Messaging\Support\Converters\XmlMessageConverter.cs" />
<Compile Include="Messaging\Support\MessageQueueCreatorDelegate.cs" />
<Compile Include="Messaging\Support\MessageQueueFactoryObject.cs" />
<Compile Include="Messaging\Support\QueueUtils.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Spring.Core\Spring.Core.2005.csproj">