Skip to content

Commit

Permalink
Added identity of user to be given when installing infrastructure.
Browse files Browse the repository at this point in the history
  • Loading branch information
udidahan committed Jan 30, 2011
1 parent a051a81 commit ae03e80
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 25 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
using System;
using System.Security.Principal;

namespace NServiceBus.Installation.Windows
{
class DtcInstaller : INeedToInstallInfrastructure<Environments.Windows>
{
public void Install()
public void Install(WindowsIdentity identity)
{
Utils.DtcUtil.StartDtcIfNecessary();
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
using System;
using System.Security.Principal;

namespace NServiceBus.Installation.Windows
{
class MsmqInstaller : INeedToInstallInfrastructure<Environments.Windows>
{
public void Install()
public void Install(WindowsIdentity identity)
{
Utils.MsmqInstallation.StartMsmqIfNecessary();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,19 +59,16 @@
<HintPath>..\..\..\..\..\build\output\NServiceBus.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="NServiceBus.Config, Version=1.9.2.1943, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\build\NServiceBus.Config.dll</HintPath>
<Reference Include="NServiceBus.Config">
<HintPath>..\..\..\..\..\build\nservicebus.core\NServiceBus.Config.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="NServiceBus.ObjectBuilder, Version=1.9.3.39473, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\build\NServiceBus.ObjectBuilder.dll</HintPath>
<Reference Include="NServiceBus.ObjectBuilder">
<HintPath>..\..\..\..\..\build\nservicebus.core\NServiceBus.ObjectBuilder.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="NServiceBus.Unicast.Subscriptions, Version=1.9.2.7610, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\build\NServiceBus.Unicast.Subscriptions.dll</HintPath>
<Reference Include="NServiceBus.Unicast.Subscriptions">
<HintPath>..\..\..\..\..\build\nservicebus.core\NServiceBus.Unicast.Subscriptions.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>

<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
Expand Down Expand Up @@ -64,24 +63,21 @@
<HintPath>..\..\..\..\build\output\NServiceBus.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="NServiceBus.ObjectBuilder, Version=1.9.3.39473, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\build\NServiceBus.ObjectBuilder.dll</HintPath>
<Reference Include="NServiceBus.ObjectBuilder">
<HintPath>..\..\..\..\build\nservicebus.core\NServiceBus.ObjectBuilder.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="NServiceBus.Unicast.Subscriptions, Version=1.9.0.38057, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\build\NServiceBus.Unicast.Subscriptions.dll</HintPath>
<Reference Include="NServiceBus.Unicast.Subscriptions">
<HintPath>..\..\..\..\build\nservicebus.core\NServiceBus.Unicast.Subscriptions.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="NServiceBus.Unicast.Transport, Version=1.9.0.38023, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\build\NServiceBus.Unicast.Transport.dll</HintPath>
<Reference Include="NServiceBus.Unicast.Transport">
<HintPath>..\..\..\..\build\nservicebus.core\NServiceBus.Unicast.Transport.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="NServiceBus.Utils, Version=1.10.1.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\build\NServiceBus.Utils.dll</HintPath>
<Reference Include="NServiceBus.Utils">
<HintPath>..\..\..\..\build\nservicebus.core\NServiceBus.Utils.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.configuration" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public interface INeedToInstallInfrastructure
/// Interface invoked by the infrastructure when going to install an endpoint for a specific environment.
/// </summary>
/// <typeparam name="T"></typeparam>
public interface INeedToInstallInfrastructure<T> where T : IEnvironment
public interface INeedToInstallInfrastructure<T> : INeedToInstallInfrastructure where T : IEnvironment
{

}
Expand Down

0 comments on commit ae03e80

Please sign in to comment.