javax.money.spi.MonetaryAmountsSingletonSpi loading the SPIs on startup
initially once, using the
JSR's javax.money.spi.Bootstrap mechanism.
| Modifier and Type | Field and Description |
|---|---|
| private Class | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public <T extends MonetaryAmount> MonetaryAmountFactory | getAmountFactory(Class<T> amountType)
Implements javax. Access the |
| public Set | getAmountTypes()
Implements javax. Get the currently registered |
| public Class | getDefaultAmountType()
Implements javax. Access the default |
| private Class | Returns: the loaded default class, ornullTries to load the default |
| configuredDefaultAmountType | back to summary |
|---|---|
| private Class<? extends MonetaryAmount> configuredDefaultAmountType | |
| factories | back to summary |
|---|---|
| private final Map<Class<? extends MonetaryAmount>, MonetaryAmountFactoryProviderSpi<?>> factories | |
| DefaultMonetaryAmountsSingletonSpi | back to summary |
|---|---|
| public DefaultMonetaryAmountsSingletonSpi() | |
| getAmountFactory | back to summary |
|---|---|
| public <T extends MonetaryAmount> MonetaryAmountFactory Implements javax. Doc from javax. Access the
| |
| getAmountTypes | back to summary |
|---|---|
| public Set Implements javax. Doc from javax. Get the currently registered
| |
| getDefaultAmountType | back to summary |
|---|---|
| public Class Implements javax. Doc from javax. Access the default
| |
| loadDefaultAmountType | back to summary |
|---|---|
| private Class Tries to load the default
| |