org.jboss.errai.config.rebind
Class MetaClassBridgeUtil
java.lang.Object
org.jboss.errai.config.rebind.MetaClassBridgeUtil
public abstract class MetaClassBridgeUtil
- extends Object
- Author:
- Mike Brock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.