/*********************************************************************
* All Rights reserved,Copyright (c) K-Opticom
**********************************************************************
*＜プログラム内容＞
*   システム名      ：eo顧客基幹システム
*   モジュール名    ：JFUDispSettingCache
*   ソースファイル名：JFUDispSettingCache.java
*   作成者          ：富士通
*   日付            ：2012年01月26日
*＜機能概要＞
*   フロント用ルーター文言定義ファイル読み込み部品です。
*＜修正履歴＞
*   バージョン  修正日       修正者      修正内容
*   v1.00.00    2012/01/26   FJ）西川    新規作成
*
**********************************************************************/
package eo.web.webview.common;

/**
 * フロント用ルーター文言定義ファイル読み込み部品です。
 * <br>
 * @author 富士通
 */
public class JFURouterMessageCache extends JFUXMLPropertyCache
{

	/** インスタンス領域 */
	private static final JFURouterMessageCache SINGLETON_INSTANCE = new JFURouterMessageCache();
	/**
	 * アプリケーションプロパティファイルから、定義ファイルのパスを取得しシングルトンでインスタンス化します。
	 */
	private JFURouterMessageCache()
	{
    	// アプリケーションプロパティファイルから定義ファイルのパスを取得
		String restFilePath = JCCWebCommon.getApplicationConst("FUROUTER_MESSAGE_SETTING_FILE_PATH");
		super.setFilePath(restFilePath);
	}

	/**
	 * シングルトンインスタンスを返却します。
	 * <br>
	 * @return JFUDispSettingCacheインスタンス
	 * @throws Exception 読込時に発生する例外
	 */
	public static JFURouterMessageCache getInstance() throws Exception
	{
		JFURouterMessageCache.SINGLETON_INSTANCE.loadProperties();

		return JFURouterMessageCache.SINGLETON_INSTANCE;
	}
}
