spc-kiosk-pb/Service/AsvDataProcess/Activator.cs

39 lines
1.5 KiB
C#
Raw Normal View History

2019-06-16 05:12:09 +00:00
using System;
using System.Collections.Generic;
using System.Text;
using Cosmos.Common;
using Cosmos.BaseFrame;
using Cosmos.UserFrame;
/*-----------------------------------------------------------------------------------------------*/
// 설 명 : 거래데이터 관리/생성, 정산데이터생성, 영수증 출력
// 작 성 자 :
// 변경 이력 :
/*-----------------------------------------------------------------------------------------------*/
namespace Cosmos.Service
{
/// <summary>
/// 클레스 로딩 처리
/// </summary>
public class Activator : InitServiceAbstract
{
/// <summary>
/// 클레스 로딩
/// </summary>
/// <param name="sClassName"></param>
/// <returns></returns>
public override object InitServiceInstance(string sClassName)
{
//UserLog.WriteLogFile(UserCom.LOG_DEBUG, System.Reflection.Assembly.GetExecutingAssembly().ManifestModule.Name
// , "Activator.InitServiceInstance()", "Message : Service Object Registration Start !!!");
object obj = System.Activator.CreateInstance(Type.GetType("Cosmos.Service." + sClassName));
//UserLog.WriteLogFile(UserCom.LOG_DEBUG, System.Reflection.Assembly.GetExecutingAssembly().ManifestModule.Name
// , "Activator.InitServiceInstance()", "Message : Service Object Registration Completed !!!");
return obj;
}
}
}