public static void refreshInstance(int type) {
        if (type == 0) {
            glueFactory = new GlueFactory();
        } else if (type == 1) {
            glueFactory = new SpringGlueFactory();
        }
    }
glue factory, product class/object by name

@author xuxueli 2016-1-2 20:02:27
larkmidtable-web/larkmt-core/src/main/java/com/larkmt/core/glue/GlueFactory.java