Annotation Type ProxyFor


@Retention(RUNTIME) @Target(TYPE) public @interface ProxyFor
Annotation on EntityProxy and ValueProxy classes specifying the domain (server-side) object type.
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The domain type that the proxy is mapped to.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<? extends Locator>
    An optional Locator that provides instances of the domain objects.
  • Element Details

    • value

      Class<?> value
      The domain type that the proxy is mapped to.
    • locator

      Class<? extends Locator> locator
      An optional Locator that provides instances of the domain objects.
      Default:
      com.google.web.bindery.requestfactory.shared.Locator.class