public class DefaultServicePropertyHandler extends Object implements ServicePropertyHandler
PropertyManager.getPropertyHandlerParams(String)
でキーに
ServiceManager.SERVICE_PROPERTY_HANDLER_KEY
を指定したときに取得されるパラメータのうち DEFAULT_BUNDLE_NAME
で取得されるものとなります。
指定しなかった場合のプロパティファイルのプレフィックスは DEFAULT_BUNDLE_NAME_PARAM
で示されるものです。 キー | 内容 | 共通 | アプリケーション毎 |
---|---|---|---|
client.encoding | クライアントのエンコーディング 設定しない場合、リクエストに対する文字コードの変換は行われません。 |
○ | × |
encoding.attribute | ログインユーザのエンコーディングを保存する属性名 このプロパティは共通のプロパティファイルのみに設定します。 |
○ | × |
client.locale | クライアントのロケール クライアントからのリクエストのロケールのデフォルトです。 |
○ | × |
locale.attribute | ログインユーザのロケールを保存する属性名 このプロパティは共通のプロパティファイルのみに設定します。 |
○ | × |
context.path | 非推奨です。このプロパティは設定しないでください。コンテキストパスの取得はjavax.servlet.http.HttpServletRequestのgetContextPathメソッドを使用してください。
コンテキストパス / コンテキストパス で指定します。 パスの指定は必ず"/"で開始してください。(例:/imart) このプロパティは共通のプロパティファイルのみに設定します。 このプロパティが設定されている場合、IM-J2EE Frameworkのタグライブラリを使用したときに遷移するWebアプリケーションが変更されます。 |
○ | × |
servlet.path | ServiceServlet にマッピングされているパス(必須) / web.xmlで指定したサーブレットのマッピング で指定します。 パスの指定は必ず"/"で開始してください。(例:/ServiceServlet) このプロパティは共通のプロパティファイルのみに設定します。 |
○ | × |
application.param | アプリケーションIDを引き渡すときに使われる、リクエストのパラメータ名 このプロパティは共通のプロパティファイルのみに設定します。 |
○ | × |
service.param | サービスIDを引き渡すときに使われる、リクエストのパラメータ名 このプロパティは共通のプロパティファイルのみに設定します。 |
○ | × |
exception.attribute | 例外を例外ページに渡すときの属性名 このプロパティは共通のプロパティファイルのみに設定します。 |
○ | × |
controller.class. サービスID | アプリケーションID と サービスID に対応する ServiceController のクラス名 |
× | ○ |
transition.class. サービスID | アプリケーションID と サービスID に対応する Transition のクラス名 |
× | ○ |
nextpage.path. サービスID . キー | アプリケーションID 、 サービスID と キー に対応する次の遷移先のパス コンテキストルートからの相対パスで指定します。(パスの指定は"/"で開始) 遷移先を アプリケーションID と サービスID よりも細かく指定したい場合などに使用します。 |
× | ○ |
nextpage.path. サービスID | アプリケーションID と サービスID に対応する次の遷移先のパス コンテキストルートからの相対パスで指定します。(パスの指定は"/"で開始) |
× | ○ |
input.error.page.path. サービスID . キー | サービスID と キー に対応する入力エラーページのパス コンテキストルートからの相対パスで指定します。(パスの指定は"/"で開始) |
× | ○ |
input.error.page.path. サービスID | サービスID に対応するデフォルトの入力エラーページのパス コンテキストルートからの相対パスで指定します。(パスの指定は"/"で開始) |
× | ○ |
input.error.page.path | デフォルトの入力エラーページのパス コンテキストルートからの相対パスで指定します。(パスの指定は"/"で開始) |
○ | ○ |
service.error.page.path. サービスID . キー | サービスID と キー に対応するサービス処理エラーページのパス コンテキストルートからの相対パスで指定します。(パスの指定は"/"で開始) |
× | ○ |
service.error.page.path. サービスID | サービスID に対応するデフォルトのサービス処理エラーページのパス コンテキストルートからの相対パスで指定します。(パスの指定は"/"で開始) |
× | ○ |
service.error.page.path | デフォルトのサービス処理エラーページのパス コンテキストルートからの相対パスで指定します。(パスの指定は"/"で開始) |
○ | ○ |
system.error.page.path. サービスID . キー | サービスID と キー に対応するシステム処理エラーページのパス コンテキストルートからの相対パスで指定します。(パスの指定は"/"で開始) |
× | ○ |
system.error.page.path. サービスID | サービスID に対応するデフォルトのシステム処理エラーページのパス コンテキストルートからの相対パスで指定します。(パスの指定は"/"で開始) |
× | ○ |
system.error.page.path | デフォルトのシステム処理エラーページのパス コンテキストルートからの相対パスで指定します。(パスの指定は"/"で開始) |
○ | ○ |
修飾子とタイプ | フィールドと説明 |
---|---|
static String |
DEFAULT_BUNDLE_NAME
デフォルトのリソースバンドル名のプレフィックス
|
static String |
DEFAULT_BUNDLE_NAME_PARAM
リソースバンドル名のパラメータ名
|
DEFAULT_APPLICATION_PARAMETER, DEFAULT_ENCODING_ATTRIBUTE, DEFAULT_EXCEPTION_ATTRIBUTE, DEFAULT_LOCALE_ATTRIBUTE, DEFAULT_SERVICE_PARAMETER, REQUEST_INFO_ATTRIBUTE
コンストラクタと説明 |
---|
DefaultServicePropertyHandler()
DefaultServicePropertyHandlerを新規に生成します。
|
public static final String DEFAULT_BUNDLE_NAME
public DefaultServicePropertyHandler()
public void init(PropertyParam[] params) throws PropertyHandlerException
init
インタフェース内 PropertyHandler
params
- 初期パラメータPropertyHandlerException
- プロパティハンドラの初期化時に例外が発生public boolean isDynamic() throws ServicePropertyException
isDynamic
インタフェース内 ServicePropertyHandler
ServicePropertyException
- チェック時に例外が発生public String getClientEncoding() throws ServicePropertyException
getClientEncoding
インタフェース内 ServicePropertyHandler
ServicePropertyException
- クライアントのエンコードの取得時に例外が発生public Locale getClientLocale() throws ServicePropertyException
getClientLocale
インタフェース内 ServicePropertyHandler
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 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 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 getServiceErrorPagePath(String application, String service, String key) throws ServicePropertyException
getServiceErrorPagePath(String, String, String, Locale)
を使用してください。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
インタフェース内 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 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
ServicePropertyHandler.DEFAULT_EXCEPTION_ATTRIBUTE
で定義されている値を返します。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