Annotation Type Fallback


@Target(TYPE) @Retention(RUNTIME) public @interface Fallback
Controls the preferred service provider when there is more than one implementation of the same Service Provider Interface (SPI). Providers marked with this Fallback annotation will be used only if there are no other providers. Service providers without this annotation are returned immediately, without scanning other providers.

Providers without this annotation are assumed to have a priority of zero.

This is not a committed API. The way Apache SIS selects its preferred service provider may change in any future version.

Since:
0.7
Version:
1.1