public abstract class BaseCurrencyProviderSpi extends Object implements CurrencyProviderSpi
Bootstrap, which allows to
register/provide additional currencies into the system automatically on
startup. The implementation is allowed to be implemented in y contextual way,
so depending on the runtime context, different currencies may be available.| Constructor and Description |
|---|
BaseCurrencyProviderSpi() |
| Modifier and Type | Method and Description |
|---|---|
String |
getProviderName()
The unique name of this currency provider instance.
|
boolean |
isCurrencyAvailable(CurrencyQuery query)
CHecks if a
CurrencyUnit instances matching the given
CurrencyContext is available from this provider. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCurrenciespublic BaseCurrencyProviderSpi()
public String getProviderName()
getProviderName in interface CurrencyProviderSpipublic boolean isCurrencyAvailable(CurrencyQuery query)
CurrencyUnit instances matching the given
CurrencyContext is available from this provider.isCurrencyAvailable in interface CurrencyProviderSpiquery - the CurrencyQuery containing the parameters determining the query. not null.Copyright © 2012–2020 JavaMoney. All rights reserved.