Examples of ApiBinder


Examples of net.hasor.core.ApiBinder

    /*------------------------------------------------------------------------------------Process*/
    /**开始进入初始化过程.*/
    protected void doInitialize() throws Throwable {
        BindInfoFactory registerFactory = this.getBindInfoFactory();
        if (registerFactory instanceof ContextInitializeListener) {
            ApiBinder apiBinder = this.newApiBinder(null);
            ((ContextInitializeListener) registerFactory).doInitialize(apiBinder);
        }
    }
View Full Code Here

Examples of net.hasor.core.ApiBinder

            throw new IllegalStateException("AppContent is started.");
        }
        if (module == null) {
            return;
        }
        ApiBinder apiBinder = this.newApiBinder(module);
        module.loadModule(apiBinder);
    }
View Full Code Here

Examples of net.hasor.core.ApiBinder

        if (modules != null && modules.length > 0) {
            for (Module module : modules) {
                this.installModule(module);
            }
        }
        ApiBinder apiBinder = appContext.newApiBinder(null);
        appContext.doBind(apiBinder);
        /*3.引发事件*/
        ec.fireSyncEvent(EventContext.ContextEvent_Initialized, apiBinder);
        appContext.doInitializeCompleted();
        Hasor.logInfo("the init is completed!");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.