*
* @author Michael Zhou
*/
public class DataBindingAdapterFactory extends AbstractDataBindingAdapterFactory {
public Module adapt(String type, String name, Object moduleObject) {
ModuleInfo moduleInfo = new ModuleInfo(type, name);
Class<?> moduleClass = moduleObject.getClass();
Method executeMethod = getMethod(moduleClass, "execute");
if (executeMethod != null) {
FastClass fc = FastClass.create(moduleClass);