Errai 3.0.1-SNAPSHOT

org.jboss.errai.config.rebind
Class MetaClassBridgeUtil

java.lang.Object
  extended by org.jboss.errai.config.rebind.MetaClassBridgeUtil

public abstract class MetaClassBridgeUtil
extends Object

Author:
Mike Brock

Nested Class Summary
static class MetaClassBridgeUtil.GWTTypeOracleCacheStore
           
 
Method Summary
static void populateMetaClassFactoryFromTypeOracle(com.google.gwt.core.ext.GeneratorContext context, com.google.gwt.core.ext.TreeLogger logger)
          Erases the MetaClassFactory cache, then populates it with types discovered via GWT's TypeOracle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

populateMetaClassFactoryFromTypeOracle

public static void populateMetaClassFactoryFromTypeOracle(com.google.gwt.core.ext.GeneratorContext context,
                                                          com.google.gwt.core.ext.TreeLogger logger)
Erases the MetaClassFactory cache, then populates it with types discovered via GWT's TypeOracle. The reason for the initial flush of the MetaClassFactory is to support hot redeploy in Dev Mode. The reason for doing this operation at all is so that the overridden class definitions (super-source classes) are used in preference to the Java reflection based class definitions.

Parameters:
context - The GeneratorContext supplied by the GWT compiler. Not null.
logger - The TreeLogger supplied by the GWT compiler. Not null.

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.