Package nablarch.integration.micrometer
Class MicrometerConfiguration
java.lang.Object
nablarch.core.repository.di.DiContainer
nablarch.integration.micrometer.MicrometerConfiguration
- All Implemented Interfaces:
 ObjectLoader
Micrometerの設定を読み込むためのクラス。
 
 このクラスはDiContainerの仕組みを流用して、設定ファイルの情報をロードする。
 
 デフォルトではクラスパス配下のnablarch/integration/micrometer/micrometer.xmlを読み込む。
 このファイルはデフォルトコンフィギュレーションのモジュールに含まれており、
 クラスパスルートのmicrometer.propertiesを読み込むように定義されている。
 したがって、利用者はアプリケーションのクラスパスルートにmicrometer.propertiesを
 配置することでMicrometerの設定を指定できる。
 
 また、ExternalizedComponentDefinitionLoaderとしてOsEnvironmentVariableExternalizedLoaderと
 SystemPropertyExternalizedLoaderを使用している。
 これにより、OS環境変数またはシステムプロパティで設定値を上書きすることができる。
 
- 
Constructor Summary
ConstructorsConstructorDescriptionデフォルトコンフィギュレーションに含まれる設定ファイルを読み込んでインスタンスを生成する。MicrometerConfiguration(String xmlFilePath) 読み込む設定ファイルのパスを指定してインスタンスを生成する。 - 
Method Summary
Methods inherited from class nablarch.core.repository.di.DiContainer
generateId, getComponentById, getComponentByName, getComponentByType, load, reload 
- 
Constructor Details
- 
MicrometerConfiguration
public MicrometerConfiguration()デフォルトコンフィギュレーションに含まれる設定ファイルを読み込んでインスタンスを生成する。 - 
MicrometerConfiguration
読み込む設定ファイルのパスを指定してインスタンスを生成する。- Parameters:
 xmlFilePath- 読み込む設定ファイルのパス
 
 - 
 - 
Method Details
- 
loadExternalizedComponentDefinitionLoader
Description copied from class:DiContainerExternalizedComponentDefinitionLoaderをServiceLoaderを使って読み込む。ExternalizedComponentDefinitionLoaderのサービスプロバイダが設定されていない場合は、 後方互換を維持するためにSystemPropertyExternalizedLoaderが使用されます。- Overrides:
 loadExternalizedComponentDefinitionLoaderin classDiContainer- Returns:
 - ロードされた 
ExternalizedComponentDefinitionLoader 
 
 -