|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.errai.databinding.rebind.DataBindingUtil
public class DataBindingUtil
Utility to retrieve a data binder reference. The reference is either to an
injected AutoBound
data binder or to a generated data binder for an
injected Model
.
Nested Class Summary | |
---|---|
static class |
DataBindingUtil.DataBinderRef
Represents a reference to an injected or generated data binder. |
Field Summary | |
---|---|
static String |
BINDER_MODEL_TYPE_VALUE
|
static Annotation[] |
MODEL_QUALIFICATION
|
static String |
TRANSIENT_BINDER_VALUE
|
Method Summary | |
---|---|
static Set<MetaClass> |
getAllBindableTypes(com.google.gwt.core.ext.GeneratorContext context)
Returns all bindable types on the classpath. |
static Set<MetaClass> |
getConfiguredBindableTypes()
Reads bindable types from all ErraiApp.properties files on the classpath. |
static boolean |
isBindableType(MetaClass type)
Checks if the provided type is bindable. |
static DataBindingUtil.DataBinderRef |
lookupDataBinderRef(InjectableInstance<?> inst)
Tries to find a data binder reference for either an injected Model
or an injected AutoBound data binder. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String TRANSIENT_BINDER_VALUE
public static final String BINDER_MODEL_TYPE_VALUE
public static final Annotation[] MODEL_QUALIFICATION
Method Detail |
---|
public static DataBindingUtil.DataBinderRef lookupDataBinderRef(InjectableInstance<?> inst)
Model
or an injected AutoBound
data binder.
inst
- the injectable instance
public static boolean isBindableType(MetaClass type)
type
- the type to check
public static Set<MetaClass> getAllBindableTypes(com.google.gwt.core.ext.GeneratorContext context)
context
- the current generator context
public static Set<MetaClass> getConfiguredBindableTypes()
|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |