Errai 3.0.1-SNAPSHOT

org.jboss.errai.uibinder.client
Class UiBinderProvider

java.lang.Object
  extended by org.jboss.errai.uibinder.client.UiBinderProvider
All Implemented Interfaces:
ContextualTypeProvider<com.google.gwt.uibinder.client.UiBinder<?,?>>

@Singleton
public class UiBinderProvider
extends Object
implements ContextualTypeProvider<com.google.gwt.uibinder.client.UiBinder<?,?>>

Author:
Mike Brock

Constructor Summary
UiBinderProvider()
           
 
Method Summary
 com.google.gwt.uibinder.client.UiBinder provide(Class<?>[] typeargs, Annotation[] qualifiers)
          Called to provide an instance of the type provided for by this type provider.
static void registerBinder(Class<?> type, com.google.gwt.uibinder.client.UiBinder binder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UiBinderProvider

public UiBinderProvider()
Method Detail

provide

public com.google.gwt.uibinder.client.UiBinder provide(Class<?>[] typeargs,
                                                       Annotation[] qualifiers)
Description copied from interface: ContextualTypeProvider
Called to provide an instance of the type provided for by this type provider. This method accepts two arguments which are provided by the container at runtime, describing the type arguments and qualifiers at the injection point.

Specified by:
provide in interface ContextualTypeProvider<com.google.gwt.uibinder.client.UiBinder<?,?>>
Parameters:
typeargs - the raw class values of the outer-most type arguments. For example, if the injection point is of the type Map<String, List<? extends Number<>> then the values passed to this argument will be [String.class, List.class].
qualifiers - and array of qualifiers at the injection point.
Returns:
the type produced by this provider.

registerBinder

public static void registerBinder(Class<?> type,
                                  com.google.gwt.uibinder.client.UiBinder binder)

Errai 3.0.1-SNAPSHOT

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