public class DefaultMonetaryCurrenciesSingletonSpi extends Object implements javax.money.spi.MonetaryCurrenciesSingletonSpi
CurrencyUnit instances as provided by the
different registered CurrencyProviderSpi instances.
This class is thread safe.| Constructor and Description |
|---|
DefaultMonetaryCurrenciesSingletonSpi() |
| Modifier and Type | Method and Description |
|---|---|
Set<javax.money.CurrencyUnit> |
getCurrencies(javax.money.CurrencyQuery query) |
List<String> |
getDefaultProviderChain()
This default implementation simply returns all providers defined in arbitrary order.
|
Set<String> |
getProviderNames()
Get the names of the currently loaded providers.
|
public DefaultMonetaryCurrenciesSingletonSpi()
public Set<javax.money.CurrencyUnit> getCurrencies(javax.money.CurrencyQuery query)
getCurrencies in interface javax.money.spi.MonetaryCurrenciesSingletonSpipublic List<String> getDefaultProviderChain()
getDefaultProviderChain in interface javax.money.spi.MonetaryCurrenciesSingletonSpipublic Set<String> getProviderNames()
getProviderNames in interface javax.money.spi.MonetaryCurrenciesSingletonSpiCopyright © 2012-2016 JavaMoney. All Rights Reserved.