|
intra-mart(R) 6.0.13 | ||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.co.intra_mart.framework.base.service.XmlServicePropertyHandler
サービスの設定情報に接続するプロパティハンドラです。
XML形式で記述されたプロパティ情報を読み取ります。XMLファイルはアプリケーション毎に分割されます。この場合のファイル名は「 プレフィックス
_ アプリケーションID .xml」です。また、アプリケーションに依存しない「 プレフィックス .xml」があります。
XMLファイルのプレフィックスは
PropertyManager.getPropertyHandlerParams(String)
でキーに ServiceManager.SERVICE_PROPERTY_HANDLER_KEY
を指定したときに取得されるパラメータのうち DEFAULT_BUNDLE_NAME
で取得されるものとなります。
指定しなかった場合のプロパティファイルのプレフィックスは DEFAULT_BUNDLE_NAME_PARAM
で示されるものです。
プロパティの検索順は、アプリケーションごとのプロパティファイル「 プレフィックス _ アプリケーションID
.xml」が優先されます。該当するプロパティが見つからない場合、引き続いて「 プレフィックス .xml」を検索します。
フィールドの概要 | |
static String |
DEFAULT_BUNDLE_NAME
デフォルトのリソースバンドル名のプレフィックス |
static String |
DEFAULT_BUNDLE_NAME_PARAM
リソースバンドル名のパラメータ名 |
static String |
PARAM_DYNAMIC
プロパティファイルの再読み込み可能のパラメータ名 |
インタフェース jp.co.intra_mart.framework.base.service.ServicePropertyHandler から継承したフィールド |
DEFAULT_APPLICATION_PARAMETER, DEFAULT_ENCODING_ATTRIBUTE, DEFAULT_EXCEPTION_ATTRIBUTE, DEFAULT_LOCALE_ATTRIBUTE, DEFAULT_SERVICE_PARAMETER |
コンストラクタの概要 | |
XmlServicePropertyHandler()
XmlServicePropertyHandlerを新規に生成します。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
public static final String DEFAULT_BUNDLE_NAME
public static final String DEFAULT_BUNDLE_NAME_PARAM
public static final String PARAM_DYNAMIC
コンストラクタの詳細 |
public XmlServicePropertyHandler()
メソッドの詳細 |
public void init(PropertyParam[] params) throws PropertyHandlerException
PropertyHandler
内の init
params
- 初期パラメータ
PropertyHandlerException
- プロパティハンドラの初期化時に例外が発生public boolean isDynamic() throws ServicePropertyException
ServicePropertyHandler
内の isDynamic
ServicePropertyException
- チェック時に例外が発生public String getClientEncoding() throws ServicePropertyException
ServicePropertyHandler
内の getClientEncoding
ServicePropertyException
- クライアントのエンコードの取得時に例外が発生public Locale getClientLocale() throws ServicePropertyException
ServicePropertyHandler
内の getClientLocale
ServicePropertyException
- クライアントのエンコードの取得時に例外が発生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)
を呼んだときと同じ結果になります。
ServicePropertyHandler
内の getInputErrorPagePath
application
- アプリケーションIDservice
- サービスIDkey
- 遷移先のキー
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getInputErrorPagePath(String application, String service, String key, Locale locale) throws ServicePropertyException
getInputErrorPagePath(String, String)
で取得されるページを返します。
ServicePropertyHandler
内の getInputErrorPagePath
application
- アプリケーションIDservice
- サービスIDkey
- 遷移先のキーlocale
- ロケール
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getInputErrorPagePath(String application, String service) throws ServicePropertyException
getInputErrorPagePath(String, String, Locale)
を使用してください。
getInputErrorPagePath(String)
で取得されるページを返します。 このメソッドは
getInputErrorPagePath(application, service, (java.util.Locale)null)
を呼んだときと同じ結果になります。
ServicePropertyHandler
内の getInputErrorPagePath
application
- アプリケーションIDservice
- サービスID
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getInputErrorPagePath(String application, String service, Locale locale) throws ServicePropertyException
getInputErrorPagePath(String)
で取得されるページを返します。
ServicePropertyHandler
内の getInputErrorPagePath
application
- アプリケーションIDservice
- サービスIDlocale
- ロケール
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getInputErrorPagePath(String application) throws ServicePropertyException
getInputErrorPagePath(String, Locale)
を使用してください。
getInputErrorPagePath()
で取得されるページを返します。 このメソッドは
getInputErrorPagePath(application, (java.util.Locale)null)
を呼んだときと同じ結果になります。
ServicePropertyHandler
内の getInputErrorPagePath
application
- アプリケーションID
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getInputErrorPagePath(String application, Locale locale) throws ServicePropertyException
getInputErrorPagePath()
で取得されるページを返します。
ServicePropertyHandler
内の getInputErrorPagePath
application
- アプリケーションIDlocale
- ロケール
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getInputErrorPagePath() throws ServicePropertyException
getInputErrorPagePath(Locale)
を使用してください。
getInputErrorPagePath((java.util.Locale)null)
を呼んだときと同じ結果になります。
ServicePropertyHandler
内の getInputErrorPagePath
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getInputErrorPagePath(Locale locale) throws ServicePropertyException
ServicePropertyHandler
内の getInputErrorPagePath
locale
- ロケール
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getNextPagePath(String application, String service) throws ServicePropertyException
getNextPagePath(String, String, Locale)
を使用してください。
getNextPagePath(application, service, (java.util.Locale)null)
を呼んだときと同じ結果になります。
ServicePropertyHandler
内の getNextPagePath
application
- アプリケーションIDservice
- サービスID
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getNextPagePath(String application, String service, Locale locale) throws ServicePropertyException
ServicePropertyHandler
内の getNextPagePath
application
- アプリケーションIDservice
- サービスIDlocale
- ロケール
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生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)
を呼んだときと同じ結果になります。
- 定義:
- インタフェース
ServicePropertyHandler
内の getNextPagePath
- パラメータ:
application
- アプリケーションIDservice
- サービスIDkey
- 遷移先のキー
- 戻り値:
- 遷移先のページのパス
- 例外:
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生
public String getNextPagePath(String application, String service, String key, Locale locale) throws ServicePropertyException
key が
null の場合、 getNextPagePath(String, String)
と同じ動作になります。
- 定義:
- インタフェース
ServicePropertyHandler
内の getNextPagePath
- パラメータ:
application
- アプリケーションIDservice
- サービスIDkey
- 遷移先のキーlocale
- ロケール
- 戻り値:
- 遷移先のページのパス
- 例外:
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生
public String getServiceControllerName(String application, String service) throws ServicePropertyException
getServiceControllerName(String, String, Locale)
を使用してください。
getServiceControllerName(application, service, (java.util.Locale)null)
を呼んだときと同じ結果になります。
ServicePropertyHandler
内の getServiceControllerName
application
- アプリケーションIDservice
- サービスID
ServicePropertyException
- サービスコントローラのクラス名の取得時に例外が発生public String getServiceControllerName(String application, String service, Locale locale) throws ServicePropertyException
ServicePropertyHandler
内の getServiceControllerName
application
- アプリケーションIDservice
- サービスIDlocale
- ロケール
ServicePropertyException
- サービスコントローラのクラス名の取得時に例外が発生public String getServiceErrorPagePath(String application, String service, String key) throws ServicePropertyException
getServiceErrorPagePath(String, String, String, Locale)
を使用してください。
getServiceErrorPagePath(application, service, key, (java.util.Locale)null)
を呼んだときと同じ結果になります。
ServicePropertyHandler
内の getServiceErrorPagePath
application
- アプリケーションIDservice
- サービスIDkey
- 遷移先のキー
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getServiceErrorPagePath(String application, String service, String key, Locale locale) throws ServicePropertyException
ServicePropertyHandler
内の getServiceErrorPagePath
application
- アプリケーションIDservice
- サービスIDkey
- 遷移先のキーlocale
- ロケール
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getServiceErrorPagePath(String application, String service) throws ServicePropertyException
getServiceErrorPagePath(String, String, Locale)
を使用してください。
getServiceErrorPagePath(String)
で取得されるページを返します。 このメソッドは
getServiceErrorPagePath(application, service, (java.util.Locale)null)
を呼んだときと同じ結果になります。
ServicePropertyHandler
内の getServiceErrorPagePath
application
- アプリケーションIDservice
- サービスID
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getServiceErrorPagePath(String application, String service, Locale locale) throws ServicePropertyException
getServiceErrorPagePath(String)
で取得されるページを返します。
ServicePropertyHandler
内の getServiceErrorPagePath
application
- アプリケーションIDservice
- サービスIDlocale
- ロケール
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getServiceErrorPagePath(String application) throws ServicePropertyException
getServiceErrorPagePath(String, Locale)
を使用してください。
getServiceErrorPagePath()
で取得されるページを返します。 このメソッドは
getServiceErrorPagePath(application, (java.util.Locale)null)
を呼んだときと同じ結果になります。
ServicePropertyHandler
内の getServiceErrorPagePath
application
- アプリケーションID
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getServiceErrorPagePath(String application, Locale locale) throws ServicePropertyException
getServiceErrorPagePath()
で取得されるページを返します。
ServicePropertyHandler
内の getServiceErrorPagePath
application
- アプリケーションIDlocale
- ロケール
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getServiceErrorPagePath() throws ServicePropertyException
getServiceErrorPagePath(Locale)
を使用してください。
getServiceErrorPagePath((java.util.Locale)null)
を呼んだときと同じ結果になります。
ServicePropertyHandler
内の getServiceErrorPagePath
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getServiceErrorPagePath(Locale locale) throws ServicePropertyException
ServicePropertyHandler
内の getServiceErrorPagePath
locale
- ロケール
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生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)
を呼んだときと同じ結果になります。
ServicePropertyHandler
内の getSystemErrorPagePath
application
- アプリケーションIDservice
- サービスIDkey
- 遷移先のキー
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getSystemErrorPagePath(String application, String service, String key, Locale locale) throws ServicePropertyException
getSystemErrorPagePath(String, String)
で取得されるページを返します。
ServicePropertyHandler
内の getSystemErrorPagePath
application
- アプリケーションIDservice
- サービスIDkey
- 遷移先のキーlocale
- ロケール
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getSystemErrorPagePath(String application, String service) throws ServicePropertyException
getSystemErrorPagePath(String, String, Locale)
を使用してください。
getSystemErrorPagePath(String)
で取得されるページを返します。 このメソッドは
getSystemErrorPagePath(application, service, (java.util.Locale)null)
を呼んだときと同じ結果になります。
ServicePropertyHandler
内の getSystemErrorPagePath
application
- アプリケーションIDservice
- サービスID
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getSystemErrorPagePath(String application, String service, Locale locale) throws ServicePropertyException
getSystemErrorPagePath(String)
で取得されるページを返します。
ServicePropertyHandler
内の getSystemErrorPagePath
application
- アプリケーションIDservice
- サービスIDlocale
- ロケール
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getSystemErrorPagePath(String application) throws ServicePropertyException
getSystemErrorPagePath(String, Locale)
を使用してください。
getSystemErrorPagePath()
で取得されるページを返します。 このメソッドは
getSystemErrorPagePath(application, (java.util.Locale)null)
を呼んだときと同じ結果になります。
ServicePropertyHandler
内の getSystemErrorPagePath
application
- アプリケーションID
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getSystemErrorPagePath(String application, Locale locale) throws ServicePropertyException
getSystemErrorPagePath()
で取得されるページを返します。
ServicePropertyHandler
内の getSystemErrorPagePath
application
- アプリケーションIDlocale
- ロケール
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getSystemErrorPagePath() throws ServicePropertyException
getSystemErrorPagePath(Locale)
を使用してください。
getSystemErrorPagePath((java.util.Locale)null)
を呼んだときと同じ結果になります。
ServicePropertyHandler
内の getSystemErrorPagePath
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getSystemErrorPagePath(Locale locale) throws ServicePropertyException
ServicePropertyHandler
内の getSystemErrorPagePath
locale
- ロケール
ServicePropertyException
- 遷移先のページのパスの取得時に例外が発生public String getTransitionName(String application, String service) throws ServicePropertyException
getTransitionName(String, String, Locale)
を使用してください。
getTransitionName(application, service, (java.util.Locale)null)
を呼んだときと同じ結果になります。
ServicePropertyHandler
内の getTransitionName
application
- アプリケーションIDservice
- サービスID
ServicePropertyException
- トランジションのクラス名の取得時に例外が発生public String getTransitionName(String application, String service, Locale locale) throws ServicePropertyException
ServicePropertyHandler
内の getTransitionName
application
- アプリケーションIDservice
- サービスIDlocale
- ロケール
ServicePropertyException
- トランジションのクラス名の取得時に例外が発生public String getServiceServletPath() throws ServicePropertyException
ServicePropertyHandler
内の getServiceServletPath
ServicePropertyException
- サービスサーブレットのパスの取得時に例外が発生public String getContextPath() throws ServicePropertyException
ServicePropertyHandler
内の getContextPath
ServicePropertyException
- コンテキストパスの取得時に例外が発生public String getApplicationParamName() throws ServicePropertyException
ServicePropertyHandler.DEFAULT_APPLICATION_PARAMETER
で定義されている値を返します。
ServicePropertyHandler
内の getApplicationParamName
ServicePropertyException
- アプリケーションIDに該当するパラメータ名の取得時に例外が発生public String getServiceParamName() throws ServicePropertyException
ServicePropertyHandler.DEFAULT_SERVICE_PARAMETER
で定義されている値を返します。
ServicePropertyHandler
内の getServiceParamName
ServicePropertyException
- サービスIDに該当するパラメータ名の取得時に例外が発生public String getExceptionAttributeName() throws ServicePropertyException
ServicePropertyHandler.DEFAULT_EXCEPTION_ATTRIBUTE
で定義されている値を返します。
ServicePropertyHandler
内の getExceptionAttributeName
ServicePropertyException
- 属性名の取得時に例外が発生public String getEncodingAttributeName() throws ServicePropertyException
ServicePropertyHandler.DEFAULT_ENCODING_ATTRIBUTE
で定義されている値を返します。
ServicePropertyHandler
内の getEncodingAttributeName
ServicePropertyException
- 属性名の取得時に例外が発生public String getLocaleAttributeName() throws ServicePropertyException
ServicePropertyHandler.DEFAULT_LOCALE_ATTRIBUTE
で定義されている値を返します 。
ServicePropertyHandler
内の getLocaleAttributeName
ServicePropertyException
- 属性名の取得時に例外が発生
|
intra-mart(R) 6.0.13 | ||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |