Data format is : YYYY-MM-DD Version format is : major.minor.patch
Access Java API
com.poscoict.app.glue.master.access.PosMasterDataFactory 수정
라이센스 체크 전에 GlueMaster 솔루션명 세팅
//수정전 private final PosMasterDataManager initializeManager() { ... try { accessContext = new ClassPathXmlApplicationContext( ACCESS_CONFIG_LOCATION ); manager = accessContext.getBean( MASTER_MANAGER_BEAN_NAME, PosMasterDataManager.class ); } catch ( BeansException be ) ... return manager; } //수정후 private final PosMasterDataManager initializeManager() { ... try { GlueSolution.set(Solution.GlueMaster); accessContext = new ClassPathXmlApplicationContext( ACCESS_CONFIG_LOCATION ); manager = accessContext.getBean( MASTER_MANAGER_BEAN_NAME, PosMasterDataManager.class ); } catch ( BeansException be ) ... return manager; }
com.poscoict.app.glue.master.access.util.license.LicenseManager 수정
라이센스 체크시 GlueMaster 솔루션명 세팅하여 호출
//수정전 public static LicenseAPI getLicenseAPI( String licenseXmlFilePath ) throws Exception { ... LicenseAPI.initialize( new LicenseLogger(), licenseXmlFilePath, LicenseManager.class ); licenseAPI = LicenseAPI.getInstance(); licenseMode = licenseAPI.getLicenseMode(); ... return licenseAPI; } //수정후 public static LicenseAPI getLicenseAPI( String licenseXmlFilePath ) throws Exception { ... LicenseAPI.initialize( new LicenseLogger(), licenseXmlFilePath, LicenseManager.class ); licenseAPI = LicenseAPI.getInstance(); licenseMode = licenseAPI.getLicenseMode(); licenseMode = licenseAPI.getLicenseMode(Solution.GlueMaster); ... return licenseAPI; }
Manager
//수정전 public void init( FilterConfig filterConfig ) throws ServletException { ... boolean licenseCheck = GlueStaticContext.checkLicense(); if ( licenseCheck ) { if ( LicenseManager.checkLicenseMode() == 0 ) { m_logger.info( "{}", LicenseManager.getLicenseMode() ); } else { m_logger.info( "{} --> check license!!", LicenseManager.getLicenseMode() ); } } else { m_logger.info( "{} --> check license!!", GlueStaticContext.getLicenseMode() ); } } //수정후 public void init( FilterConfig filterConfig ) throws ServletException { ... GlueSolution.set(Solution.GlueMaster); boolean licenseCheck = GlueStaticContext.checkLicense(); if ( licenseCheck ) { if ( LicenseManager.checkLicenseMode() == 0 ) { m_logger.info( "License Mode [{}]", LicenseManager.getLicenseMode() ); } else { m_logger.info( "License Mode [{}] --> check license!!", LicenseManager.getLicenseMode() ); } } else { m_logger.info( "License Mode [{}] --> check license!!", GlueStaticContext.getLicenseMode() ); } }