singrdk/base/Services/ServiceManager/ResilientServiceCreator.sg

26 lines
740 B
Plaintext
Raw Normal View History

2008-03-05 09:52:00 -05:00
///////////////////////////////////////////////////////////////////////////////
//
// Microsoft Research Singularity
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// File: Services\ServiceManager\ServiceCreator.sg
//
// Note:
//
using System;
using Microsoft.Singularity;
using Microsoft.Singularity.Directory;
namespace Microsoft.Singularity.Services.ServiceManager
{
internal class ResilientServiceCreator : IServiceProduceable
{
public Service NewService(string! serviceName, string! binaryName)
{
return new JournalService(serviceName, binaryName,
DirectoryService.NewClientEndpoint());
}
}
}