Package com.google.web.bindery.requestfactory.shared

Examples of com.google.web.bindery.requestfactory.shared.BaseProxy


    // Convert entities to EntityProxies or EntityProxyIds
    boolean isProxy = BaseProxy.class.isAssignableFrom(returnClass);
    boolean isId = EntityProxyId.class.isAssignableFrom(returnClass);
    if (isProxy || isId) {
      Class<? extends BaseProxy> proxyClass = assignableTo.asSubclass(BaseProxy.class);
      BaseProxy entity = resolveClientProxy(domainValue, proxyClass,
          propertyRefs, key, prefix);
      if (isId) {
        return assignableTo.cast(((EntityProxy) entity).stableId());
      }
      return assignableTo.cast(entity);
View Full Code Here

TOP

Related Classes of com.google.web.bindery.requestfactory.shared.BaseProxy

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.