Advertisement
Guest User

Untitled

a guest
Jul 18th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 12.13 KB | None | 0 0
  1. <configuration>
  2.   <configSections>
  3.     <section name="Telexis.TSU.AutoUpdaterService" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection, Microsoft.Practices.Unity.Configuration" />
  4.     <section name="CoreService" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection, Microsoft.Practices.Unity.Configuration" />    
  5.   </configSections>
  6.  
  7.   <Telexis.TSU.AutoUpdaterService xmlns="http://schemas.microsoft.com/practices/2010/unity">
  8.     <typeAliases>
  9.       <typeAlias alias="IService" type="Telexis.Common.IService, Telexis.Common.Helpers" />
  10.       <typeAlias alias="IFtp" type="Telexis.Common.FtpClient.IFtp, Telexis.Common.FtpClient" />
  11.       <typeAlias alias="IIoWrapperFactory" type="Telexis.Common.Wrappers.IIoWrapperFactory, Telexis.Common.Helpers" />
  12.     </typeAliases>
  13.     <container>
  14.       <register type="IService" mapTo="Telexis.TSU.AutoUpdaterService.AutoUpdaterService, Telexis.TSU.AutoUpdaterService" />
  15.       <register type="IFtp" mapTo="Telexis.Common.FtpClient.FtpClient, Telexis.Common.FtpClient" />
  16.       <register type="IIoWrapperFactory" mapTo="Telexis.Common.Wrappers.IoWrapperFactory, Telexis.Common.Helpers">
  17.         <constructor />
  18.       </register>
  19.     </container>
  20.   </Telexis.TSU.AutoUpdaterService>
  21.  
  22.   <CoreService xmlns="http://schemas.microsoft.com/practices/2010/unity">
  23.     <typeAliases>      
  24.       <typeAlias alias="IService" type="Telexis.Common.IService, Telexis.Common.Helpers" />
  25.       <typeAlias alias="IPresentationService" type="Telexis.TSU.PresentationWCFService.IPresentationService, Telexis.TSU.PresentationWCFService" />
  26.       <typeAlias alias="IUploadHandler" type="Telexis.TSU.CoreService.IUploadHandler, CoreService" />
  27.       <typeAlias alias="IOVCC" type="Telexis.TSU.OVCC.IOVCC, Telexis.TSU.OVCC" />
  28.       <typeAlias alias="IPaymentInterface" type="Telexis.TSU.PaymentInterface.IPaymentInterface, Telexis.TSU.PaymentInterface" />
  29.       <typeAlias alias="ICheckSystem" type="Telexis.TSU.CheckSystem.Interfaces.ICheckSystem, Telexis.TSU.CheckSystem" />
  30.       <typeAlias alias="ICheckPrinterStatus" type="Telexis.TSU.CheckSystem.Interfaces.ICheckPrinterStatus, Telexis.TSU.CheckSystem" />
  31.       <typeAlias alias="ICheckPinTerminalStatus" type="Telexis.TSU.CheckSystem.Interfaces.ICheckPinTerminalStatus, Telexis.TSU.CheckSystem" />
  32.       <typeAlias alias="ICheckOVCCComponentsStatus" type="Telexis.TSU.CheckSystem.Interfaces.ICheckOVCCComponentsStatus, Telexis.TSU.CheckSystem" />
  33.       <typeAlias alias="ICheckInternetConnectionStatus" type="Telexis.TSU.CheckSystem.Interfaces.ICheckInternetConnectionStatus, Telexis.TSU.CheckSystem" />
  34.       <typeAlias alias="IECRWSInteractionStrategy" type="Telexis.TSU.PaymentInterface.PayPlaza.Interfaces.IECRWSInteractionStrategy, Telexis.TSU.PaymentInterface.PayPlaza" />
  35.       <typeAlias alias="IECRWSCommandSupportService" type="Telexis.TSU.PaymentInterface.PayPlaza.Interfaces.IECRWSCommandSupportService, Telexis.TSU.PaymentInterface.PayPlaza" />
  36.       <typeAlias alias="ICertificateService" type="Telexis.TSU.PaymentInterface.PayPlaza.Interfaces.ICertificateService, Telexis.TSU.PaymentInterface.PayPlaza" />
  37.       <typeAlias alias="ITimerFactory" type="Telexis.TSU.PaymentInterface.PayPlaza.Factories.Interfaces.ITimerFactory, Telexis.TSU.PaymentInterface.PayPlaza" />
  38.       <typeAlias alias="ICommandFactory" type="Telexis.TSU.PaymentInterface.PayPlaza.Factories.Interfaces.ICommandFactory, Telexis.TSU.PaymentInterface.PayPlaza" />
  39.       <typeAlias alias="ITransactionAIDToPaymentMeansConverter" type="Telexis.TSU.PaymentInterface.PayPlaza.Interfaces.ITransactionAIDToPaymentMeansConverter, Telexis.TSU.PaymentInterface.PayPlaza" />
  40.       <typeAlias alias="IPrinterInterface" type="Telexis.TSU.PrinterInterface.IPrinterInterface, Telexis.TSU.PrinterInterface" />
  41.       <typeAlias alias="IPrinterCommandsWrapper" type="Telexis.TSU.HprtPrinter.IPrinterCommandsWrapper, Telexis.TSU.HprtPrinter" />
  42.       <typeAlias alias="IDrawHelper" type="Telexis.TSU.PrinterInterface.Helpers.Interface.IDrawHelper, Telexis.TSU.PrinterInterface" />
  43.       <typeAlias alias="IExoWrapperFactory" type="Telexis.TSU.ExoPrinter.Helpers.Factories.IExoWrapperFactory, Telexis.TSU.ExoPrinter" />
  44.       <typeAlias alias="IUicStandardProvider" type="Telexis.TSU.UICStandardProvider.IUicStandardProvider, Telexis.TSU.UICStandardProvider" />
  45.       <typeAlias alias="IUicServicesFactory" type="Telexis.TSU.UICStandardProvider.IUicServicesFactory, Telexis.TSU.UICStandardProvider" />
  46.       <typeAlias alias="IBarcodeValidator" type="Telexis.TSU.BarcodeScanner.IBarcodeValidator, Telexis.TSU.BarcodeScanner" />
  47.       <typeAlias alias="ITransactionSink" type="Telexis.TSU.TransactionProcessing.ITransactionSink, Telexis.TSU.TransactionProcessing" />
  48.       <typeAlias alias="IFtp" type="Telexis.Common.FtpClient.IFtp, Telexis.Common.FtpClient" />
  49.       <typeAlias alias="ITSURepository" type="Telexis.TSU.ITSURepository, Telexis.TSU.DataRepository" />
  50.       <typeAlias alias="IIoWrapperFactory" type="Telexis.Common.Wrappers.IIoWrapperFactory, Telexis.Common.Helpers" />
  51.       <typeAlias alias="IConfigurationManager" type="Telexis.Common.Wrappers.IConfigurationManager, Telexis.Common.Helpers" />
  52.       <typeAlias alias="IMonitoringLog" type="Telexis.Monitoring.MonitoringLog.Interfaces.IMonitoringLog, Telexis.Monitoring.MonitoringLog" />
  53.       <typeAlias alias="ITransactionPrepare" type="Telexis.TSU.TransactionFactory.ITransactionPrepare, Telexis.TSU.TransactionFactory"/>
  54.       <typeAlias alias="IConcreteMonitoringDataLogger" type="Telexis.Monitoring.MonitoringLog.Interfaces.IConcreteMonitoringDataLogger, Telexis.Monitoring.MonitoringLog"/>
  55.       <typeAlias alias="IMbcCommunication" type="Telexis.TSU.MbcInterface.IMbcCommunication, Telexis.TSU.MbcInterface" />
  56.       <typeAlias alias="IRecoveryService" type="Telexis.TSU.PaymentInterface.PayPlaza.Interfaces.IRecoveryService, Telexis.TSU.PaymentInterface.PayPlaza"/>
  57.       <!--  Compass beep service  -->
  58.       <typeAlias alias="ITcpClientFactory" type="Telexis.TSU.Common.CompassBeepService.Comms.ITcpClientFactory, Telexis.TSU.Common.CompassBeepService" />
  59.       <typeAlias alias="IRequestIdFactory" type="Telexis.TSU.Common.CompassBeepService.IRequestIdFactory, Telexis.TSU.Common.CompassBeepService" />
  60.       <typeAlias alias="IBeepService" type="Telexis.TSU.Common.CompassBeepService.IBeepService, Telexis.TSU.Common.CompassBeepService" />
  61.       <!--Eod Handling-->
  62.       <typeAlias alias="IEodHandling" type="Telexis.TSU.EOD.EodHandling.IEodHandling, Telexis.TSU.EOD.EodHandling" />
  63.       <typeAlias alias="IEodCache" type="Telexis.TSU.EOD.EodHandling.Cache.IEodCache, Telexis.TSU.EOD.EodHandling" />
  64.       <typeAlias alias="IAuthenticationServiceFactory" type="Telexis.TSU.AuthenticationInterface.Helpers.Factories.IAuthenticationServiceFactory, Telexis.TSU.AuthenticationInterface" />
  65.       <typeAlias alias="IParser" type="Telexis.TSU.AuthenticationInterface.Parser.IParser, Telexis.TSU.AuthenticationInterface" />
  66.       <typeAlias alias="IDownloadService" type="Telexis.TSU.AuthenticationInterface.Services.DownloadService.IDownloadService, Telexis.TSU.AuthenticationInterface" />
  67.       <typeAlias alias="ICryptoServiceAuth" type="Telexis.TSU.AuthenticationInterface.Services.CryptoService.ICryptoService, Telexis.TSU.AuthenticationInterface" />
  68.     </typeAliases>
  69.     <container>
  70.       <register type="IService" mapTo="Telexis.TSU.CoreService.CoreService, CoreService" />
  71.       <register type="IMonitoringLog" mapTo="Telexis.Monitoring.MonitoringLog.MonitoringLog, Telexis.Monitoring.MonitoringLog" >
  72.         <lifetime type="singleton" />
  73.       </register>
  74.       <register type="IConcreteMonitoringDataLogger" mapTo="Telexis.Monitoring.MonitoringLog.DataLogger, Telexis.Monitoring.MonitoringLog"/>
  75.       <register type="IECRWSInteractionStrategy" mapTo="Telexis.TSU.PaymentInterface.PayPlaza.ECRWSInteractionStrategy,Telexis.TSU.PaymentInterface.PayPlaza"/>
  76.       <register type="IECRWSCommandSupportService" mapTo="Telexis.TSU.PaymentInterface.PayPlaza.ECWRSCommands.ECRWSCommandSupportService, Telexis.TSU.PaymentInterface.PayPlaza" />
  77.       <register type="ICertificateService" mapTo="Telexis.TSU.PaymentInterface.PayPlaza.Services.CertificateService, Telexis.TSU.PaymentInterface.PayPlaza" />
  78.       <!--<register type="IPaymentInterface" mapTo="Telexis.TSU.PaymentInterface.PayPlaza.PayPlaza,Telexis.TSU.PaymentInterface.PayPlaza">
  79.        <lifetime type="singleton" />
  80.      </register>-->
  81.       <register type="ITimerFactory" mapTo="Telexis.TSU.PaymentInterface.PayPlaza.Factories.TimerFactory, Telexis.TSU.PaymentInterface.PayPlaza" />
  82.       <register type="ICommandFactory" mapTo="Telexis.TSU.PaymentInterface.PayPlaza.Factories.CommandFactory, Telexis.TSU.PaymentInterface.PayPlaza" />
  83.       <register type="IPresentationService" mapTo="Telexis.TSU.CoreService.PresentationService, CoreService" />
  84.       <register type="IUploadHandler" mapTo="Telexis.TSU.CoreService.UploadHandler, CoreService" >
  85.         <lifetime type="singleton" />
  86.       </register>
  87.       <register type="ICheckSystem" mapTo="Telexis.TSU.CheckSystem.CheckSystemStatusService, Telexis.TSU.CheckSystem" />
  88.       <register type="ICheckInternetConnectionStatus" mapTo="Telexis.TSU.CheckSystem.CheckInternetConnectionStatusService, Telexis.TSU.CheckSystem" />
  89.       <register type="ICheckPrinterStatus" mapTo="Telexis.TSU.CheckSystem.CheckPrinterStatusService, Telexis.TSU.CheckSystem" />
  90.       <register type="ICheckOVCCComponentsStatus" mapTo="Telexis.TSU.CheckSystem.CheckOVCCComponentsService, Telexis.TSU.CheckSystem" />
  91.       <register type="ICheckPinTerminalStatus" mapTo="Telexis.TSU.CheckSystem.CheckPinTerminalService, Telexis.TSU.CheckSystem" />      
  92.       <register type="IUicStandardProvider" mapTo="Telexis.TSU.UICStandardProvider.UicStandardProvider, Telexis.TSU.UICStandardProvider" />
  93.       <register type="IUicServicesFactory" mapTo="Telexis.TSU.UICStandardProvider.UicServicesFactory, Telexis.TSU.UICStandardProvider">
  94.         <lifetime type="singleton" />
  95.       </register>
  96.       <register type="IBarcodeValidator" mapTo="Telexis.TSU.BarcodeScanner.BarcodeValidator, Telexis.TSU.BarcodeScanner">
  97.         <lifetime type="singleton" />
  98.       </register>
  99.       <register type="ITransactionSink" mapTo="Telexis.TSU.TransactionProcessing.TransactionSink, Telexis.TSU.TransactionProcessing"/>
  100.       <register type="IFtp" mapTo="Telexis.Common.FtpClient.FtpClient, Telexis.Common.FtpClient" />
  101.       <register type="ITSURepository" mapTo="Telexis.TSU.TSURepository, Telexis.TSU.DataRepository" />
  102.       <register type="IIoWrapperFactory" mapTo="Telexis.Common.Wrappers.IoWrapperFactory, Telexis.Common.Helpers">
  103.         <constructor />
  104.       </register>
  105.       <register type="ITransactionAIDToPaymentMeansConverter" mapTo="Telexis.TSU.PaymentInterface.PayPlaza.Services.TransactionAIDToPaymentMeansConverter, Telexis.TSU.PaymentInterface.PayPlaza"/>
  106.       <register type="IConfigurationManager" mapTo="Telexis.Common.Wrappers.ConfigurationManagerWrapper, Telexis.Common.Helpers" />
  107.       <register type="ICryptoServiceAuth" mapTo="Telexis.TSU.AuthenticationInterface.Services.CryptoService.CryptoService, Telexis.TSU.AuthenticationInterface" />
  108.       <register type="IParser" mapTo="Telexis.TSU.AuthenticationInterface.Parser.XmlFileParser, Telexis.TSU.AuthenticationInterface" />
  109.       <register type="IDownloadService" mapTo="Telexis.TSU.AuthenticationInterface.Services.DownloadService.DownloadService, Telexis.TSU.AuthenticationInterface" />
  110.       <register type="IAuthenticationServiceFactory" mapTo="Telexis.TSU.AuthenticationInterface.Helpers.Factories.AuthenticationServiceFactory, Telexis.TSU.AuthenticationInterface"/>
  111.       <register type="IRequestIdFactory" mapTo="Telexis.TSU.Common.CompassBeepService.RequestIdFactory, Telexis.TSU.Common.CompassBeepService" />
  112.       <register type="ITcpClientFactory" mapTo="Telexis.TSU.Common.CompassBeepService.Comms.TcpClientFactory, Telexis.TSU.Common.CompassBeepService" />
  113.       <register type="ITransactionPrepare" mapTo="Telexis.TSU.TransactionFactory.PTO.TransactionType6, Telexis.TSU.TransactionFactory"/>
  114.       <register type="IPrinterCommandsWrapper" mapTo="Telexis.TSU.HprtPrinter.PrinterCommandsWrapper, Telexis.TSU.HprtPrinter" />
  115.     </container>
  116.   </CoreService>
  117.  
  118. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement