T
- the concrete amount type.public abstract class BaseMonetaryAmountFactoryProviderSpi<T extends javax.money.MonetaryAmount> extends Object implements javax.money.spi.MonetaryAmountFactoryProviderSpi<T>
MonetaryAmountsSingletonSpi
to evaluate the
correct MonetaryAmountFactory
instances.Constructor and Description |
---|
BaseMonetaryAmountFactoryProviderSpi() |
Modifier and Type | Method and Description |
---|---|
javax.money.MonetaryContext |
getMaximalMonetaryContext()
Returns the maximal
MonetaryContext supported, for requests that exceed these maximal
capabilities, an ArithmeticException must be thrown. |
javax.money.spi.MonetaryAmountFactoryProviderSpi.QueryInclusionPolicy |
getQueryInclusionPolicy()
Method that determines if this factory should be considered for general evaluation of
matching
MonetaryAmount implementation types when calling
Monetary.getAmountFactory(javax.money.MonetaryAmountFactoryQuery) . |
public BaseMonetaryAmountFactoryProviderSpi()
public javax.money.spi.MonetaryAmountFactoryProviderSpi.QueryInclusionPolicy getQueryInclusionPolicy()
MonetaryAmount
implementation types when calling
Monetary.getAmountFactory(javax.money.MonetaryAmountFactoryQuery)
.getQueryInclusionPolicy
in interface javax.money.spi.MonetaryAmountFactoryProviderSpi<T extends javax.money.MonetaryAmount>
true
to include this factory into the evaluation.Monetary.getAmountFactory(javax.money.MonetaryAmountFactoryQuery)
public javax.money.MonetaryContext getMaximalMonetaryContext()
MonetaryContext
supported, for requests that exceed these maximal
capabilities, an ArithmeticException
must be thrown.getMaximalMonetaryContext
in interface javax.money.spi.MonetaryAmountFactoryProviderSpi<T extends javax.money.MonetaryAmount>
MonetaryContext
supported, never null
Copyright © 2012-2015 JavaMoney. All Rights Reserved.