com.extjs.gxt.ui.client.data
Class BeanModelLookup
java.lang.Object
com.extjs.gxt.ui.client.data.BeanModelLookup
public abstract class BeanModelLookup
- extends java.lang.Object
Returns BeanModelFactories for java beans. Java beans can be
converted to "models" via 2 methods. The first method requires a new
interface that extends BeanModelMarker and uses annotations.
This method does not require the JavaBean to be modified. With the second
method, your Java Bean implements the BeanModelTag interface.
- See Also:
BeanModelMarker,
BeanModelTag
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanModelLookup
public BeanModelLookup()
get
public static BeanModelLookup get()
- Returns the singleton bean model lookup.
- Returns:
- the singleton instance
getFactory
public abstract BeanModelFactory getFactory(java.lang.Class<?> bean)
- Returns the factory for the given bean.
- Parameters:
bean - the bean class
- Returns:
- the factory