Top Description Interfaces Classes Enums
module org.javamoney.moneta

Package org.javamoney.moneta.spi


Defines common base classes used for implementing SPIs and the org.javamoney.moneta.spi.loader.LoaderService.

Interface Summary

Modifier and TypeInterface and Description
public interface
public interface
MonetaryConfigProvider

Dynamic interface for providing monetary configuration.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractAmountFactory<
the target class implementing javax.money.MonetaryAmount.
T extends MonetaryAmount
>

Basic implementation of javax.money.MonetaryAmountFactory, which simplifies development of the SPI interface.

public abstract class
AbstractCurrencyConversion

Abstract base class used for implementing currency conversion.

public abstract class
AbstractRateProvider

Abstract base class for ExchangeRateProvider implementations.

public class
CompoundRateProvider

This class implements a ExchangeRateProvider that delegates calls to a collection of child ExchangeRateProvider instance.

public class
ConfigurableCurrencyUnitProvider

This class provides a programmatic singleton for globally registering new java.util.Currency into the javax.money.Monetary singleton either by currency code, locale, or both.

pack-priv class
DefaultCashRounding

Implementation class providing cash rounding javax.money.MonetaryOperator instances for CurrencyUnit instances.

public class
DefaultConfigProvider

Default implementation of the JavaMoney configuration provider reading all present properties from classpath*:javamoney.properties.

public class
DefaultMonetaryAmountsSingletonQuerySpi

Default implementation ot javax.money.spi.MonetaryAmountsSingletonSpi loading the SPIs on startup initially once, using the JSR's javax.money.spi.Bootstrap mechanism.

public class
DefaultMonetaryAmountsSingletonSpi

Default implementation ot javax.money.spi.MonetaryAmountsSingletonSpi loading the SPIs on startup initially once, using the JSR's javax.money.spi.Bootstrap mechanism.

public class
DefaultMonetaryCurrenciesSingletonSpi

Factory singleton for javax.money.CurrencyUnit instances as provided by the different registered javax.money.spi.CurrencyProviderSpi instances.

public class
DefaultNumberValue

Default implementation of NumberValue based on BigDecimal.

pack-priv class
DefaultRounding

Implementation class providing rounding javax.money.MonetaryOperator instances for CurrencyUnit instances.

public class
DefaultRoundingProvider

Default implementation of a javax.money.spi.RoundingProviderSpi that creates instances of .javamoney.moneta.format.DefaultRounding that relies on the default fraction units defined by .Currency#getDefaultFractionDigits().

public class
FastMoneyAmountFactory

Implementation of javax.money.MonetaryAmountFactory creating instances of FastMoney.

public class
public class
FastMoneyProducer

The implementation of MonetaryAmountProducer that creates MonetaryAmount using FastMoney implementation.

public class
JDKCurrencyAdapter

Default implementation of a CurrencyUnit based on the using the JDK's Currency.

public class
JDKCurrencyProvider

Default implementation of a CurrencyUnit based on the using the JDK's Currency.

public class
LazyBoundCurrencyConversion

This class defines a CurrencyConversion that is converting to a specific target CurrencyUnit.

public class
MonetaryConfig

Deprecated Will be removed from the SPI. Implement and register an instance of MonetaryConfigProvider instead of.
Loader for the Java Money JSR configuration.
public class
MoneyAmountFactory

Implementation of javax.money.MonetaryAmountFactory creating instances of Money.

public class
public class
MoneyProducer

The implementation of MonetaryAmountProducer that creates MonetaryAmount using Money implementation.

public class
MoneyUtils

Platform RI: This utility class simplifies implementing MonetaryAmount, by providing the common functionality.

public class
PriorityAwareServiceProvider

This class implements the (default) javax.money.spi.ServiceProvider interface and hereby uses the JDK java.util.ServiceLoader to load the services required.

public class
PriorityServiceComparator

Comparator implementation for ordering services loaded based on their increasing priority values.

public class
public class
public class
RoundedMoneyProducer

The implementation of MonetaryAmountProducer that creates MonetaryAmount using RoundedMoney using the MonetaryOperator as rounding operator

Enum Summary

Modifier and TypeEnum and Description
public enum
ConvertBigDecimal

This enumeration provides general utility functions supporting conversion of number types to BigDecimal.

pack-priv enum
ConvertNumberValue

Utility for converting numeric types.