com.extjs.gxt.ui.client.data
Class BeanModelLookup

java.lang.Object
  extended by com.extjs.gxt.ui.client.data.BeanModelLookup

public abstract class BeanModelLookup
extends java.lang.Object

Returns BeanModelFactories for java beans.


Constructor Summary
BeanModelLookup()
           
 
Method Summary
static BeanModelLookup get()
          Returns the singleton bean model lookup.
abstract  BeanModelFactory getFactory(java.lang.Class bean)
          Returns the factory for the given bean.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanModelLookup

public BeanModelLookup()
Method Detail

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