Q. Contexts are used to add arbitrary
data that cannot be be mapped in a standard way to the money API, e.g. use case or customer specific
extensions or specialities.Superclasses of this class must be final, immutable, serializable and thread-safe.
| Modifier and Type | Field and Description |
|---|---|
| protected static final String | KEY_QUERY_PROVIDERS
Key for storing the target providers to be queried |
| protected static final String | KEY_QUERY_TARGET_TYPE
Key name for the target type attribute. |
| protected static final String | KEY_QUERY_TIMESTAMP
Key name for the timestamp attribute. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| protected | AbstractQuery(AbstractQueryBuilder<B extends AbstractQueryBuilder, C extends AbstractQuery>
the builder, not null. builder)Constructor, using a builder. |
| Modifier and Type | Method and Description |
|---|---|
| public List | Returns: the ordered providers, never null.Returns the providers and their ordering to be considered. |
| public Class |
| KEY_QUERY_PROVIDERS | back to summary |
|---|---|
| protected static final String KEY_QUERY_PROVIDERS Key for storing the target providers to be queried | |
| KEY_QUERY_TARGET_TYPE | back to summary |
|---|---|
| protected static final String KEY_QUERY_TARGET_TYPE Key name for the target type attribute. | |
| KEY_QUERY_TIMESTAMP | back to summary |
|---|---|
| protected static final String KEY_QUERY_TIMESTAMP Key name for the timestamp attribute. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| AbstractQuery | back to summary |
|---|---|
| protected AbstractQuery(AbstractQueryBuilder<B extends AbstractQueryBuilder, C extends AbstractQuery> builder) Constructor, using a builder.
| |
| getProviderNames | back to summary |
|---|---|
| public List Returns the providers and their ordering to be considered. This information typically must be interpreted by the
singleton SPI implementations, which are backing the singleton accessors.
If the list returned is empty, the default provider list,
determined by methods like | |
| getTargetType | back to summary |
|---|---|
| public Class Gets the target implementation type required. This can be used to explicitly acquire a specific implementation type and use a query to configure the instance or factory to be returned.
| |