Package com.google.gwt.dev.javac.rebind

Examples of com.google.gwt.dev.javac.rebind.CachedClientDataMap


      // remember the required resources
      Map<String, URL> cri = requirements.getResolvedResources();

      // create data map to be returned the next time the generator is run
      CachedClientDataMap data = new CachedClientDataMap();
      data.put(CACHED_PROPERTY_INFORMATION, cpi);
      data.put(CACHED_RESOURCE_INFORMATION, cri);
      data.put(CACHED_TYPE_INFORMATION, cti);

      // Return a new cacheable result
      return new RebindResult(RebindStatus.USE_ALL_NEW, createdClassName, data);
    } else {
      // If we can't be cacheable, don't return a cacheable result
View Full Code Here


      // remember the required resources
      Map<String, URL> cri = requirements.getResolvedResources();

      // create data map to be returned the next time the generator is run
      CachedClientDataMap data = new CachedClientDataMap();
      data.put(CACHED_PROPERTY_INFORMATION, cpi);
      data.put(CACHED_RESOURCE_INFORMATION, cri);
      data.put(CACHED_TYPE_INFORMATION, cti);

      // Return a new cacheable result
      return new RebindResult(RebindStatus.USE_ALL_NEW, createdClassName, data);
    } else {
      // If we can't be cacheable, don't return a cacheable result
View Full Code Here

    String returnTypeName = proxyCreator.create(proxyLogger, ctx);

    if (ctx.isGeneratorResultCachingEnabled()) {
      // Remember the type info that we care about for cacheability testing.
      CachedClientDataMap clientData = new CachedClientDataMap();
      proxyCreator.updateResultCacheData(clientData);

      /*
       * Return with RebindStatus.USE_PARTIAL_CACHED, since we are allowing
       * generator result caching for field serializers, but other generated
View Full Code Here

TOP

Related Classes of com.google.gwt.dev.javac.rebind.CachedClientDataMap

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.