jsr354-api icon indicating copy to clipboard operation
jsr354-api copied to clipboard

MonetaryAmountFactoryProvider should allow to pass an instance of MonetaryAmountFactoryQuery

Open atsticks opened this issue 8 years ago • 0 comments

Currently the SPI method MonetaryAmountFactoryProvider.createMonetaryAmountFactory(); does not take any arguments, but creating a MonetaryAmountFactory and mapping parameters passed to the MonetaryAmountFactoryQuery is clearly a respoinsibility of the provider implementation. Currently this work must be done by the MonetaryAmountsSingletonQuerySpi, which does not know all implementations.

atsticks avatar Jul 30 '17 08:07 atsticks