ExchangeRateProvider that delegates calls to
a collection of child ExchangeRateProvider instance.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | CHILD_PROVIDER_CONTEXTS_KEY
Deprecated
Will be private in next major release.
Key used to store a list of child javax. instances of the providers
contained within this instance.
|
| private static final Logger | |
| private final List | providers
The |
| Access | Constructor and Description |
|---|---|
| public | CompoundRateProvider(Iterable<ExchangeRateProvider>
The collection of child providers)ExchangeRateProvider
instances this class delegates calls to.Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| private void | addProvider(ExchangeRateProvider
The prov)ExchangeRateProvider to be added, not null
.Add an additional |
| private static ProviderContext | |
| public ExchangeRate | getExchangeRate(ConversionQuery conversionQuery)
Implements abstract org. Implements javax. Access a |
| public ExchangeRate |
| CHILD_PROVIDER_CONTEXTS_KEY | back to summary |
|---|---|
| public static final String CHILD_PROVIDER_CONTEXTS_KEY
Deprecated Will be private in next major release. Key used to store a list of child | |
| logger | back to summary |
|---|---|
| private static final Logger logger | |
| providers | back to summary |
|---|---|
| private final List<ExchangeRateProvider> providers The | |
| CompoundRateProvider | back to summary |
|---|---|
| public CompoundRateProvider(Iterable<ExchangeRateProvider> providers) Constructor.
| |
| addProvider | back to summary |
|---|---|
| private void addProvider(ExchangeRateProvider prov) Add an additional
| |
| createContext | back to summary |
|---|---|
| private static ProviderContext createContext(Iterable<ExchangeRateProvider> providers) | |
| getExchangeRate | back to summary |
|---|---|
| public ExchangeRate getExchangeRate(ConversionQuery conversionQuery) Implements abstract org. Implements javax. Doc from javax. Access a
| |
| getExchangeRate | back to summary |
|---|---|
| public ExchangeRate getExchangeRate(ConversionQuery conversionQuery, boolean failFast) | |