javax.money.spi.ServiceProvider interface and hereby uses the JDK
java.util.ServiceLoader to load the services required.
| Modifier and Type | Field and Description |
|---|---|
| private final ConcurrentHashMap | servicesLoaded
List of services loaded, per class. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public int | Returns: 10, overriding the default provider.Implements javax. Returns a priority value of 10. |
| public < the concrete type. T> List | Returns: the items found, nevernull.The service type. serviceType)Implements javax. Loads and registers services. |
| private < the concrete type. T> List | Returns: the items found, nevernull.The service type. serviceType)Loads and registers services. |
| servicesLoaded | back to summary |
|---|---|
| private final ConcurrentHashMap<Class<?>, List<Object>> servicesLoaded List of services loaded, per class. | |
| PriorityAwareServiceProvider | back to summary |
|---|---|
| public PriorityAwareServiceProvider() | |
| compareServices | back to summary |
|---|---|
| public static int compareServices(Object o1, Object o2) | |
| getPriority | back to summary |
|---|---|
| public int getPriority() Implements javax. Returns a priority value of 10.
| |
| getServices | back to summary |
|---|---|
| public <T> List Implements javax. Loads and registers services. | |
| loadServices | back to summary |
|---|---|
| private <T> List Loads and registers services. | |