| Modifier and Type | Field and Description |
|---|---|
| private static final Object | LOCK
The lock to populate and mutate the providers list. |
| private static List |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static List | |
| public static ServiceProvider | |
| public ClassifierFactoryService | |
| public abstract ImageFactoryService | |
| public abstract ImplementationService | |
| public int | Returns: The priority (default = 0)If multiple implementations of the |
| public static void | setCurrent(final ServiceProvider
The provider)ServiceProvider to be set as current.Set the current |
| LOCK | back to summary |
|---|---|
| private static final Object LOCK The lock to populate and mutate the providers list. | |
| providers | back to summary |
|---|---|
| private static List<ServiceProvider> providers | |
| ServiceProvider | back to summary |
|---|---|
| protected ServiceProvider() | |
| available | back to summary |
|---|---|
| public static List Gets a list of all available
| |
| current | back to summary |
|---|---|
| public static ServiceProvider current() Get the current
| |
| getClassifierFactoryService | back to summary |
|---|---|
| public ClassifierFactoryService getClassifierFactoryService() Get the
| |
| getImageFactoryService | back to summary |
|---|---|
| public abstract ImageFactoryService getImageFactoryService() Get the
| |
| getImplementationService | back to summary |
|---|---|
| public abstract ImplementationService getImplementationService() Get the
| |
| getPriority | back to summary |
|---|---|
| public int getPriority() If multiple implementations of the
| |
| setCurrent | back to summary |
|---|---|
| public static void setCurrent(final ServiceProvider provider) Set the current
| |