@Singleton public class UiBinderProvider extends Object implements ContextualTypeProvider<com.google.gwt.uibinder.client.UiBinder<?,?>>
Constructor and Description |
---|
UiBinderProvider() |
Modifier and Type | Method and Description |
---|---|
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) |
public com.google.gwt.uibinder.client.UiBinder provide(Class<?>[] typeargs, Annotation[] qualifiers)
ContextualTypeProvider
provide
in interface ContextualTypeProvider<com.google.gwt.uibinder.client.UiBinder<?,?>>
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.public static void registerBinder(Class<?> type, com.google.gwt.uibinder.client.UiBinder binder)
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.