Module java.money
Package javax.money.spi
package javax.money.spi
SPI interfaces of the Money and Currency API, including bootstrap logic.
-
ClassDescriptionThis singleton provides access to the services available in the current runtime environment and context.SPI (core) to be registered using the
Bootstrap, which allows to register/provide additional currencies into the system automatically on startup.This class implements the (default)ServiceProviderinterface and hereby uses the JDKServiceLoaderto load the services required.MonetaryAmountFactoryProviderSpi<T extends MonetaryAmount>SPI (core): Implementations of this interface are used by theMonetaryAmountsSingletonSpito evaluate the correctMonetaryAmountFactoryinstances.Determines how the factory should be considered when querying for matching implementation types callingMonetary.getAmountFactory(javax.money.MonetaryAmountFactoryQuery).SPI (formatting) providingMonetaryAmountFormatinstances.SPI (core) for the backing implementation of theMonetarysingleton, implementing the query functionality for amounts.SPI (core) for the backing implementation of theMonetarysingleton.SPI (conversion) that implements the functionality provided by theMonetaryConversionssingleton accessor.Factory singleton backing interface forMonetarythat provides access to different registeredCurrencyProviderSpiinstances.This interface models the singleton functionality ofMonetaryFormats.This class models the accessor for rounding instances, modeled asMonetaryOperator.This SPI allows to extends/override the roundings available forCurrencyUnit.This class models the component that is managing the lifecycle of the monetary services used by the Money and Currency API.