com.google.appengine.spi

## Annotation Type ServiceProvider

-     @Documented
       @Retention(value=RUNTIME)
       @Target(value=TYPE)
      public @interface ServiceProvider

  Specifies the precedence that `ServiceFactoryFactory` gives to the annotated `FactoryProvider`.

- - ### Field Summary

    Fields
    Modifier and Type | Fields and Description
    --- | ---
    `static int` | `DEFAULT_PRECEDENCE`

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `int` | `precedence` Higher precedence will take priority over lower precedences for a given interface.
    `java.lang.Class<?>` | `value` Returns the interface implemented by this ServiceProvider.

- - ### Field Detail

    - #### DEFAULT_PRECEDENCE

          public static final int DEFAULT_PRECEDENCE

  - ### Element Detail

    - #### value

          public abstract java.lang.Class<?> value

      Returns the interface implemented by this ServiceProvider. This is present for compatibility reasons but should always be `FactoryProvider`, which is the default.
      Default:
        com.google.appengine.spi.FactoryProvider.class

  - - #### precedence

          public abstract int precedence

      Higher precedence will take priority over lower precedences for a given interface.
      Default:
        0