T - the concrete amount type.public abstract class BaseMonetaryAmountFactoryProviderSpi<T extends MonetaryAmount> extends Object implements MonetaryAmountFactoryProviderSpi<T>
MonetaryAmountsSingletonSpi to evaluate the
correct MonetaryAmountFactory instances.MonetaryAmountFactoryProviderSpi.QueryInclusionPolicy| Constructor and Description |
|---|
BaseMonetaryAmountFactoryProviderSpi() |
| Modifier and Type | Method and Description |
|---|---|
MonetaryContext |
getMaximalMonetaryContext()
Returns the maximal
MonetaryContext supported, for requests that exceed these maximal
capabilities, an ArithmeticException must be thrown. |
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). |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateMonetaryAmountFactory, getAmountType, getDefaultMonetaryContextpublic BaseMonetaryAmountFactoryProviderSpi()
public MonetaryAmountFactoryProviderSpi.QueryInclusionPolicy getQueryInclusionPolicy()
MonetaryAmount implementation types when calling
Monetary.getAmountFactory(javax.money.MonetaryAmountFactoryQuery).getQueryInclusionPolicy in interface MonetaryAmountFactoryProviderSpi<T extends MonetaryAmount>true to include this factory into the evaluation.Monetary.getAmountFactory(javax.money.MonetaryAmountFactoryQuery)public MonetaryContext getMaximalMonetaryContext()
MonetaryContext supported, for requests that exceed these maximal
capabilities, an ArithmeticException must be thrown.getMaximalMonetaryContext in interface MonetaryAmountFactoryProviderSpi<T extends MonetaryAmount>MonetaryContext supported, never nullCopyright © 2012–2020 JavaMoney. All rights reserved.