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:
    ProxyForName
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<?> value
      The domain type that the proxy is mapped to.
    • Optional Element Summary

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

      • value

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

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