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

org.zodiac.plugin.realize.ConfigBean Maven / Gradle / Ivy

There is a newer version: 1.6.8
Show newest version
package org.zodiac.plugin.realize;

/**
 * 插件可配置自定义bean的接口。
 * 注意:该实现类只能注入插件中的配置文件和主程序bean,不能注入插件中其他的组件bean
 * bean 指的是Spring 容器中管理的bean。
 *
 */
public interface ConfigBean {

    /**
     * 初始化。所有bean的初始化工作在此处实现
     * 
     * @throws Exception
     *             初始化异常
     */
    void initialize() throws Exception;

    /**
     * 销毁实现
     * 
     * @throws Exception
     *             销毁异常
     */
    void destroy() throws Exception;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy