All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.plugin.development.context.PluginContext Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
package com.plugin.development.context;

import com.plugin.development.context.factory.PluginBeanRegistry;
import com.plugin.development.context.process.PluginPostBeanProcess;
import org.springframework.context.ApplicationContext;
import org.springframework.web.servlet.mvc.method.RequestMappingInfo;

import java.util.List;
import java.util.Set;

/**
 * 插件上下文
 * @author  zhangzhuo
 * @see com.plugin.development.context.DefaultPluginContext
 * @version 1.0
 */
public interface PluginContext {

    /**
     * 得到主程序的ApplicationContext
     * @return 返回主程序上下文
     */
    ApplicationContext getMainApplicationContext();

    /**
     * 得到组件注册者
     * @return 返回插件Component bean 注册者
     */
    PluginBeanRegistry getComponentBeanRegistry();


    /**
     * 得到Controller注册者
     * @return 返回插件Controller 注册者
     */
    PluginBeanRegistry> getControllerBeanRegistry();

    /**
     * 插件后置bean处理者
     * @return 返回插件bean后置处理链
     */
    List getPluginPostBeanProcess();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy