## Uses of Interface
com.google.web.bindery.requestfactory.shared.ServiceLocator

- Packages that use ServiceLocator
  Package | Description
  --- | ---
  com.google.web.bindery.requestfactory.server | Server-side classes for mediating between the client-side and the persistent datastore.
  com.google.web.bindery.requestfactory.shared | Shared classes used on both the client and the server side for transmitting data between the server and the client in JSON format.

- - ### Uses of ServiceLocator in com.google.web.bindery.requestfactory.server

    Methods in com.google.web.bindery.requestfactory.server with type parameters of type ServiceLocator
    Modifier and Type | Method | Description
    --- | --- | ---
    `<T extends ServiceLocator> T` | LocatorServiceLayer.`createServiceLocator​(java.lang.Class<T> serviceLocatorType)` |
    `abstract <T extends ServiceLocator> T` | ServiceLayer.`createServiceLocator​(java.lang.Class<T> clazz)` | Create an instance of the requested `ServiceLocator` type.
    `<T extends ServiceLocator> T` | ServiceLayerDecorator.`createServiceLocator​(java.lang.Class<T> clazz)` |

    Methods in com.google.web.bindery.requestfactory.server that return types with arguments of type ServiceLocator
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.Class<? extends ServiceLocator>` | LocatorServiceLayer.`resolveServiceLocator​(java.lang.Class<? extends RequestContext> requestContext)` |
    `abstract java.lang.Class<? extends ServiceLocator>` | ServiceLayer.`resolveServiceLocator​(java.lang.Class<? extends RequestContext> requestContext)` | Given a RequestContext method declaration, resolve the `ServiceLocator` that should be used when invoking the domain method.
    `java.lang.Class<? extends ServiceLocator>` | ServiceLayerCache.`resolveServiceLocator​(java.lang.Class<? extends RequestContext> requestContext)` |
    `java.lang.Class<? extends ServiceLocator>` | ServiceLayerDecorator.`resolveServiceLocator​(java.lang.Class<? extends RequestContext> requestContext)` |

  - ### Uses of ServiceLocator in com.google.web.bindery.requestfactory.shared

    Methods in com.google.web.bindery.requestfactory.shared that return types with arguments of type ServiceLocator
    Modifier and Type | Method | Description
    --- | --- | ---
    `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 `Service.value()`.