Errai 3.0.1-SNAPSHOT

org.jboss.errai.bus.server.util
Interface RebindVisitor


public interface RebindVisitor

The RebindVisitor offers a template for searching and rebinds the class if certain annotations are present. This visitor class separation gives the ability to add new operations to existing object structures without modifying those structures


Method Summary
 void visit(com.google.gwt.core.ext.typeinfo.JClassType visit, com.google.gwt.core.ext.GeneratorContext context, com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.user.rebind.SourceWriter writer)
          Visits the specified class and rebinds it according to the annotations present
 void visitError(String className, Throwable t)
           
 

Method Detail

visit

void visit(com.google.gwt.core.ext.typeinfo.JClassType visit,
           com.google.gwt.core.ext.GeneratorContext context,
           com.google.gwt.core.ext.TreeLogger logger,
           com.google.gwt.user.rebind.SourceWriter writer)
Visits the specified class and rebinds it according to the annotations present

Parameters:
visit - - the class to be visited
context - - provides metadata to deferred binding generators
logger - - log messages in deferred binding generators
writer - - supports the source file regeneration

visitError

void visitError(String className,
                Throwable t)

Errai 3.0.1-SNAPSHOT

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