Overview | Package | Class | Use | Deprecated | Help
| GWT 2.7.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## com.google.web.bindery.requestfactory.shared
Annotation Type Service

    @Retention(value=RUNTIME)
    @Target(value=TYPE)
    public @interface Service

Annotation on Request classes specifying the server-side implementations that back them.

See Also:
  `ServiceName`

Required Element Summary
`java.lang.Class<?>` | `value` The domain type that provides the implementations for the methods defined in the RequestContext.

Optional Element Summary
`java.lang.Class<? extends ServiceLocator>` | `locator` An optional `ServiceLocator` that provides instances of service objects used when invoking instance methods on the type returned by `value()`.

Element Detail

### value

    public abstract java.lang.Class<?> value

  The domain type that provides the implementations for the methods defined in the RequestContext.

### locator

    public abstract java.lang.Class<? extends ServiceLocator> locator

  An optional `ServiceLocator` that provides instances of service objects used when invoking instance methods on the type returned by `value()`.

  Default:
    com.google.web.bindery.requestfactory.shared.ServiceLocator.class

Overview | Package | Class | Use | Deprecated | Help
| GWT 2.7.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT