public class TextFileServicePropertyHandler extends Object implements ServicePropertyHandler
DefaultServicePropertyHandler
で示されるものと同じです。PARAM_FILE_DIR
で示されるパラメータ名で指定します。PARAM_DYNAMIC
で示されるパラメータにtrueを指定した場合 アプリケーション実行時にもプロパティの変更を動的に反映させることが可能となりますが、
パラメータの取得時に毎回ファイル操作を行うためパフォーマンスに悪影響を与える可能性があります。 このオプションは、開発時やデバッグ時のようにパラメータを頻繁に変更する必要がある場合のみtrueとし、 通常はfalseに設定しておいてください。修飾子とタイプ | フィールドと説明 |
---|---|
static String |
PARAM_DYNAMIC
プロパティファイルの再読み込み可能のパラメータ名
|
static String |
PARAM_FILE_DIR
プロパティファイルのファイルパスのパラメータ名
|
DEFAULT_APPLICATION_PARAMETER, DEFAULT_ENCODING_ATTRIBUTE, DEFAULT_EXCEPTION_ATTRIBUTE, DEFAULT_LOCALE_ATTRIBUTE, DEFAULT_SERVICE_PARAMETER, REQUEST_INFO_ATTRIBUTE
コンストラクタと説明 |
---|
TextFileServicePropertyHandler()
TextFileServicePropertyHandlerを新規に生成します。
|
public TextFileServicePropertyHandler()
public void init(PropertyParam[] params) throws PropertyHandlerException
init
インタフェース内 PropertyHandler
params
- 初期パラメータPropertyHandlerException
- プロパティハンドラの初期化時に例外が発生public boolean isDynamic()
isDynamic
インタフェース内 ServicePropertyHandler
public String getClientEncoding() throws ServicePropertyException
getClientEncoding
インタフェース内 ServicePropertyHandler
ServicePropertyException
- クライアントのエンコードの取得時に例外が発生public Locale getClientLocale() throws ServicePropertyException
getClientLocale
インタフェース内 ServicePropertyHandler
ServicePropertyException
- クライアントのロケールの取得時に例外が発生@Deprecated public String getNextPagePath(String application, String service) throws ServicePropertyException
getNextPagePath(String, String, Locale)
を使用してください。getNextPagePath(application, service, (java.util.Locale)null)
を呼んだときと同じ結果になります。getNextPagePath
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDservice
- サービスIDServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getNextPagePath(String application, String service, Locale locale) throws ServicePropertyException
getNextPagePath
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDservice
- サービスIDlocale
- ロケールServicePropertyException
- 遷移先のページのパスの取得時に例外が発生@Deprecated public String getNextPagePath(String application, String service, String key) throws ServicePropertyException
getNextPagePath(String, String, String, Locale)
を使用してください。keyがnullの場合、getNextPagePath(String, String)
と同じ動作になります。
このメソッドはgetNextPagePath(application, service, key, (java.util.Locale)null)
を呼んだときと同じ結果になります。
getNextPagePath
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDservice
- サービスIDkey
- 遷移先のキーServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getNextPagePath(String application, String service, String key, Locale locale) throws ServicePropertyException
keyがnullの場合、getNextPagePath(String, String)
と同じ動作になります。
getNextPagePath
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDservice
- サービスIDkey
- 遷移先のキーlocale
- ロケールServicePropertyException
- 遷移先のページのパスの取得時に例外が発生@Deprecated public String getInputErrorPagePath(String application, String service, String key) throws ServicePropertyException
getInputErrorPagePath(String, String, String, Locale)
を使用してください。getInputErrorPagePath(String, String)
で取得されるページを返します。 このメソッドは
getInputErrorPagePath(application, service, key,
(java.util.Locale)null)
を呼んだときと同じ結果になります。getInputErrorPagePath
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDservice
- サービスIDkey
- 遷移先のキーServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getInputErrorPagePath(String application, String service, String key, Locale locale) throws ServicePropertyException
getInputErrorPagePath(String, String)
で取得されるページを返します。getInputErrorPagePath
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDservice
- サービスIDkey
- 遷移先のキーlocale
- ロケールServicePropertyException
- 遷移先のページのパスの取得時に例外が発生@Deprecated public String getInputErrorPagePath(String application, String service) throws ServicePropertyException
getInputErrorPagePath(String, String, Locale)
を使用してください。getInputErrorPagePath(String)
で取得されるページを返します。 このメソッドは
getInputErrorPagePath(application, service,
(java.util.Locale)null)
を呼んだときと同じ結果になります。getInputErrorPagePath
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDservice
- サービスIDServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getInputErrorPagePath(String application, String service, Locale locale) throws ServicePropertyException
getInputErrorPagePath(String)
で取得されるページを返します。getInputErrorPagePath
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDservice
- サービスIDlocale
- ロケールServicePropertyException
- 遷移先のページのパスの取得時に例外が発生@Deprecated public String getInputErrorPagePath(String application) throws ServicePropertyException
getInputErrorPagePath(String, Locale)
を使用してください。getInputErrorPagePath()
で取得されるページを返します。 このメソッドは
getInputErrorPagePath(application, (java.util.Locale)null)
を呼んだときと同じ結果になります。getInputErrorPagePath
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getInputErrorPagePath(String application, Locale locale) throws ServicePropertyException
getInputErrorPagePath()
で取得されるページを返します。getInputErrorPagePath
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDlocale
- ロケールServicePropertyException
- 遷移先のページのパスの取得時に例外が発生@Deprecated public String getInputErrorPagePath() throws ServicePropertyException
getInputErrorPagePath(Locale)
を使用してください。getInputErrorPagePath((java.util.Locale)null)
を呼んだときと同じ結果になります。getInputErrorPagePath
インタフェース内 ServicePropertyHandler
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getInputErrorPagePath(Locale locale) throws ServicePropertyException
getInputErrorPagePath
インタフェース内 ServicePropertyHandler
locale
- ロケールServicePropertyException
- 遷移先のページのパスの取得時に例外が発生@Deprecated public String getServiceErrorPagePath(String application, String service, String key) throws ServicePropertyException
getServiceErrorPagePath(String, String, String, Locale)
を使用してください。getServiceErrorPagePath(String, String)
で取得されるページを返します。 このメソッドは
getServiceErrorPagePath(application, service, key,
(java.util.Locale)null)
を呼んだときと同じ結果になります。getServiceErrorPagePath
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDservice
- サービスIDkey
- 遷移先のキーServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getServiceErrorPagePath(String application, String service, String key, Locale locale) throws ServicePropertyException
getServiceErrorPagePath(String, String)
で取得されるページを返します。getServiceErrorPagePath
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDservice
- サービスIDkey
- 遷移先のキーlocale
- ロケールServicePropertyException
- 遷移先のページのパスの取得時に例外が発生@Deprecated public String getServiceErrorPagePath(String application, String service) throws ServicePropertyException
getServiceErrorPagePath(String, String, Locale)
を使用してください。getServiceErrorPagePath(String)
で取得されるページを返します。 このメソッドは
getServiceErrorPagePath(application, service,
(java.util.Locale)null)
を呼んだときと同じ結果になります。getServiceErrorPagePath
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDservice
- サービスIDServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getServiceErrorPagePath(String application, String service, Locale locale) throws ServicePropertyException
getServiceErrorPagePath(String)
で取得されるページを返します。getServiceErrorPagePath
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDservice
- サービスIDlocale
- ロケールServicePropertyException
- 遷移先のページのパスの取得時に例外が発生@Deprecated public String getServiceErrorPagePath(String application) throws ServicePropertyException
getServiceErrorPagePath(String, Locale)
を使用してください。getServiceErrorPagePath()
で取得されるページを返します。 このメソッドは
getServiceErrorPagePath(application, (java.util.Locale)null)
を呼んだときと同じ結果になります。getServiceErrorPagePath
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getServiceErrorPagePath(String application, Locale locale) throws ServicePropertyException
getServiceErrorPagePath()
で取得されるページを返します。getServiceErrorPagePath
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDlocale
- ロケールServicePropertyException
- 遷移先のページのパスの取得時に例外が発生@Deprecated public String getServiceErrorPagePath() throws ServicePropertyException
getServiceErrorPagePath(Locale)
を使用してください。getServiceErrorPagePath((java.util.Locale)null)
を呼んだときと同じ結果になります。getServiceErrorPagePath
インタフェース内 ServicePropertyHandler
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getServiceErrorPagePath(Locale locale) throws ServicePropertyException
getServiceErrorPagePath
インタフェース内 ServicePropertyHandler
locale
- ロケールServicePropertyException
- 遷移先のページのパスの取得時に例外が発生@Deprecated public String getSystemErrorPagePath(String application, String service, String key) throws ServicePropertyException
getSystemErrorPagePath(String, String, String, Locale)
を使用してください。getSystemErrorPagePath(String, String)
で取得されるページを返します。 このメソッドは
getSystemErrorPagePath(application, service, key,
(java.util.Locale)null)
を呼んだときと同じ結果になります。getSystemErrorPagePath
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDservice
- サービスIDkey
- 遷移先のキーServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getSystemErrorPagePath(String application, String service, String key, Locale locale) throws ServicePropertyException
getSystemErrorPagePath(String, String)
で取得されるページを返します。getSystemErrorPagePath
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDservice
- サービスIDkey
- 遷移先のキーlocale
- ロケールServicePropertyException
- 遷移先のページのパスの取得時に例外が発生@Deprecated public String getSystemErrorPagePath(String application, String service) throws ServicePropertyException
getSystemErrorPagePath(String, String, Locale)
を使用してください。getSystemErrorPagePath(String)
で取得されるページを返します。 このメソッドは
getSystemErrorPagePath(application, service,
(java.util.Locale)null)
を呼んだときと同じ結果になります。getSystemErrorPagePath
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDservice
- サービスIDServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getSystemErrorPagePath(String application, String service, Locale locale) throws ServicePropertyException
getSystemErrorPagePath(String)
で取得されるページを返します。getSystemErrorPagePath
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDservice
- サービスIDlocale
- ロケールServicePropertyException
- 遷移先のページのパスの取得時に例外が発生@Deprecated public String getSystemErrorPagePath(String application) throws ServicePropertyException
getSystemErrorPagePath(String, Locale)
を使用してください。getSystemErrorPagePath()
で取得されるページを返します。 このメソッドは
getSystemErrorPagePath(application, (java.util.Locale)null)
を呼んだときと同じ結果になります。getSystemErrorPagePath
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getSystemErrorPagePath(String application, Locale locale) throws ServicePropertyException
getSystemErrorPagePath()
で取得されるページを返します。getSystemErrorPagePath
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDlocale
- ロケールServicePropertyException
- 遷移先のページのパスの取得時に例外が発生@Deprecated public String getSystemErrorPagePath() throws ServicePropertyException
getSystemErrorPagePath(Locale)
を使用してください。getSystemErrorPagePath((java.util.Locale)null)
を呼んだときと同じ結果になります。getSystemErrorPagePath
インタフェース内 ServicePropertyHandler
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getSystemErrorPagePath(Locale locale) throws ServicePropertyException
getSystemErrorPagePath
インタフェース内 ServicePropertyHandler
locale
- ロケールServicePropertyException
- 遷移先のページのパスの取得時に例外が発生@Deprecated public String getServiceControllerName(String application, String service) throws ServicePropertyException
getServiceControllerName(String, String, Locale)
を使用してください。getServiceControllerName(application, service, (java.util.Locale)null)
を呼んだときと同じ結果になります。getServiceControllerName
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDservice
- サービスIDServicePropertyException
- サービスコントローラのクラス名の取得時に例外が発生public String getServiceControllerName(String application, String service, Locale locale) throws ServicePropertyException
getServiceControllerName
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDservice
- サービスIDlocale
- ロケールServicePropertyException
- サービスコントローラのクラス名の取得時に例外が発生@Deprecated public String getTransitionName(String application, String service) throws ServicePropertyException
getTransitionName(String, String, Locale)
を使用してください。getTransitionName(application, service, (java.util.Locale)null)
を呼んだときと同じ結果になります。getTransitionName
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDservice
- サービスIDServicePropertyException
- トランジションのクラス名の取得時に例外が発生public String getTransitionName(String application, String service, Locale locale) throws ServicePropertyException
getTransitionName
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDservice
- サービスIDlocale
- ロケールServicePropertyException
- トランジションのクラス名の取得時に例外が発生public String getServiceServletPath() throws ServicePropertyException
getServiceServletPath
インタフェース内 ServicePropertyHandler
ServicePropertyException
- サービスサーブレットのパスの取得時に例外が発生@Deprecated public String getContextPath() throws ServicePropertyException
getContextPath
インタフェース内 ServicePropertyHandler
ServicePropertyException
- コンテキストパスの取得時に例外が発生@Deprecated public String getApplicationParamName() throws ServicePropertyException
ServicePropertyHandler.DEFAULT_APPLICATION_PARAMETER
で定義されている値を返します。getApplicationParamName
インタフェース内 ServicePropertyHandler
ServicePropertyException
- アプリケーションIDに該当するパラメータ名の取得時に例外が発生@Deprecated public String getServiceParamName() throws ServicePropertyException
ServicePropertyHandler.DEFAULT_SERVICE_PARAMETER
で定義されている値を返します。getServiceParamName
インタフェース内 ServicePropertyHandler
ServicePropertyException
- サービスIDに該当するパラメータ名の取得時に例外が発生public String getExceptionAttributeName() throws ServicePropertyException
getExceptionAttributeName
インタフェース内 ServicePropertyHandler
ServicePropertyException
- 属性名の取得時に例外が発生public String getEncodingAttributeName() throws ServicePropertyException
ServicePropertyHandler.DEFAULT_ENCODING_ATTRIBUTE
で定義されている値を返します。getEncodingAttributeName
インタフェース内 ServicePropertyHandler
ServicePropertyException
- 属性名の取得時に例外が発生public String getLocaleAttributeName() throws ServicePropertyException
ServicePropertyHandler.DEFAULT_LOCALE_ATTRIBUTE
で定義されている値を返します。getLocaleAttributeName
インタフェース内 ServicePropertyHandler
ServicePropertyException
- 属性名の取得時に例外が発生public String getControllerConverterName(String application, String service, Locale locale) throws ServicePropertyException
ServicePropertyHandler
getControllerConverterName
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDservice
- サービスIDlocale
- ロケールServicePropertyException
- コントローラコンバータのクラス名の取得時に例外が発生public ControllerConverterConfig getControllerConverterConfig(String application, String service, Locale locale) throws ServicePropertyException
ServicePropertyHandler
getControllerConverterConfig
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDservice
- サービスIDlocale
- ロケールServicePropertyException
- コントローラコンバータの初期パラメータの取得に失敗public ValidatorMapping[] getValidators(String application, String service, Locale locale) throws ServicePropertyException
ServicePropertyHandler
getValidators
インタフェース内 ServicePropertyHandler
application
- アプリケーションIDservice
- サービスIDlocale
- ロケールServicePropertyException
- バリデータの取得に失敗Copyright © 2012 NTT DATA INTRAMART CORPORATION