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 SummaryConstructorsConstructorDescriptionデフォルトコンフィギュレーションに含まれる設定ファイルを読み込んでインスタンスを生成する。MicrometerConfiguration(String xmlFilePath) 読み込む設定ファイルのパスを指定してインスタンスを生成する。
- 
Method SummaryMethods inherited from class nablarch.core.repository.di.DiContainergenerateId, getComponentById, getComponentByName, getComponentByType, load, reload
- 
Constructor Details- 
MicrometerConfigurationpublic MicrometerConfiguration()デフォルトコンフィギュレーションに含まれる設定ファイルを読み込んでインスタンスを生成する。
- 
MicrometerConfiguration読み込む設定ファイルのパスを指定してインスタンスを生成する。- Parameters:
- xmlFilePath- 読み込む設定ファイルのパス
 
 
- 
- 
Method Details- 
loadExternalizedComponentDefinitionLoaderDescription copied from class:DiContainerExternalizedComponentDefinitionLoaderをServiceLoaderを使って読み込む。ExternalizedComponentDefinitionLoaderのサービスプロバイダが設定されていない場合は、 後方互換を維持するためにSystemPropertyExternalizedLoaderが使用されます。- Overrides:
- loadExternalizedComponentDefinitionLoaderin class- DiContainer
- Returns:
- ロードされた ExternalizedComponentDefinitionLoader
 
 
-